Operating System - HP-UX
1837191 Members
2549 Online
110114 Solutions
New Discussion

Re: console login not possible

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

console login not possible

trying to login from console the system displays
Login incorrect
directly after entering username (root and other users) without asking for a password

login: root
Login incorrect

Wait for login retry: ..
login: bongartz
Login incorrect


telnet or ssh login without any problems


Any hints ??

Regards Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
6 REPLIES 6
erics_1
Honored Contributor

Re: console login not possible

Rainer,

Try killing the console PID and attempt login again?

Regards,
Eric
Rainer von Bongartz
Honored Contributor

Re: console login not possible

sorry no success:

GenericSysName [HP Release B.11.23] (see /etc/issue)
Console Login: root
Login incorrect

Wait for login retry: ..

Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Simon Hargrave
Honored Contributor
Solution

Re: console login not possible

First guesses would be either a getty problem or a pam problem.

do ps -ef and make sure the getty for console is running.

have a look at /etc/inittab to make sure the getty is as it should be.
have a look at /etc/pam.conf see if anything is untoward.

you may wish to attach those files for others to look at.
john korterman
Honored Contributor

Re: console login not possible

Hi,
maybe doc id.: HPUXKBRC00008890 in the Tech Base
could serve as an inspiration?
A European link:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248371

regards,
John K.
it would be nice if you always got a second chance
Rick Garland
Honored Contributor

Re: console login not possible

Is this a trusted system? Can other users login on console? Is the account disabled? Does the /etc/securetty file have anything else but CONSOLE in it? (No spaces, special characters, hidden characters ; do cat -v to see nonprinting characters).

What if you telnet/ssh to root and changed the passwd?
Rainer von Bongartz
Honored Contributor

Re: console login not possible

Simon

pam.conf was the correct hint.
It was somewhat misconfigured for Kerberos and did not allow the console login.

I'll investigate the misconfiguration further.

Thanks for your help
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...