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 02-16-2004, 09:31 PM   #1
BartonOC
LQ Newbie
 
Registered: Aug 2003
Location: Troy, NY
Distribution: Red Hat 9
Posts: 8

Rep: Reputation: 0
Authentication Failed


I'm having login authentication issues. I was messing with shadow something when i was drinking, and since then i havent been able to log in. Unfortunately the only user i can remember the pass for is root. I had posted about my problem and was given the suggestion to delete the content between the first to colens on the root line of my /etc/passwd and /etc/shadow files. Didn't work. Before i would get authentication failed when enterint the password, now i get it after i hit return from entering the username. Help please, i have to get out of knoppix back to something where settings are saved and office isn't in another language.
 
Old 02-16-2004, 11:05 PM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Login as root and give them new passwords.
code:
passwd [username]
code
Type new password twice.
Now if you have authentication problems, at least you know they're real, if not...
Resume drinking.
 
Old 02-17-2004, 09:41 PM   #3
BartonOC
LQ Newbie
 
Registered: Aug 2003
Location: Troy, NY
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
I cannot log in as root, when i type root and hit return from the gui logon, i get authentication failed. This is before i even enter a password. From the command line, it just refreshes the screen w/ a new login prompt following the return after typing root.
 
Old 02-18-2004, 09:41 PM   #4
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Sorry, thought you had root access. You'll have to go with single-user mode.
I'm not sure specifically with RH9, but basically edit grub arguments and add 's' or 'single' to the end of the kernel line.
If you get to the gui login, you missed it.
Once you're in single user mode, you're root, change the passwords.
See if there's a FAQ page for your distribution that will give you more lucid instructions.
 
Old 02-19-2004, 01:28 AM   #5
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
depending on the settings of your windows manager, it may disallow root logins at the gui prompt which seems to be true in your case. Try going to a terminal screen (CTRL+ALT+F1) and login as root from there.
 
Old 02-22-2004, 01:03 AM   #6
BartonOC
LQ Newbie
 
Registered: Aug 2003
Location: Troy, NY
Distribution: Red Hat 9
Posts: 8

Original Poster
Rep: Reputation: 0
I can't login from any method i've tried. I'm sure i'd faail over telnet if i had that open. Is there a way to reset all users?

Or just the passwords?

Knoppix isn't the best on a ram limied machine.
 
Old 02-22-2004, 08:31 PM   #7
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Single user mode for RedHat9, either grub or lilo:

http://www.redhat.com/docs/manuals/l...ng-single.html
 
Old 02-23-2004, 01:00 PM   #8
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
PS: Once you're in single-user mode:
pwunconv will decrypt your passwords and move them from /etc/shadow to /etc/password('un-shadow' your users).
 
  


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
FreeNX authentication failed parsek77 Linux - Software 1 07-29-2005 05:49 PM
Authentication failed balaguru_jeeva Red Hat 4 04-19-2005 02:54 AM
Authentication failed leeml1 Linux - General 2 04-25-2004 07:06 PM
Authentication Failed! Userlevel6 Linux - Networking 16 08-09-2003 10:51 AM
Authentication Failed!!! clodur Linux - Newbie 1 08-16-2001 12:31 AM

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

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