Disabling root login via SSH (CentOS)
This specifically applies to Centos 5.x
# <span style="text-decoration: underline;">vi /etc/ssh/sshd_config</span>
Preferably do this on a second login if you have to do this on a remote system... and keep the one of them open! All you have to do is locate the line "PermitRootLogin yes" and change it to:
PermitRootLogin no
Then restart SSH:
# <span style="text-decoration: underline;">/etc/init.d/sshd restart</span>