Help answer threads with 0 replies.
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 04-16-2009, 03:18 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
non privileged user sessions close immediately after login.

while hardening a red hat enterprise 5 installation I have done something that causes the sessions of all user accounts except root to close immediately after authentication. in the /var/log/secure log file it will show three log entries per attempt:

<date/time><hostname> login: pam_unix(login:session): session opened for user fred by LOGIN(uid=0)

<date/time><hostname> login: LOGIN ON tty1 BY fred

<date/time><hostname> login: pam_unix(login:session): session closed for user fred

Since I did a number of things and have not been able to identify what caused this I am hoping that someone might have an idea of where I can look for possible culprits.
Old 04-16-2009, 03:48 PM   #2
LQ Newbie
Registered: Apr 2009
Location: Canada
Distribution: Gentoo, CentOS, Fedora
Posts: 4

Rep: Reputation: 1
Login as root and check to see if you have adequate disk space remaining on all your partitions. I had this problem on a hardened gentoo box, the home partition filled up denying logins for everyone else but root.
Old 04-16-2009, 04:42 PM   #3
LQ Newbie
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Lots of space

Unfortunately, or fortunately I do have plenty of room on all of my partitions. Thanks for the suggestion though.



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
Prompt user for information immediately after login? bpottle Linux - Software 1 05-31-2006 09:59 AM
Privileged user AbrahamJose Solaris / OpenSolaris 8 04-21-2006 06:13 PM
Failed to use X as non-privileged user on AS 3.0 EStester Linux - Enterprise 0 02-28-2005 03:57 PM
close multiple sessions htamayo Linux - Software 1 01-07-2005 02:42 PM
Logging in as non-privileged user TastyWheat Linux - Security 2 09-27-2004 01:58 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:17 AM.

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