LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-10-2005, 09:16 PM   #1
s14rider
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Login Failure after messing with Authentication Configuration


Ok here is the situation:
I was messing around and turn on all the function in the Authentication Configuration but without config in detail. Then when I restart the computer, I can't log in anymore using the same user name and password.
I tried the root username and the other username I have, both doesn't work. However, I know that it has nothing to do with entering an incorrect password because it says Authentication Fail but not incorrect username and password combination in black letter.
By the way, I am using the RedHat Linux 9.1 .So anyway to fix this without reinstalling a new Linux again? Any advise will be helpful to me. Thanks in advanced.
 
Old 01-10-2005, 09:32 PM   #2
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
well for security reasons linux doesn't keep a password in a file to compare it to the string you type in. Your password is encyrted in a file i think called shadow or something like that. So when you try to login it compares the encrypted value of what you entered with the encrypted password in shadow to aunthenticate it. So maybe it does have to do with wrong password, i don't know for sure. Maybe the shadow file got messed up some how. I know this isn't really helpful but it is all i could think of. And at the very least it got your post bumped.

quote: " I was messing around and turn on all the function in the Authentication Configuration but without config in detail."

also this seems to be where things went wrong but to me seems a little vague. Exactly how and what were you messing around with? Maybe if you can be more specific with what you were doing then someone might be able to help you better.

Last edited by dr_zayus69; 01-10-2005 at 09:35 PM.
 
Old 01-11-2005, 10:17 AM   #3
s14rider
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
In the Authentication Configuration Screen, I simply check(turn on) all the functions. However, for each one of the function that has configuration option, I didn't change anything at all. I think it's very important to let you know that the Linux i am using is RedHat 9.0.
Why I think the login failure has nothing to do with entering the incorrect password because I also tried to enter a wrong password intentionly just to see if it has the same result but no, it will warn me that I have an incorrect username/password combination instead of "Authentication Fail" pop up window.
Please help, I need the linux for My project. thank you.
 
Old 01-13-2005, 11:39 PM   #4
s14rider
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Still stuck, anyone can help me out?
 
Old 01-14-2005, 12:16 AM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
You could boot up with cd#1 in rescue mode or the Fedora rescue cd or any linux live cd. Mount the root partition and then chroot into it. Then run the comman: sys-unconfig . That will quickly reboot the system whereby you will need to re-enter the root password and some other settings.
man sys-unconfig
 
Old 01-14-2005, 12:02 PM   #6
s14rider
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for you help. But when I tried to follow the procedure you say and typed in man sys-unconfig it says "No manual entry for sys-unconfig" , and when I typed in sys-unconfig it says "System halted". By the way, I already use chroot to mount my root system back.

Any solution to that?
 
Old 01-14-2005, 12:14 PM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
When I said man sys-unconfig , I meant that you could read up on it once you have a working Redhat / Fedora system.
When you run that command ( sys-unconfig ) from a live cd in a chroot environment, the message " system halted" maybe all you get. Did you try to reboot into the system after that?
 
Old 01-14-2005, 02:37 PM   #8
s14rider
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Wow! It works! You are good man! Now I can have my system back without erasing everything. Thanks!
 
Old 01-14-2005, 02:42 PM   #9
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
You'r welcome!
Don't forget your date/time will be off.
 
  


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
cyrus NO Login failed: authentication failure nobu Linux - Enterprise 6 10-24-2005 08:15 PM
Gentoo configuration issue (missing user groups, alsa messing with emerge, DEVFS) Lechium Linux - Distributions 3 04-06-2005 02:06 AM
UT2004 Authentication failure darkaudti Linux - Games 9 08-31-2004 04:31 PM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM
PAM User Login Authentication Failure robeb Linux - Security 5 11-16-2002 08:01 PM


All times are GMT -5. The time now is 01:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration