How to enable and disable Root login in Ubuntu Linux

For root user login you have to first set root user password. To set root user password, open Terminal window and type following command line:

        $ sudo passwd root

Give general user password. Then give new password and confirm password for root user. Now you have set root user password. To login as root user type following in command line:

        $ su root

then give root user password.

To disable root user you have to lock root user password. To lock root uses password type following in command line:

        $ sudo passwd -l root


Watch video tutorial

 

Subscribe to my YouTube channel for video tutorials

 

 

 

 

 

No comments:

Post a Comment

Welcome

 Welcome to my personal website