In a linux system it is a problem when anyone trying to login as root from a remote terminal. There is an easy way to disable a person to login into system using a remote terminal as root.
1. login to the system
3. su – or sudo
4 vim /etc/ssh/sshd_config
or open the file sshd_config in the /etc/sshd directory
5 .find line PermitRootLogin yes
change it to PermitRootLogin no
6 . Restart the service
this will ensure a little more security to your server .