Reset root password

I have installed the dappnode debian image. but now I can’t remember the root password for the box when I ssh. my other username works fine with ssh. how can I reset the root password?

You can do it in 2 ways:
Access via ssh with your user, and access to the root user:
sudo su
And modify the root password with:

The second option is to do it directly from your user:
sudo passwd root

I’ve tried what you suggested however
it says my user name is not in the sudoers file

To execute such commands you may need to login as sudo, execute:
su -
And then you will be able to continue

that’s the whole problem. I’ve lost the su password

If you did not change the default password of the root user then the password should be dappnode.s0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.