Subject: | |
From: | |
Reply To: | |
Date: | Sun, 19 Mar 2006 16:38:50 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thanks for the response, but this method is login-shell-specific; I
don't believe tcsh (and there may be others) sources /etc/profile.
On Sun, Mar 19, 2006 at 03:48, Art Wildman wrote:
> Pann McCuaig wrote:
> >idled seems not to be available nor much maintained these days.
> >
> >What are folks using to log out users who walk away from their desks
> >(for way too long)?
> >
> >Cheers,
> > Pann
>
> RedHat KB: Article ID: 5762
> Last update: 06-15-05
> http://kbase.redhat.com/faq/FAQ_43_5762.shtm
>
> Issue: How do I configure my system to automatically logout a user after
> a certain amount of inactivity?
> Resolution:
>
> The system variable TMOUT can be set to specify the amount of time the
> user is inactive before the user is automatically logged out. Set the
> following listed below in the /root/.bashrc file:
>
> TMOUT=3600
>
> The system will logout the root account after one hour of inactivity.
> The value entered for the TMOUT= variable is in seconds. To represent 1
> hour, we have to multiply as follows: 1 hour is 60 minutes. 60 minutes *
> 60 seconds = 3600 seconds.
>
> After setting the parameter, the intended user will need to log out and
> then log in for the changes to take effect. To make modifications apply
> to all users on the system, specify the TMOUT variable in /etc/profile.
>
> -HTH Art@JAX
--
Pann McCuaig <[log in to unmask]> 212-854-8689
Systems Coordinator, Economics Department, Columbia University
|
|
|