William A. Mahaffey III
2011-Aug-13 02:58 UTC
[libvirt-users] How do I disable auto-logout ....
.... I have a 64-bit CentOS 5.6 VM running on a 64-bit FC14 host. I notice that it has an automatic logout feature after a period of idleness, see below: [wam at centos-5, CFD, 5:52:45pm] 1183 % ll -tr LIST LIST.Update /usr/local/bin/P* /usr/local/bin/*WAM* ; ps -u wam -lf ; uname -a ; date ls: No match. F S UID PID PPID C PRI NI P SZ:RSS WCHAN STIME TTY TIME CMD 5 S wam 2270 2266 0 15 0 * 22540:1788 ? 15:48 ? 00:00:04 sshd: wam at pts/0 0 S wam 2271 2270 0 15 0 * 3144:2720 rt_sig 15:48 pts/0 00:00:00 -tcsh 0 R wam 18249 2271 0 15 0 0 2621:896 - 17:52 pts/0 00:00:00 ps -u wam -lf Linux centos-5.6-vm 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Fri Aug 12 17:52:50 CDT 2011 [wam at centos-5, CFD, 5:52:50pm] 1184 % auto-logout Connection to 192.168.122.213 closed. [wam at Q6600, ~, 6:52:51pm] 1014 % [wam at Q6600, ~, 9:40:49pm] 1014 % [wam at Q6600, ~, 9:40:49pm] 1014 % ssh2 -l wam 192.168.122.213 Last login: Fri Aug 12 15:48:11 2011 from 192.168.122.1 [wam at centos-5, ~, 9:40:54pm] 1135 % I checked man pages on both host & VM, but came up blank. I have another box running CentOS 5.6 native & it doesn't do this, so I suspect it is something w/ the VM environment. How do I disable that :-) ? Thanks in advance. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.
Hi, Maybe it's bash and its configurable timeout? Check $TMOUT variable, if it's non empty, it specifies a number of seconds to auto-logout when idle. On Aug 13, 2011 4:53 AM, "William A. Mahaffey III" <wam at hiwaay.net> wrote: .... I have a 64-bit CentOS 5.6 VM running on a 64-bit FC14 host. I notice that it has an automatic logout feature after a period of idleness, see below: [wam at centos-5, CFD, 5:52:45pm] 1183 % ll -tr LIST LIST.Update /usr/local/bin/P* /usr/local/bin/*WAM* ; ps -u wam -lf ; uname -a ; date ls: No match. F S UID PID PPID C PRI NI P SZ:RSS WCHAN STIME TTY TIME CMD 5 S wam 2270 2266 0 15 0 * 22540:1788 ? 15:48 ? 00:00:04 sshd: wam at pts/0 0 S wam 2271 2270 0 15 0 * 3144:2720 rt_sig 15:48 pts/0 00:00:00 -tcsh 0 R wam 18249 2271 0 15 0 0 2621:896 - 17:52 pts/0 00:00:00 ps -u wam -lf Linux centos-5.6-vm 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Fri Aug 12 17:52:50 CDT 2011 [wam at centos-5, CFD, 5:52:50pm] 1184 % auto-logout Connection to 192.168.122.213 closed. [wam at Q6600, ~, 6:52:51pm] 1014 % [wam at Q6600, ~, 9:40:49pm] 1014 % [wam at Q6600, ~, 9:40:49pm] 1014 % ssh2 -l wam 192.168.122.213 Last login: Fri Aug 12 15:48:11 2011 from 192.168.122.1 [wam at centos-5, ~, 9:40:54pm] 1135 % I checked man pages on both host & VM, but came up blank. I have another box running CentOS 5.6 native & it doesn't do this, so I suspect it is something w/ the VM environment. How do I disable that :-) ? Thanks in advance. -- William A. Mahaffey III ------------------------------**------------------------------**---------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. ______________________________**_________________ libvirt-users mailing list libvirt-users at redhat.com https://www.redhat.com/**mailman/listinfo/libvirt-users<https://www.redhat.com/mailman/listinfo/libvirt-users> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110813/c8a1269a/attachment.htm>