Ikhwan Saputera

Setiap Waktu adalah Belajar, Setiap Tempat adalah Sekolah, Setiap Orang adalah Guru

Thursday, April 04, 2019

How to Activate Root or Super Users on Ubuntu and Variants

OS extension .deb

Question: I cannot log in using the su command. How to fix this?

By default, the root account password is locked in Ubuntu and the OS has the extension .deb. So, when you do su -, you will get an authentication failure error as shown below.

"su: Authentication failure"

$ su -
Password:
su: Authentication failure

How to activate the Super User user account password on Ubuntu and OS with another .deb extension

First, set a password for the root user as shown below.

$ sudo passwd root
[sudo] password for kuntarman:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Now with a new password you can log in as a super user with the su command.

$ su -
Password:
#

For How to Activate the Root Super User on Ubuntu and the OS has the extension .deb, Hopefully it is useful.

No comments:

Post a Comment