Re: Login Problem (203 Views)
Reply
Advisor
Suni Raj
Posts: 35
Registered: ‎04-28-2002
Message 1 of 7 (203 Views)

Login Problem

Hi,

My server is a hp-ux 11.0 box in trusted mode. It is not allowing to login any users except root. When any user try to login it says login incorrect. The problem is for all user except root. There is no error in pwck and grpck. Can anybody give me some input to solve this problem.

Regds
Suni

Suni
Respected Contributor
Orhan Biyiklioglu
Posts: 153
Registered: ‎09-12-2005
Message 2 of 7 (203 Views)

Re: Login Problem

is there a file named /etc/nologin ?
Honored Contributor
Stephen Keane
Posts: 1,155
Registered: ‎11-24-2004
Message 3 of 7 (203 Views)

Re: Login Problem

Is the date set correctly on the box?
Esteemed Contributor
Mark Nieuwboer
Posts: 409
Registered: ‎08-06-2001
Message 4 of 7 (203 Views)

Re: Login Problem

suni,
Can you give some more information.
How do you log on ssh or telnet.
on which runlevel ar you. command is who -r

what does syslog say.

grtz. Mark
Respected Contributor
Orhan Biyiklioglu
Posts: 153
Registered: ‎09-12-2005
Message 5 of 7 (203 Views)

Re: Login Problem

if the
NOLOGIN=1 line is enabled in /etc/default/security file and if there exists the file /etc/nologin the the system will not allow nonroot users to login
Esteemed Contributor
Bob_Vance
Posts: 602
Registered: ‎06-13-2000
Message 6 of 7 (203 Views)

Re: Login Problem

NOTE: if the NOLOGIN is in effect, you'll get this message:

"Only superusers are allowed to login at this time due to the presence
of the file /etc/nologin and NOLOGIN option set in /etc/default/security
"

Have you actually *looked* at /etc/passwd?
Are the user entries still there?
Have you looked at a tcb entry for a user?
E.g.,
# cat /tcb/files/auth/b/bobv

Execute:
# pwck -s -l


What happens if you set the password for one of these user accounts as root via
# passwd user
?
Can the user then log in ?

Also, show "etc/pam.conf" and "/etc/pam_user.conf"


bv
"The lyf so short, the craft so long to lerne." - Chaucer
Trusted Contributor
njia_1
Posts: 210
Registered: ‎08-02-2004
Message 7 of 7 (203 Views)

Re: Login Problem

Hi

What shell is the default for all the users ? Checked /etc/shells ?

I had a problem similar but the other way around only root cannot setup ftp connection because root uses's shell is not in /etc/shells

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.