Operating System - HP-UX
1830877 Members
1742 Online
110017 Solutions
New Discussion

Re: how to terminate idle userlogin sessions in hp-ux?

 
sokolova
Advisor

how to terminate idle userlogin sessions in hp-ux?

how to terminate idle user login sessions in hp-ux?
3 REPLIES 3
Kapil Jha
Honored Contributor

Re: how to terminate idle userlogin sessions in hp-ux?

do a who -u
see process id and kill it.
provided u know who is the user.
more information and best why
man who ;)
BR,
Kapil
I am in this small bowl, I wane see the real world......
sokolova
Advisor

Re: how to terminate idle userlogin sessions in hp-ux?

Thanx kapil.. itis working..

Re: how to terminate idle userlogin sessions in hp-ux?

Another common one, to at least logout those sitting idle at the shell prompt is to add:

typeset -r TMOUT=300

to /etc/profile

This will cause idle shell prompts to logout after 5 minutes.

Of course if they're not sat at the shell prompt that won't work - it's then an application question.

HTH

Duncan

I am an HPE Employee
Accept or Kudo