Same as title can't get root password I've tried suddenly passed root won't let me
Asked
Active
Viewed 769 times
0
-
Why do you need to get root password? There is no root password in Ubuntu and also 13.04 release is no longer supported. – xangua Dec 29 '15 at 04:26
-
Possible duplicate of How to find out root password for installing software – David Foerster Dec 29 '15 at 12:25
1 Answers
1
By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su command to become the root user. Nevertheless, you are able to enable root password by the command:
sudo passwd
NOTE
Enabling the root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo
or gksudo
. If you really need a persistent root login, the best alternative is to simulate a root login shell using the command sudo -i
.