Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-19-2004, 03:30 AM   #1
Registered: Jul 2004
Location: Guntur
Posts: 44

Rep: Reputation: 15
Login problem: 'Authentication Failed'

Hi Everybody,

When iam logging into redhat linux, its giving 'Authentication Failed' message.
I tried to get in to the interactive mode while booting and after giving my root password, i got prompt as below


I tried 'fsck' and its getting out with out doing file system check.
And i also tried to create a new user by all ways , like

(RepairFileSystem)# adduser naren
(RepairFileSystem)# useradd naren
(RepairFileSystem)# useradd -d <username> -p <password> -L | -U

and iam getting message as

'unable to lock password'

even after trying -L and -U options

So please help me by giving some solution or hint (advantageous) in solving my problem

Thank you very much in advance.
Old 07-19-2004, 04:16 AM   #2
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Hi Mr.,
I am supposing your file system is an ext2/ext3. If the system detected some problem, it left this partition read only.I think this is the reason it is telling "can't lock password". The best is you boot from floppy or cd to repair it. When you get the prompt, you should use e2fsck with "-f" option to force the check procedure. After the check, mount the filesystem in any directory and look the /<any directory>/etc to see if you have the passwd file and, if you use shadow, you also have shadow file.


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 09:15 PM
Authentication failed balaguru_jeeva Red Hat 4 04-19-2005 03:54 AM
Samba Login/Authentication Problem kenchix1 Linux - Networking 5 10-22-2004 03:29 AM
Authentication failed leeml1 Linux - General 2 04-25-2004 08:06 PM
Authentication Failed!!! clodur Linux - Newbie 1 08-16-2001 01:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration