HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

can not log into an user account directly, but can su to it from an ordinary account

 
Hanry Zhou
Super Advisor

can not log into an user account directly, but can su to it from an ordinary account

It is weird.. please help.

hpux11iv2.
none
7 REPLIES
Hanry Zhou
Super Advisor

Re: can not log into an user account directly, but can su to it from an ordinary account

the following is the errror in syslog.log, but nothing being changed:

194571 Jun 16 14:00:50 servername sshd[8407]: Failed none for invalid user username
from ip(a.b.c.d) port 2069 ssh2
194572 Jun 16 14:00:55 servername sshd[8407]: error: PAM: Authentication failed for
illegal user username from ip
194573 Jun 16 14:00:55 servername sshd[8407]: Failed keyboard-interactive/pam for i
nvalid user username from ip port 2069 ssh2
~
none
James R. Ferguson
Acclaimed Contributor

Re: can not log into an user account directly, but can su to it from an ordinary account

Hi:

You might examine the account's '.profile'.

Regards!

...JRF...
Hanry Zhou
Super Advisor

Re: can not log into an user account directly, but can su to it from an ordinary account

I don't see anything particularly wrong in .profile, and it has not been changed since 2007, and again I can su to this account from another ordinary account.
none
Tingli
Esteemed Contributor

Re: can not log into an user account directly, but can su to it from an ordinary account

It seems that there is PAM Authentication in the login message. Maybe ldap is involved here.
Hanry Zhou
Super Advisor

Re: can not log into an user account directly, but can su to it from an ordinary account

I know, that is what the error message has pointed to, but what is the wrong with PAM configuration, we have not made any changes....
none
Hanry Zhou
Super Advisor

Re: can not log into an user account directly, but can su to it from an ordinary account

I can log into it from console, but not by using putty/ssh...
none
Hanry Zhou
Super Advisor

Re: can not log into an user account directly, but can su to it from an ordinary account

resolved. it is turned out to be ssh issue, settings in sshd_config
the group is missing from that file, but don't know why failed all the suddent
none