Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

How to logout a user after a certain amount of inactivity time

Lucent
Occasional Advisor

How to logout a user after a certain amount of inactivity time

I am trying to find a way to automatically logout a user from a CDE session after a certain amount of inactivity time.
I tried to set TMOUT to 200 but after 2mn 20s only the xterms are closed but the session CDE is still opened.
Thanks 4 ur help
4 REPLIES
Ivan Ferreira
Honored Contributor

Re: How to logout a user after a certain amount of inactivity time

I created once a script that uses the "w" command to identify the IDLE time for a session, and kill based on a configurable time. You need a script like that and run it by cron. You must kill the dtsession process started by the IDLE user.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Lucent
Occasional Advisor

Re: How to logout a user after a certain amount of inactivity time

I ask if there is a parameter in CDE like TMOUT to set it
Balasubramanian S
Frequent Advisor

Re: How to logout a user after a certain amount of inactivity time

Hello,
you can lock the cde session after some interval using the dtstyle; in dtstyle select "Screen" and set the time interval to lock the session.

I will update you if I find anything for logout the cde session.

I don't think the TMOUT will work for CDE session.
Lucent
Occasional Advisor

Re: How to logout a user after a certain amount of inactivity time

thanks for your help.

I did that but the problem not resolved. For imformation I want to lock a session opening form PC by using Exceed.
the solution proposed by Balasubramanian works for a worksation.