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
Windows 2003 DC, want to install DNS but setup fails on missing file(s). (dnsperf.h)
SSRS - configure https for Report Manager built-in links to Home | My Subscriptions | Site Settings | Help
GPO Software Installation Based Upon Hardware
Everything frozen in Google docs
Folders from Windows Updates are created in USB Discs
SideBySide Error in Server 2008 R2
Redundant .msi files created by Windows Installer.
What Should the Title Be
Why can't I sort by Task Subject?
Exchange 2010 CAS and certificates