Site Network: About

After installing Ubuntu Linux one can only login as normal user but not as root user WHY?

Reason: The fact is root account is locked by default under Ubuntu Linux. Therefore, you cannot login as root or use su - command to become superuser.

Solution: Do the following:
# sudo passwd root

(This will ask for the sudo user password and then the new UNIX password, which will be your new root password)
Now one should be able to login as root by typing su -

0 Comments:

Post a Comment