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.

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines