Need to change the root-passwd - how to achive that

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!

How to proceed!?

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
1 Like