autologout

~~~0Pen ~~~ S0uRce ~~~ vijay1313 at gmail.com
Fri Apr 17 06:42:27 UTC 2009


Hi,

On Thu, Apr 16, 2009 at 10:33 PM, Raj Har <raj4list at gmail.com> wrote:

> hello experts,
>
>                         i wanna auto logout any user after perticular time
> period.
>
> eg. usera "A" automatically logout after 1 hour.
>
> can i do this with any script or any command?
>


you can create a file under /etc/profile.d/autologout.sh
TMOUT=60
readonly TMOUT
export TMOUT

the above value is in seconds,that would work for all the system users !!!


>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
~~~ 0Pen ~~~ S0uRce ~~~



More information about the redhat-list mailing list