Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-24-2003, 08:15 AM   #1
Citizen Bleys
Registered: Mar 2001
Location: Moncton, NB
Distribution: Gentoo 2006.0
Posts: 181

Rep: Reputation: 30
Cannot log in with CORRECT password

Here's one that will probably take an abolute Linux god to troubleshoot: Whenever I try to log in as any account in Red Hat 9 with the correct password, I get a popup box that says "Authentication failed."

If I try an incorrect password, it says "Incorrect username or password. Letters must be typed in the correct case. Please make sure the Caps Lock key is not enabled" below the login box.

I am sure that the password is right, because I booted in as root by passing the single parameter to the kernel from the bootloader, and I changed my root password and my user account to password (I made sure caps lock was off and typed it all out with one finger slowly to make sure there were no typos). Even in single-user mode, if I try to use SU (doesn't matter what username I give it), instead of prompting me for a password, it just says "incorrect password"

EDIT: Yes, it is my own fault. I made a bunch of changes to the system trying to get the bugger to authenticate to a Windows 2000 ISA server to get out to the internet, but there were a *lot* of changes, and I don't remember what all of them were, so I can't begin to guess at what I did to slaik login security up like this.

Last edited by Citizen Bleys; 07-24-2003 at 08:16 AM.
Old 07-24-2003, 12:46 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
My guess is that it has somethis to do with somehting in "/etc/security" possibly access.conf - does that ring any bells?

You can comment everythig in access.conf out if there is anything uncommented.
Old 07-24-2003, 10:15 PM   #3
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 30
I wonder if the above problem is at all related to my problem?

Under RedHat 9 I have had a look in /etc/security/access.conf which in default format is all commented out

# Disallow console logins to all but a few accounts.
#-:ALL EXCEPT wheel shutdown sync:LOCAL
# Disallow non-local logins to privileged accounts (group wheel).
# Some accounts are not allowed to login from anywhere:
#-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL
# All other accounts are allowed to login from anywhere.

and my /etc/securetty lists all the normal ttys


I have no problem logging in as root, but whenever I want as root to su to a different user it always asks me for the password of the user. This behavior is different from RedHat 8 and earlier versions.

Why is su under root asking for passwords and how do I change it to the "normal" behavior?


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
su root: authentication failure (password correct) scs_24 Linux - Newbie 3 12-12-2009 01:07 AM
Can't login; password is correct ticky87 Linux - General 2 08-15-2004 07:32 PM
lastb log is not correct ust Linux - General 0 03-01-2004 04:06 AM
Can't login using correct password on RedHat 9 philipacamaniac Linux - Software 8 11-07-2003 10:41 AM
Samba issue. Sometimes cannot login by using correct user/password. olegarr Linux - Networking 3 10-30-2003 09:17 PM

All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration