LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-03-2005, 01:05 PM   #1
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
Question user cannot log in "Authentication Failed" Fedora Core 4


I am running Fedora Core 4 as my main system. I am able to log in as root (that's who I am right now), but I cannot log in with my regular id. I've made sure the password is reset, but I keep receiving "Authentication Failed".

Forgive my ignorance, I'm used to Windows and don't know where to look for the logs.

Thanks,
Clay

Update:
I added a user 'clay' and set the password. Same thing with a new user.

Last edited by clayharryman; 08-03-2005 at 01:11 PM.
 
Old 08-03-2005, 03:38 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Any idea of what happened to your original user account? You system logs will likely be in /var/log/ , with /var/log/secure and /var/log/messages being a good place to start looking.
 
Old 08-03-2005, 08:30 PM   #3
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Post

In /var/log/messages, I see (among thousands of other entries) the following:

Code:
Aug  2 18:58:37 localhost gdm[3384]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Aug  2 18:58:38 localhost gdm[3384]: Couldn't set acct. mgmt for userid-omitted
This would be after a power failure while I was logged in. It was locked up, so I cycled power. I didn't try to log in until this morning.

I'm not aware of having LDAP installed. How would I reset this?

Q: if there's an authentication problem, through LDAP, why wouldn't it affect ROOT?

Adios,
Clay
 
Old 08-04-2005, 12:18 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
It looks like gdm (Gnome display manager) is trying to authenticate to a remote LDAP server for some reason. It may just be a per user thing involving GDM. Is it affecting all non-root users or just the one account? If it's system-wide, the authentication may have somehow gotten switched to LDAP. Usually root authentication is not part of default LDAP configs, due to the security implications of have LAN-wide root access or if the LDAP server were to get compromised (you'd have instant root of the entire LAN). So that may explain root still working.

To fix login as root and run system-config-authentication to make sure that it hasn't gotten switched to LDAP somehow.
 
Old 08-04-2005, 04:57 AM   #5
blackspade
Member
 
Registered: Aug 2005
Location: Orange County, CA
Distribution: Suse 10.2 / backtrack2
Posts: 104

Rep: Reputation: 15
HELP :(

Hey, Im having the same problem too. What do you mean by make sure that the ldap didnt change? should they all be unchecked?
 
Old 08-04-2005, 05:15 AM   #6
blackspade
Member
 
Registered: Aug 2005
Location: Orange County, CA
Distribution: Suse 10.2 / backtrack2
Posts: 104

Rep: Reputation: 15
HELP :(

Basically I'm Running Linux enterprise AS v4 And Ive been working with root for the last week, ( i know i shouldnt be ) but today i went to login as my user, and it wont let me. It says Authenication failed, and Basically what the other guys post said. Ive been trying now for 4 hours to figure out whats wrong. Maybe you can help me out!
Thanks
- Jonathan
 
Old 08-04-2005, 07:06 AM   #7
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 620

Rep: Reputation: 30
Hi

have u tried login in from a console with your user account. This will be a good idea to see if there is really a prob with your account or just the GUI version.

Also try creating another test account and see if the result is the same if not then delet the old account whichout deleting the home directory just incase u have data in there.


cheers
 
Old 08-04-2005, 07:11 AM   #8
blackspade
Member
 
Registered: Aug 2005
Location: Orange County, CA
Distribution: Suse 10.2 / backtrack2
Posts: 104

Rep: Reputation: 15
Hey come to my forum same problem

http://www.linuxquestions.org/questi...24#post1781924
 
Old 08-04-2005, 07:23 PM   #9
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Talking Thank You! That did the trick!

Quote:
Originally posted by Capt_Caveman
To fix login as root and run system-config-authentication to make sure that it hasn't gotten switched to LDAP somehow.
I think I remember finding this accidentally. I was trying to figure out how to make a Win2003 Domain Controller talk to my linux box. I postponed that exercise until I find the instructions somewhere, and didn't return things to normal. Then I whacked the windows box 'cuz I hate windows...

Anyhow -- I disabled LDAP and NIS and all the other goodies I had turned on. Maybe I should disconnect it from the internet now...

Thanks!

Adios,
Clay
 
  


Reply


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
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 04:29 AM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 06:37 AM
Running CVS Server on Fedora Core 4 with pserver as "cvs" user rupak Fedora 2 09-17-2005 03:06 PM
psql: FATAL 1: IDENT authentication failed for user "postgres" linuxtesting2 Linux - General 3 06-16-2004 01:48 PM
"wine: failed to create the process heap", in Fedora Core 2 crimsonmoon Linux - Software 3 06-16-2004 05:59 AM


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