Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to log out inactive users automatically (on console & on remote) ?

Status
Not open for further replies.

SBSaikia

IS-IT--Management
Feb 9, 2004
54
SG
Hi All,

Appreciate your help on the below issue.

I need a automatic mechanism to exit inactive login sessions after a certain time -say 15 min.
I use Solaris 8, and remote access in only through SSH.

Thanking you in advance.

SbSaikia
 
Check out the $TMOUT variable. You can set this for a login session (in .profile or /ec/profile for all users) using

export TMOUT=900

This for a 15 minute timeout period. HTH.
 
another shell: tcsh has auto-logout freature enabled by default

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top