Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-17-2004, 12:06 PM   #1
Registered: Aug 2003
Posts: 42

Rep: Reputation: 15
non-root users can't log in (RH9)

i have a lab of RH9 machines that have been working fine for close to 2 yrs; suddenly, on several machines, non-root users can't log in. users are networked, so first tried disabling NIS on the client in question and created a local user acct. to try out. no luck there, so I think i can rule out network-related problems.

login doesn't produce an error, just instantly returns back to the login screen. in /var/messages, i see:

session opened for user localtest by LOGIN (uid=0)

but no errors after that.

i checked /etc/pam.d/login and system-auth; these are identical to the files on other (working) machines, and nothing immediately weird.

is there any way to make login or PAM produce more error output instead of silently failing? i tried putting in the 'debug' arg into system-auth, but didn't see anything more in /var/log/messages or /var/log/secure.

i'll probably just wipe these and reinstall, but i'm still curious ...

Old 11-17-2004, 12:41 PM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
its been a whie since i used redhat 9... but try looking for the boot script that runs the loggin programs on he console, and making it run through strace. maybe strace's output file may point you in the right direction.

so it suddenly stoped working for no reason ?
you didnt update or change anything ?

could the boxes have been compromised ?


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
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 11:09 AM
Users can't log in unless part of the root group jeffreybluml Linux - Newbie 3 12-02-2004 08:24 PM
X only loads for root user; Hangs when other users log in (Fedora Core 3) stupidloser Linux - General 1 11-29-2004 06:13 AM
setuid programs hang when run by non-root users in RH9 jbkrash Red Hat 0 09-21-2004 02:17 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 08:01 PM > Forums > Linux Forums > Linux - Security

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