LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 1
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.
 
Old 12-27-2008, 03:41 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

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, 02:02 AM   #3
panseluta
LQ Newbie
 
Registered: Dec 2008
Posts: 20

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


Reply



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 08:17 AM
how to change root password without knowing the grub password ramesh.mimit Red Hat 8 10-15-2011 05:12 AM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

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