0

Passwd: You may not view or modify password information for root On Ubuntu 19.04

Hello, When I am trying to switch over my account from user to root, it has thrown an authentication failure,then i tried changing the password of root by executing the passwd root command,where it has thrown some error like you may not view or modify password information for root on Ubuntu 19.04?How to change the password for root?

Ubuntu password command Add a comment
mason
asked May 27 2019

Answer

0

Just add the below command
user@user-linuxhelp:~$ sudo passwd root

[sudo] password for user: (enter the password of a user that u have currently logged in On Ubuntu 19.04)

New password: (set the password for root)

Retype new password: (re-enter the password for root)

passwd: password updated successfully(Password has been successfully updated )

Now you could use the set password of root to log in to the root account.

Add a comment
linuxhelp
asked May 27 2019
Post your Answer
0

Top selective ansver

Add a comment
sanyapepega
asked May 20 2023
edited May 22 2023
Post your Answer