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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-29-2002, 05:06 AM
|
#1
|
LQ Newbie
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11
Rep:
|
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
|
|
|
08-29-2002, 06:24 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,417
|
You mean $(env | grep TMOUT)? *Where* have you looked for them? /etc/(profile|bashrc), /etc/security/*?
|
|
|
08-29-2002, 07:55 AM
|
#3
|
LQ Newbie
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11
Original Poster
Rep:
|
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
|
|
|
08-29-2002, 09:00 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,417
|
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...
|
|
|
09-05-2002, 02:38 PM
|
#5
|
LQ Newbie
Registered: Aug 2002
Location: Ireland
Distribution: RH
Posts: 11
Original Poster
Rep:
|
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 MFómh 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 MFómh 5 19:40:38 gdm(pam_unix)[16539]: session closed for user alan
Sep 5 19:40:54 erg-083 MFómh 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 MFómh 5 20:06:46 gdm(pam_unix)[16539]: session closed for user alan
Sep 5 20:06:47 erg-083 MFómh 5 20:06:47 gdm[16539]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Sep 5 21:27:17 erg-083 MFómh 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
|
|
|
All times are GMT -5. The time now is 01:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|