1834673 Members
2433 Online
110069 Solutions
New Discussion

CDE autologout

 
Trimarchi Rosario
Occasional Contributor

CDE autologout

Is it possible to autologout an user after 30 min.? This user is connected in CDE environment. I don't want set up a TMOUT variable but I want to kill the dtsession.
Thanks for your help. Bye Bye
3 REPLIES 3
Mark Grant
Honored Contributor

Re: CDE autologout

how about killing their dtlogin after 30 minutes?

Can't remember much about CDE apart from how nasty is was but whatever is the equivalent of .xsession could be

(sleep 1800; kill $$)&

A dreadful hack :)
Never preceed any demonstration with anything more predictive than "watch this"
Pete Randall
Outstanding Contributor

Re: CDE autologout

I'm unaware of any system setting to accomplish this. You might be able to set up some sort of cron job to monitor how long users have been logged on, storing the info in a file and comparing the current data against the file's data from half an hour ago. Then you could issue a kill command against the user's /usr/dt/bin/dtsession process.


Pete


Pete
Trimarchi Rosario
Occasional Contributor

Re: CDE autologout

I saw that the ToolTalk message "Session_Close" to the dtsession process kill the CDE but I didn't find this document:

DocID=KBRC00000287
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058693901

Is it possibile for you to find this document?