LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-29-2002, 05:06 AM   #1
alanlq
LQ Newbie
 
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11

Rep: Reputation: 0
RH 7.2 Automatic Logout


Hi,

I recently installed RH 7.2 and I want to disable/extend the automatic logout functionality that comes with it. I have tried looking for autologout / TMOUT envronment variables., but they are not present.

Any ideas?

Thanks, Alan
 
Old 08-29-2002, 06:24 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,257
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
You mean $(env | grep TMOUT)? *Where* have you looked for them? /etc/(profile|bashrc), /etc/security/*?
 
Old 08-29-2002, 07:55 AM   #3
alanlq
LQ Newbie
 
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11

Original Poster
Rep: Reputation: 0
Hi, I took a look for them in /etc/profile (I don't want this to apply to all users) & and I searched for them in my home directory as well. No sign of either. I tried seeting TMOUT=-1 but I am still being logged out.

Thanks, Alan
 
Old 08-29-2002, 09:00 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,257
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
Btw, do you mean local console logout or remote session logout? If local, have you tried adding TMOUT="" (and export the var) to your ~/.bash_profile?

// Note: Im gonna graft this onto /General because it ain't security related IMO, and I gotta clean up more...
 
Old 09-05-2002, 02:38 PM   #5
alanlq
LQ Newbie
 
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11

Original Poster
Rep: Reputation: 0
Hi All,

I'm still stuck with this. Red Hat told me that they didn't cover this in the support agreement. I have taken a look at my /var/log/messages and this is what I have after a tail -x messages

**Ignore the clock times, I was playing with it.

Sep 5 20:07:45 erg-083 MFmh 5 20:07:45 gdm(pam_unix)[16539]: session opened for user alan by (uid=0)
Sep 5 20:07:49 erg-083 xinetd[16737]: warning: can't get client address: Transport endpoint is not connected
Sep 5 20:08:28 erg-083 su(pam_unix)[16803]: session opened for user root by alan(uid=500)
Sep 5 20:11:52 erg-083 su(pam_unix)[16863]: session opened for user root by alan(uid=0)
Sep 5 20:12:07 erg-083 su(pam_unix)[16863]: session closed for user root
Sep 5 20:13:17 erg-083 su(pam_unix)[16803]: session closed for user root
Sep 5 20:18:28 erg-083 su(pam_unix)[16938]: session opened for user root by alan(uid=500)
Sep 5 20:18:30 erg-083 su(pam_unix)[16938]: session closed for user root
Sep 5 20:18:30 erg-083 su(pam_unix)[16945]: session opened for user root by alan(uid=500)
Sep 5 19:18:38 erg-083 su(pam_unix)[16945]: session closed for user root
Sep 5 19:20:01 erg-083 su(pam_unix)[16986]: authentication failure; logname=alan uid=500 euid=0 tty= ruser= rhost= user=root
Sep 5 19:20:06 erg-083 su(pam_unix)[16987]: session opened for user root by alan(uid=500)
Sep 5 19:40:20 erg-083 su(pam_unix)[16987]: session closed for user root
Sep 5 19:40:38 erg-083 MFmh 5 19:40:38 gdm(pam_unix)[16539]: session closed for user alan
Sep 5 19:40:54 erg-083 MFmh 5 19:40:54 gdm(pam_unix)[16539]: session opened for user alan by (uid=0)
Sep 5 19:40:57 erg-083 xinetd[17207]: warning: can't get client address: Transport endpoint is not connected
Sep 5 20:06:46 erg-083 MFmh 5 20:06:46 gdm(pam_unix)[16539]: session closed for user alan
Sep 5 20:06:47 erg-083 MFmh 5 20:06:47 gdm[16539]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Sep 5 21:27:17 erg-083 MFmh 5 21:27:17 gdm(pam_unix)[17342]: session opened for user alan by (uid=0)
Sep 5 21:27:19 erg-083 xinetd[17490]: warning: can't get client address: Transport endpoint is not connected
Sep 5 21:34:23 erg-083 su(pam_unix)[17579]: session opened for user root by alan(uid=500)


I'm well stuck here and this is driving me crazy, any help appreciated.

Thanks again, Alan
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Logout after inactivity from KDE jst1 Linux - Newbie 2 02-23-2005 01:28 AM
Automatic Logout after inactivity from KDE Suse 9.2 jst1 Suse/Novell 0 02-21-2005 02:05 PM
automatic logout every 10minutes Alien#007 Linux - Newbie 11 09-04-2004 02:51 PM
Automatic logout because of Idle time palanisaravanan Linux - General 4 10-17-2003 10:51 AM
Automatic logout in Mandrake 9.1 (--T--) Mandriva 1 09-08-2003 09:08 AM


All times are GMT -5. The time now is 05:12 AM.

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