  | |  | Disconnecting idle users | Disconnecting idle users 2005-06-16 - By Lee Whatley, Contractor
Back Thanks for your response. By "remote user", I basically mean anyone who has a shell open that it not using the physical keyboard/mouse/serial connected to the machine (i.e. someone who has sshed in, but not someone's cron job).
I don't think the bash TMOUT variable would work because the user could just unset this variable to circumvent being logged out.
-Lee
John Newbigin wrote: > 'remote user' is a bit vague. This will set bash to autologout. Only > works if you are looking at a bash prompt: > > echo TMOUT=14400 > /etc/profile.d/timeout.sh > chmod a+x /etc/profile.d/timeout.sh > > John. > >
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |