HOW TO UNLOCK SUPERUSER AND LOGIN AS ROOT
To unlock root us the following command,
To unlock root us the following command,
- sudo password root
you will be asked to enter password root password two times. - Then unlock root user by following command
sudo password -u root - To lock it again use the following command
sudo password -l root - To login as root use the following command
su root
you will be asked for given root password - To login interactively use the following command
sudo -i
username: root
password : ********
No comments:
Post a Comment