Jump to content

Change root-passwd: dont have the actual password of the root account.


Recommended Posts

Posted

howdy

 

On Linux, the root account is a special user account on Linux that has access to all files, all commands and whatsoever

 

i have Armbian system on a Banana Pi and i ve forgotten the passwd.

 

the question is: how can we change the root password on Debian 10

damned: i ve heard that To change the root password on Debian, i need to have sudo privileges

 

but wait: i do not have the actual password of the root account.

 


$ sudo -l User <user> may run the following commands on host-debian:

 

 

Well i guess that i should be able to change the root password.

 

 

but wait: dont have the actual password of the root account.

 

but very very interesting: i am logged in. Thats great!

 

Posted
1 hour ago, malaga said:

howdy

 

On Linux, the root account is a special user account on Linux that has access to all files, all commands and whatsoever

 

i have Armbian system on a Banana Pi and i ve forgotten the passwd.

 

the question is: how can we change the root password on Debian 10

damned: i ve heard that To change the root password on Debian, i need to have sudo privileges

 

but wait: i do not have the actual password of the root account.

 



$ sudo -l User <user> may run the following commands on host-debian:

 

 

Well i guess that i should be able to change the root password.

 

 

but wait: dont have the actual password of the root account.

 

but very very interesting: i am logged in. Thats great!

 

 

Posted

 

hi there - did it 

all works perfectly now 

cheers 


$ sudo passwd

Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines