  | |  | Disconnecting idle users | Disconnecting idle users 2005-06-15 - By John Newbigin
Back '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.
Lee Whatley, Contractor wrote:
> Hello list, > > I've been asked to investigate ways to disconnect remote users on some > RHEL v3 machines. Specifically, I need to automatically disconnect a > remote user if: > 1.) they have been connected for longer than 24 hours (regardless of > activity) > 2.) they have been idle for 4 hours > > It would also be nice if I could specifically exclude users or groups > from this policy, but its not necessary. Google turns up a few > applications: idled, autolog, piddle, etc. but all of these apps stopped > being maintained ages ago. Are there any facilities built into RHEL v3 > to do what I want? If not, does anyone have any recommendations? > > Thanks! > > -Lee > > -- > Taroon-list mailing list > Taroon-list@(protected) > http://www.redhat.com/mailman/listinfo/taroon-list > > >
-- John Newbigin Computer Systems Officer Faculty of Information and Communication Technologies Swinburne University of Technology Melbourne, Australia http://www.ict.swin.edu.au/staff/jnewbigin
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |