0

Same as title can't get root password I've tried suddenly passed root won't let me

1 Answers1

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.

Tung Tran
  • 3,945