Password protect your linux install with LILO. Edit your /etc/lilo.conf.
At the end of each linux image that you want to secure, put the lines:
read-only
restricted
password = MySecurePassword
Ensure you rereun /sbin/lilo so the changes take effect.
Write Comment (1 Comments) |
|
There are files that get changed very infrequently. For instance, if your system won't have any users added anytime soon then it may be sensible to chattr immutably the /etc/password and /etc/shadow files. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
chattr +i /etc/passwd /etc/shadow
Write Comment |
|
|
Disallow ICMP
|
22 August 2006
|
|
Some attackers, prior to attacking a host, (or users nmaping a host) will check to see if the host is alive. They do this by 'ping'ing the host. In order to check if the host is up, they will use an ICMP echo request packet.
To disallow these types of packets, use iptables:
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
Write Comment |
|
World writable files can be left around by users wanting to make things easier for themselves. It is necessary to be careful about who can write to which files. To find all world writable files:
find /dir -xdev -perm +o=w ! \( -type d -perm +o=t \) ! -type l -print
Write Comment |
|
Setuid and Setgid files have the potential to be very hazardous if they are accessible by the wrong users on the system. Therefore it is handy to be able to check with files fall into this category.
find /dir -xdev -type f -perm +ug=s -print
Write Comment |
|
|
|
<< Start < Prev 1 2 3 Next > End >>
|
| Results 19 - 27 of 30 |