Operating System - HP-UX
1826219 Members
3035 Online
109691 Solutions
New Discussion

Re: /etc/default/security

 
SOLVED
Go to solution
j773303
Super Advisor

/etc/default/security

Could anyone help me, I set the
NUMBER_OF_LOGINS_ALLOWED=1 in /etc/default/security to force one times for logins, Please view the below message, user H0826 login failed.

HP-UX master B.11.11 U 9000/800 (tg)

login: H0826
Password:
Exceeds number of logins allowed (1) for user H0826
Connection closed by foreign host.

But currently no H0826 logon on the system, I've check the "who -u" and /etc/utmp file, there're no H0826 user logon, why H0826 can not login now. Any troubleshooting suggestion. Thanks in advanced.
Hero
3 REPLIES 3
Ermin Borovac
Honored Contributor
Solution

Re: /etc/default/security

Do you have PHCO_27694 installed?

PHCO_27694 s700_800 11.11 login(1) cumulative patch

( SR:8606273425 CR:JAGae37513 )
When the number of logins to the system allowed for each
user is limited by the NUMBER_OF_LOGINS_ALLOWED field in the
/etc/default/security file, users whose login names are
longer than 4 characters are treated as the same user if the
first 4 characters of the login names are identical. As a
result, some users may be disallowed to login with the error
message "Exceeds number of logins (N) allowed for user USER"
even though the user "USER" does not have as many login
sessions as "N" specified by NUMBER_OF_LOGINS_ALLOWED.

Keith Bevan_1
Trusted Contributor

Re: /etc/default/security

You may want to check that there is no process associated with login 'H0826' :-

ps -ef | grep 'H0826'

Some daemons can be started by non-root users and would not show as who -u

Keith
You are either part of the solution or part of the problem
Bill Hassell
Honored Contributor

Re: /etc/default/security

When looking for a specific user ID, it is much more accurate to let ps do the searching, not grep:

ps -f -u H0826


Bill Hassell, sysadmin