Re: autologout

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

 



Hello Raj
Add following lines in the end of /etc/profile
TMOUT = 120
readonly TMOUT
export TMOUT

This will force the user to auto logout after 120 seconds of being idle, and also will not allow that user to change TMOUT variable. But remember that this affects on all users including ROOT.


Best regards


Raj Har 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?

thanks

--
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