Microsoft
Software
Hardware
Network
Question : TMOUT variable does not work on rbac and sftp.
Helo,
I've setup a TMOUT readonly variable on /etc/profile and it's working properly when users via ssh. The session is kicked afterr 1 hour of idle. But When I enter rbac I lost TMOUT variable. See below:
/etc/profile:
TMOUT=3600
readonly TMOUT
Loging via ssh and enter in rbac.
s03is@micro: /home/s03is # echo $TMOUT
3600
s03is@micro: /home/s03is # swrole admin
s03is's Password:
s03is@micro: /home/s03is # echo $TMOUT
0
s03is@micro: /home/s03is #
Or, I use eny client of sftp (windows or unix/linux) and TMOUT does not work.
Any hint?
Thanks.
Answer : TMOUT variable does not work on rbac and sftp.
Hiya!
You must
export
the TMOUT variable in order to get it passed into the subshell started by
swrole
.
/etc/profile:
export
TMOUT=3600
readonly TMOUT
wmp
Random Solutions
Syntax error (missing operator) in query expression
Computer boots only so often
Assigning values to a range of cells in Excel with VBA
Crystal Report Security
Display logon message to new users at first logon.
No Networking Installed on Windows 2008 VM After Migrating From VMWARE Server to ESXi Server
Can't install wifi printer MX870
Is there a way to use visual basic 6 to write data directly to a cd or dvd for windows, xp, vista and 7
Exchange Server 2010 Delegate Access
Convert 16bpp bitmap to 32bpp or to JPEG on Windows Mobile 5.0 onwards