Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

Login Problem

Highlighted
Suni Raj
Advisor

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
6 REPLIES
Orhan Biyiklioglu
Respected Contributor

Re: Login Problem

is there a file named /etc/nologin ?
Stephen Keane
Honored Contributor

Re: Login Problem

Is the date set correctly on the box?
Mark Nieuwboer
Esteemed Contributor

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
Orhan Biyiklioglu
Respected Contributor

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
Bob_Vance
Esteemed Contributor

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
njia_1
Trusted Contributor

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