LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-31-2007, 08:23 AM   #1
sanatrac
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Question How i recover a lost Root password


i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
 
Old 08-31-2007, 08:54 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
how about searching the forums and google? i a lot of hits explaining this
 
Old 08-31-2007, 09:34 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
At least two options:

1. boot into single user mode: When the GRUB menu comes up, hit tab to stop the countdown and enter "single" at the end of the kernel line.

2. boot from live CD, mount the Linux "/" partition, and edit the /etc/passwd file to delete the first "x" in the entry for root. The entry will then look like this: root:: <+other stuff>
 
Old 09-01-2007, 06:14 AM   #4
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Here's a tutorial on this http://valkyria.x10hosting.com/tutorials/t2.html
 
Old 09-03-2007, 09:42 PM   #5
cpink
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
Hi Sanatrac,
Quote:
Originally Posted by sanatrac View Post
i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
I think u don't worry about it pls try this way: To Start pc, u will see The Grub boot roader menu then press tab to stop the countdown then type "init=/bin/bash". the konsole will running as root. u can type "passwd" to change new root password.

Gooood luck!
Cpink
 
Old 09-13-2007, 06:22 AM   #6
linuxbugs
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
this ure ans

Quote:
Originally Posted by sanatrac View Post
i need to reset the Root password for our server because the Systems Administrator left the company without leaving it
boot your system at grub screen select linux option press e then select kernel line press e the select grub line at the end of line delete at thing after / the write there linux 1 and press enter press b now u will boot into single user mode change root password with passwd root command and restart
 
  


Reply


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
RedHatLinux ,Recover lost root password with GRUB boot loader Ruzzell Linux - Security 5 01-07-2011 02:21 PM
How to recover lost Root password in Suse Enterprise 9.0 manya Linux - Security 3 02-05-2006 06:56 AM
lost mysql password, can't recover slackhack Linux - Software 1 12-03-2005 05:15 PM
How to recover a lost username / password for Solaris 7 at gui login screen noitwhiz Solaris / OpenSolaris 2 09-29-2004 12:32 PM
Loaded Linux, lost login ID and password for superuser? How can I recover? PaulK Linux - Newbie 3 08-24-2004 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:35 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