LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-16-2003, 01:06 PM   #1
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Rep: Reputation: 15
Unhappy Problems with Root Password


Hello all, I'm a newbie to RedHat 9.0 and like it very much!

However, I have a problem:

When I go to do anything admistrative (i.e. hardware browser, up2date), of course it asks me for my root password, but when I enter it the screen simply comes right back at me and asks for the password again. It will keep coming back, until finally I hit "cancel", when it says "unknown exit code"(?)

I am sure the root password I have is correct, I even reinstalled the system to make sure. I have tried tabbing to the OK button, clicking it with a mouse.... nothing.

Has anyone had this problem or knows some way I can override the root password? Thx in advance
 
Old 08-16-2003, 01:21 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Check - Caps lock and num lock?

What happens when you open a terminal as a user and type:
su -

Then enter you root password? Does it log you in?

Can you login as root from a console (Ctrl Alt F1) then (Ctrl Alt F7) to get back to the gui?
 
Old 08-16-2003, 01:30 PM   #3
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
Hmmm I checked caps/number lock, and when I tried through the terminal su - (my password) is says "su - user (my password) does not exist".

Going to the console didn't work either .

I don't know, everything else works fine but obviously I need access to administrative privileges.... is there any other way you can suggest?
 
Old 08-16-2003, 01:37 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
No - you type:
su -

PRESS RETURN

Then enter your password.
 
Old 08-16-2003, 01:44 PM   #5
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15


Well, I typed su -, then RETURN, and it prompts me for a password, but then I can't type anything, it just locks up. I hit return, it just goes to the next line....

sorry, I probably should've gone to Linux newbies for this question, but it is quite perplexing...
 
Old 08-16-2003, 01:54 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
When you say it goes to a new line - does it change from:
[username@somehost username]$

to:
[root@somehost root]$

You shouldn't see anything when you type the password. If you type the wrong one it should say:
[username@somehost username]$ su -
Password:
su: incorrect password
[username@somehost username]$
 
Old 08-16-2003, 01:57 PM   #7
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
You may need to put JTR to work.........JTR is a UNIX password cracker.
 
Old 08-16-2003, 01:58 PM   #8
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
I get it to go:

[username@somehost username]$ su -
Password:


But at the prompt after Password, it just freezes, the only key that does anything is Enter, and that just puts it at the beginning of the next line....
 
Old 08-16-2003, 02:00 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What does the next line look like?

Can you copy and paste the ACTUAL output
 
Old 08-16-2003, 02:01 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by 320mb
You may need to put JTR to work.........JTR is a UNIX password cracker.
Why? If he gets really stuck he can just reset the password.
 
Old 08-16-2003, 02:04 PM   #11
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
[john@a3h33829y42al john]$ su -
Password:

That is exactly how is looks. When it prompts for Password:, the cursor doesn't respond to my keystrokes, it just sits there. This is really weird.... it's like it's defective or something .

How do I reset the password? That might do it....
 
Old 08-16-2003, 02:11 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
1) Reboot your computer.
2) When the grub bootloader appears on the screen select the entry for your linux system - it may be the only one.
3) Press the "e" key to edit the entry.
4) Select the line beggining with "kernel".
5) Press the "e" key again
6) Type " single" no quotes
7) Press enter
8) Press "b" to boot
9) When the prompt appears type "passwd" press enter
10) Enter a new password when prompted
11) Reboot by typing "shutdown -r now"
 
Old 08-16-2003, 02:28 PM   #13
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks alot!!! I'll give it a try
 
Old 08-16-2003, 02:50 PM   #14
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
OK David, I tried to follow your instructions.

I selected "e" on the linux system (strangely, there are two, different versions? I picked the higher version, I also have XP on the drive).

Selected the line starting with "kernel".

Pressed "e".

this line came up:

grub edit>kernel /boot /umlinuz-2.4.20-19.9 ro root=label=/ hdc=ide-scsi

I typed "single" (no quotes) immediately after scsi, it just went to the previous screen (still highlighting the line starting with "kernel"), when I pressed "b" it booted the comp! No choice for new password

I am frustrated. Could it be because of my hard drive config? I have the Linux Swap partition first (1024 mb, I have 512 ram), the XP (NTFS) partition next, then the Linux Partition (ext3), then a FAT32 partition to share files between the OS's. Isn't it strange that I get two linux choices when I sign in the grub loader? I am going to reboot right now and note what the choices are exactly and repost.

Thanks for all your help so far David
 
Old 08-16-2003, 02:54 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
did you include the space or did you type:
ide-scsisingle

it should be:
ide-scsi single

note the space before "single"
 
  


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 could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
Root password problems svinka Ubuntu 11 11-20-2005 09:17 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
Root Password Problems Kintwa Linux - Newbie 2 10-10-2004 08:46 PM

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

All times are GMT -5. The time now is 01:21 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
Open Source Consulting | Domain Registration