LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change my root password in Debian Linux if I have the current password? (https://www.linuxquestions.org/questions/linux-newbie-8/change-my-root-password-in-debian-linux-if-i-have-the-current-password-693323/)

panseluta 12-27-2008 03:17 PM

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.

Quakeboy02 12-27-2008 03:41 PM

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.

panseluta 12-28-2008 02:02 AM

It worked. Thank you!


All times are GMT -5. The time now is 07:03 AM.