Change my root password in Debian Linux if I have the current password?
Hello!
I'm not an experienced Linux user and that's why I paid someone to install and configure my Debian Linux server. I have some trust problems after finding that the last guy I paid for this job did all kind of things from my server. And now I have a fresh install of Debian and a root password I want to change. I have the current password I don't have any problems logging in to the root account but I just want to change current password. Thanks. |
Type "man passwd" to see how the password command works. But, essentially, login as root and type "passwd".
A caveat: Normally, we never actually login as root. When we need to do things as root, we can either use "sudo" followed by the command, or just "su" or "su -" to login to root from a terminal. Being root as a GUI user can cause you to get into all kinds of bad habits that are best avoided by logging in as usual and then becoming root in a terminal. |
It worked. Thank you!
|
All times are GMT -5. The time now is 07:03 AM. |