LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-16-2009, 10:43 AM   #1
kalyantalukdar
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Arrow Root password locked by # passwd -l root command


In server(Xeon Processor with RHEL 4.4 server version) the root passwd was accidentally locked by #passwd -l root command and logout.How to recover the passwd as there is no other login to enter for data backup or modification of /etc/inittab file for single user boot. Please provide some assistance or advice, at your earliest convenience. I'm in a jam here

Last edited by GrapefruiTgirl; 09-17-2009 at 06:45 AM. Reason: OP accidentally made font too big and bold.
 
Old 09-16-2009, 11:02 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

If you search the LinuxQuestions forums for 'reset root password' then you'll get several hundreds of hits. I think this one applies to you:
Here on LinuxQuestions.

Kind regards,

Eric
 
Old 09-16-2009, 12:14 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Hey, I'm not blind. Please reduce your font size.
 
Old 09-16-2009, 12:16 PM   #4
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
Cool

i think i am blind
 
Old 09-16-2009, 12:23 PM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by mobinskariya View Post
i think i am blind
Take of your sunglasses, you'll see better.
 
  


Reply

Tags
locked, passwd, root



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
how to recover root passwd if bootloader password in not set jindalaman1987 Linux - General 8 03-09-2007 03:06 PM
The passwd command is usually set suid root. this is because, Simon Adebisi Linux - Software 1 06-28-2005 08:10 AM
passwd command is set in suid root. why??? Simon Adebisi Linux - Software 2 06-27-2005 10:02 PM
Bash script to edit passwd without Root password? NetFlash Linux - Newbie 2 11-29-2003 04:22 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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