LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2003, 09:26 AM   #1
wza
LQ Newbie
 
Registered: Jan 2003
Distribution: debian/fedora/redhat
Posts: 18

Rep: Reputation: 0
Angry extreme login problems


hi, i'm running redhat 8, with Gnome. Got grub as dualbooter. Only one user and the rootuser are registered

For some strange reason i tried to boot my pc this morning and neither my userpass or my root password worked. I've got no idea what i did last night in order to block myself out of my system. As the complete startup is in graphical mode i've got no commandline to use...

Anyone have some tips for me please; i cannot simply wipe everything off, that would be a disaster...

Thank you...
 
Old 01-30-2003, 09:54 AM   #2
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
When grub comes to a prompt, look on the screen, I think it says something to the effect of "Press F1 to enter command line arguments" (Whatever it says to do, do it). When you get to that prompt, enter "single root=/dev/hda??" (replace ?? with your root filesystem). There may also be an Fkey for help...

That should take you to a command line interface, so that you can correct your passwords or add a different user.

Or, at least I hope that will work. I keep going back and forth between lilo and grub, and sometimes get confused on what works on what system.

HTH
 
Old 01-30-2003, 10:07 AM   #3
wza
LQ Newbie
 
Registered: Jan 2003
Distribution: debian/fedora/redhat
Posts: 18

Original Poster
Rep: Reputation: 0
it doesn't seem to work. When TAB at the Grub> prompt i'm getting these possible commands:

background, blocklist, boot, border, cat, chainloader, cmp color configfile, debug displayapm displaymem, display, embed, find, foreground, fstest, geometry, halt, help hide, impsprobe, initrd install, ioprobe, kernel, lock, makeactive, map, md5crypt, module, modulenounzip, pager partnew, parttype, password, pause, read reboot, root, rootnoverify, savedefault, serial, setkey, setup shade, splashimage, terminal, testload, testvbe, unhide, uppermem, vbeprobe, viewport

tried a couple of them in order to launch a terminal, but no can do so far...
 
Old 01-30-2003, 10:29 AM   #4
wza
LQ Newbie
 
Registered: Jan 2003
Distribution: debian/fedora/redhat
Posts: 18

Original Poster
Rep: Reputation: 0
got it, if anyone would ever need the fix:

If it boots up with GRUB, select the linux entry, and type "e" to edit. Select the line that starts with "kernel", and type "e", again. At the end of the line, add a space and "single". Hit [enter] to get back to the main GRUB menu, and type "b" to boot.

Then, you can type "passwd" to change the root password, or "passwd [username] to change another user's password. Don't forget to change your Grub entry out of single user mode.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid 0 Problems Extreme charles.raber Linux - Hardware 0 06-19-2005 05:49 PM
Login Screen and Login Photo problems? host Linux - Software 0 02-21-2005 06:56 AM
Not being able to login, 911 extreme help needed! rmsat Linux - Newbie 9 06-11-2004 07:19 PM
Extreme Knoppix Problems kurt9090 Linux - Newbie 3 05-02-2004 03:10 PM
A few problems here as an extreme noob Raggit Linux - Newbie 4 03-07-2004 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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