Pre-recorded question

Question #254
How to enable root login under ubuntu?
Answer

In Ubuntu, the root account is disabled by default for security reasons. Ubuntu users are encouraged to perform system administrative tasks with sudo.


Therefore, sometimes it is necessary to unlock the root user. The first thing to do is to assign a password to the root user:

sudo passwd root

Once the password is set, unlock the root user:

sudo passwd -u root

The root user can now be used:

su - root



2 events in history
Answer by Alphonsio 10/12/2020 at 03:23:11 PM

In Ubuntu, the root account is disabled by default for security reasons. Ubuntu users are encouraged to perform system administrative tasks with sudo.


Therefore, sometimes it is necessary to unlock the root user. The first thing to do is to assign a password to the root user:

sudo passwd root

Once the password is set, unlock the root user:

sudo passwd -u root

The root user can now be used:

su - root



Question by Alphonsio 10/12/2020 at 03:17:04 PM
How to enable root login under ubuntu?
# ID Query URL Count

Icons proudly provided by Friconix.