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