|
|||||||||||
|
Re: Environment test
From: Bill Tangren <bjt(at)usno.navy.mil>
Date: Thu Oct 11 2007 - 13:52:03 EDT
I did this hack to (to /etc/profile) have a user session time out if they ssh but not if they log in at the console: if (grep ^"sshd: " /proc/$PPID/cmdline >/dev/null 2>&1); then
export TMOUT=900
You might try something like that. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-listReceived on Thu Oct 11 13:52:23 2007 This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:21:07 EDT |
||||||||||
|
|||||||||||