Re: autologout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Apr 16, 2009 at 10:33 PM, Raj Har <raj4list@xxxxxxxxx> 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
~~~ 0Pen ~~~ S0uRce ~~~
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux