1830168 Members
5406 Online
109999 Solutions
New Discussion

Re: Trap

 
Veron_Le
Frequent Advisor

Trap

Hi,

Should anybody help me to write a script to inform users need to log out first. the aim is that to avoid terminating unexpectally.

Ex. this user just go to SAM and terminate without logout. a trap file will ask that customer to logout first....

Pls help, it's urgent. If you have any querry pls advise.
Veron
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Trap

Are you asking about an idle timeout?

You can set the shell variable TMOUT to the time in seconds. And autologout for the scummy C shell.