1825561 Members
3199 Online
109681 Solutions
New Discussion

Login simultaneously

 
O'lnes
Regular Advisor

Login simultaneously

Our system only allow user to login one session, ( don't accept one uid login simultaneously ) , so if the user's login session was dead then this user can't login again until it is timeout, can someone suggest how to let the user to login when the previously login was dead? Thanks.
Andy
9 REPLIES 9
Animesh Chakraborty
Honored Contributor

Re: Login simultaneously

Hi,
At which condition you call a user as dead ?
If is is idle time then a scripts can be writen to run in cron to kill that user after certain hours.
Did you take a backup?
T G Manikandan
Honored Contributor

Re: Login simultaneously

In AIX I have come across limiting the login session in the /etc/security/login.cfg or something,
in which number of logins is limited.

I am sure whether HP has a kind of feature,but I could not see anything with the non-trusted system.

Probably you can check your /etc/profile where there is something which restricts the user to a single login.

Thanks
O'lnes
Regular Advisor

Re: Login simultaneously

Hi animesh chakraborty,

1.I carify the dead process is when the tty is ??? ? ???
2.Can't use script cos it is not secure , it might kill some sleep jobs, and the user need to wait for long time.

Hi T G Manikandan ,

I have control the user to login not more than one session, but now I want to let them login again when the previously one is dead.
Andy
Darren Prior
Honored Contributor

Re: Login simultaneously

Hi,

You don't say which version of HP-UX you're using, but here's a couple of possibilities:

* check if anyone has scripted something into /etc/profile that checks for duplicate UIDs

* If you're running 11 or 11i then check the /etc/default/security file for a line containing NUMBER_OF_LOGINS_ALLOWED. This functionality is only documented at 11i in security(4), but is available at 11 if you have the login patch PHCO_16309 (or a later version.)

Please also see knowledge database document KBRC00008090 for further info.

regards,

Darren.
Calm down. It's only ones and zeros...
O'lnes
Regular Advisor

Re: Login simultaneously

hi Darren Prior,

I can't find the file /etc/default/security in HPUX 11 system.

Andy
Joaquin Gil de Vergara
Respected Contributor

Re: Login simultaneously

/etc/security is only in 11i

if you have 11.0 you can't use it
Teach is the best way to learn
O'lnes
Regular Advisor

Re: Login simultaneously

Actually , i want to make it in HPUX 10. Thank
Andy
Joaquin Gil de Vergara
Respected Contributor

Re: Login simultaneously

O'lnes
Regular Advisor

Re: Login simultaneously

hi Joaquin Gil de Vergara Q ,

I think the link is not related to my question.
I just want to let the user kill the previous dead process. Thanks.
Andy