Operating System - HP-UX
1832973 Members
2597 Online
110048 Solutions
New Discussion

Auto logout in HP-UX 10/11

 
Schelstraete Bart_1
Frequent Advisor

Auto logout in HP-UX 10/11

Is there any auto-logout tool available for HP-UX like the idled on Linux?


(not the shell TIMEOUT)
4 REPLIES 4
Ceesjan van Hattum
Esteemed Contributor

Re: Auto logout in HP-UX 10/11

You can set a environment variable in your .cshrc (in case you use this shell) like:
setenv autologout 0
or
set autologout=0
it just depends on what shell you are using.

See also
http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0x1d7984534efbd5118ff40090279cd0f9,00.html

Regards,
Ceesjan
Justo Exposito
Esteemed Contributor

Re: Auto logout in HP-UX 10/11

Hi,

Another option is develop a shell script that check the who -u command in order to kill user proccess that you want.

Regards,

Justo.
Help is a Beatiful word
Schelstraete Bart_1
Frequent Advisor

Re: Auto logout in HP-UX 10/11

(not the shell TIMEOUT)
= not the shell autologout.

Bart
Sandip Ghosh
Honored Contributor

Re: Auto logout in HP-UX 10/11

How you want to implement?

Like , if you want that some person should run some application and as soon as he/she comes out of the application he/she should be logged out. If this is your intention then give the specific program name in the /etc/passwd filein place of /usr/bin/ksh.

Or if that is not the case , then give us some more details.

Sandip
Good Luck!!!