Operating System - HP-UX
1753709 Members
4767 Online
108799 Solutions
New Discussion юеВ

Re: 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 7
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