LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-24-2003, 08:15 AM   #1
Citizen Bleys
Member
 
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
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
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).
#
#-:wheel:ALL EXCEPT LOCAL .win.tue.nl
#
# 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

console
vc/1
...
vc/11
tty1
...
tty11


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?
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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