su - root and TMOUT
RHEL 4.5
I have TMOUT=900 set in /etc/profile file.
It works for logins, it works when I login as root.
But it doesn't work if I su - root from another account. In this case, the session stays open and logged in (via console).
su root has produced logouts, but a recent test it did not, so this one seesm shaky.
How do I address these issues?
Add TMOUT=900 to /root/.bashrc or .bash_profile?
Thanks. Sean.
|