How to auto-logout after XXX idle?

When ssh to a sever,how to auto-logout after XXX idle?
in tcsh,I know to set autologout=X
How in the default /bin/sh shell to autologut?
 
Some shells don't support the auto-logout features so if you have to have this feature, you'll need to switch to a shell that does.
 
brd@ said:
Some shells don't support the auto-logout features so if you have to have this feature, you'll need to switch to a shell that does.
TKS for your reply.
You mean bourne shell doesn't support auto-logout?
I know tcsh shell support auto-logout.
 
Back
Top