Wednesday, January 30, 2008

standard tightening

I often run the following commands when I set up a new server:
su -
/usr/sbin/visudo
/usr/sbin/usermod -a -G wheel $USER
sed -i s/"PasswordAuthentication yes"/"PasswordAuthentication no"/g 
    /etc/ssh/sshd_config
/etc/init.d/sshd restart
exit
sudo ls

No comments: