ubuntu_demon
November 9th, 2004, 12:13 PM
Hi,
I've done some small security settings I think are important to do.
sudo find / -type f -perm 6000 -ls
finds programs that have the s bit set. I discoverd a lot of games had this bit set. I removed the s bit from them.
I have two ext3 partitions for ubuntu : / and /home
I set /home to : defaults,nosuid,nodev in /etc/fstab
chattr +i /bin/login (chattr -i /bin/login if there is an security update for it)
chmod 751 /var/log /etc/logrotate.d
chmod 640 /etc/syslog.conf /etc/logrotate.conf
chmod 640 /var/log/*.log
chmod -s /bin/at (users can use crontab)
What do you guys think ?
I've done some small security settings I think are important to do.
sudo find / -type f -perm 6000 -ls
finds programs that have the s bit set. I discoverd a lot of games had this bit set. I removed the s bit from them.
I have two ext3 partitions for ubuntu : / and /home
I set /home to : defaults,nosuid,nodev in /etc/fstab
chattr +i /bin/login (chattr -i /bin/login if there is an security update for it)
chmod 751 /var/log /etc/logrotate.d
chmod 640 /etc/syslog.conf /etc/logrotate.conf
chmod 640 /var/log/*.log
chmod -s /bin/at (users can use crontab)
What do you guys think ?