Archive for September, 2003

Sharing a terminal session

Sunday, September 28th, 2003

This little trick allows you to share your terminal session with other users. For example, it could be helpful for making remote demos of GNU/Linux to your unexperienced users or to capture what you do in a session.

(more…)

Understanding USE flags

Sunday, September 28th, 2003

One of the great features that Gentoo Linux provides to its users is the ability to control how packages are treated by setting individual and global settings whenever you build them.

This means that you can enable or disable some options when you are compiling your applications so that unneeded features such as X support or XML support could be avoided. (more…)

An introduction to lsof

Sunday, September 28th, 2003

LiSt Open Files is a useful and powerful tool that will show you opened files. In Unix everything is a file: pipes are files, IP sockets are files, unix sockets are files, directories are files, devices are files, inodes are files…

So in this tangle of files lsof listst files opened by processes running on your system.

Now let’s start our quick tour and you’ll see the power of this tool.

(more…)

OpenSSH Security Advisory (from openssh.org)

Tuesday, September 16th, 2003

All versions of OpenSSH’s sshd prior to 3.7 contain a buffer management error. It is uncertain whether this error is potentially exploitable, however, we prefer to see bugs fixed proactively.

(more…)

Verisign resolving everything

Tuesday, September 16th, 2003

As you know, when somebody ask for a nonexistent domain name like www.dfadfafasdfas.com, obtains a message telling that the domain does not exist.

Well, from now and thanks to our friends of Verisign, you’ll be directed to one of their advertising sites. And thanks again to this people fight against spam, network troubleshooting, etc will be more difficult…

References:

Disabling reboot with Ctrl-Alt-Del

Sunday, September 14th, 2003

The key combination Ctrl-Alt-Del will typically causes your system to reboot. If you take a look at the /etc/inittab fille, you’ll see something like this:

ca:12345:ctrlaltdel:/sbin/shutdown -r now

(more…)

Preventing users from changing the owner of files

Wednesday, September 10th, 2003

As you probably know the chown command provides a way for the owner of a file to change the ownership of this file. In some circumstances (i.e. you want to know who created each file on your systems) you will want to avoid this behaviour.

(more…)

Disabling remote login

Wednesday, September 10th, 2003

For security reasons, sometimes you’ll want to only allow root logins from the console on your Solaris box. Next tip shows you how to do it.

Simply edit /etc/default/login and add the following line:

CONSOLE=/dev/console

This will disable rlogin or telnet as root.

epm (Emerge/Ebuild? Package Manager)

Monday, September 8th, 2003

If you come from an RPM based GNU/Linux distro, surely you are familiar with the RPM package manager. Gentoo Linux provides a similar tool for you to make the transition easier.

(more…)

Martian address errors

Sunday, September 7th, 2003

Martian address errors occur when anyone is trying to connect to your system from the internet with incorrect IP addresses, such as non-routable or spoofed IP addresses.

(more…)