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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-10-2005, 09:16 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Rep:
|
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.
|
|
|
|
01-10-2005, 09:32 PM
|
#2
|
|
Member
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877
Rep:
|
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.
|
|
|
|
01-11-2005, 10:17 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
|
01-13-2005, 11:39 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Original Poster
Rep:
|
Still stuck, anyone can help me out?
|
|
|
|
01-14-2005, 12:16 AM
|
#5
|
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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
|
|
|
|
01-14-2005, 12:02 PM
|
#6
|
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
|
01-14-2005, 12:14 PM
|
#7
|
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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?
|
|
|
|
01-14-2005, 02:37 PM
|
#8
|
|
LQ Newbie
Registered: Jan 2005
Posts: 5
Original Poster
Rep:
|
Wow! It works! You are good man! Now I can have my system back without erasing everything. Thanks!
|
|
|
|
01-14-2005, 02:42 PM
|
#9
|
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
You'r welcome! 
Don't forget your date/time will be off.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:24 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|