LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-18-2003, 05:02 AM   #1
dponte
LQ Newbie
 
Registered: Oct 2003
Location: Manila, Philippines
Distribution: Red Hat v 9
Posts: 1

Rep: Reputation: 0
Angry grub use for root password lockout


Hi guys!

My problem is this:
Somebody for whatever "hacking trip" got the server's password and changed it. (Fortunately, this server is used solely for instruction/educational purpose only and stand-alone.) So not very much damage done except that I was locked out.

The RH v9 manual says (if I remember it right) that I can recover the root privilege by rebooting and waiting for the grub loader to appear. When it does, press 'e' and grub should showup lines by pressing the arrow keys until a specified line comes out. Then edit this line by appending 'single' word. Then, let it continue booting (this time, it must be single user or 'init 1').

Unfortunately, when the grub line appeared during boot, it is not responding to the 'e' letter.

I have two computers, both installed with RHv9. Last week, the same incident happened and I reinstalled that one. Re-installation takes too long.
Anybody who can help me please recover my root privilege or help with the correct sequence of grub

Thank you all very much in advance.
 
Old 10-18-2003, 06:13 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Its odd - grub should allow you to edit the things when you press e, think its e. There is usually stuff on the grub screen to tell you what to do. Perhaps try c ?for a command line and then if 'single' does not work try init=init -s, probably the wrong syntax but it may work, on the end of the line with 'kernel' on it. You may have to put 'boot' as the last comand to ask it to boot.
 
  


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
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 04:30 PM
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Change Root password on Grub 0.94 mikeshn Linux - General 5 03-10-2005 12:09 PM
root and grub password mbayeb Linux - General 3 11-24-2003 08:06 AM
Grub and root password mbayeb Linux - Software 1 12-20-2002 11:27 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration