Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-27-2008, 04:17 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 20

Rep: Reputation: 1
Change my root password in Debian Linux if I have the current password?


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.

Old 12-27-2008, 04:41 PM   #2
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,391

Rep: Reputation: 141Reputation: 141
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.
Old 12-28-2008, 03:02 AM   #3
LQ Newbie
Registered: Dec 2008
Posts: 20

Original Poster
Rep: Reputation: 1
It worked. Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
change password without knowing current password powah Linux - Security 16 10-04-2012 09:17 AM
how to change root password without knowing the grub password ramesh.mimit Red Hat 8 10-15-2011 06:12 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 08:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration