|
In a Linux system it is a vulnerable 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. In other words you can say, the admin can restrict the superuser access(else known as Root access) to general public or any user.
|
Follow the steps exactly mentioned below.
1. Login to the system
2. Open terminal
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
/etc/init.d/sshd restart
Now your Ubuntu server/single user system is secure.
0 comments:
Post a Comment