1846551 Members
1716 Online
110256 Solutions
New Discussion

root login problem....

 
SOLVED
Go to solution
aique
Frequent Advisor

root login problem....

Hi,
I just have installed HPUX 11.23 with "ALL" packages selected on a rp4440 box. After installation, i am not able to login using any account into the machine via its LAN. Whenever i TELNET its LAN IP, it first displays some text regarding Security and Privacy then asks for login name and password. But when i give it root as username and then password, it again come to login: prompt. I only can login into the machine through Console (MP). I think some extra package is installed which was not needed. Can anybody help please?
Please find attached a file containing that text and error message.

Thanks and regards,
Abdul Qayyum
6 REPLIES 6
IT_2007
Honored Contributor

Re: root login problem....

It looks like your root login is disabled since too many authentication failures. Login from MP and run /usr/lbin/getprpw root to see if it disabled.

Enable root login using sam or
command:

/usr/lbin/modprpw -l -x root

Are you using ssh and might have been configured for not to allow remote authentication.

check /etc/sshd/sshd_config for

#RemoteAuthentication root


Robert-Jan Goossens_1
Honored Contributor
Solution

Re: root login problem....

Hi Abdul,

How did you install this server (Ignite/dvd)?

-1-
Root account is disabled if you are running in trusted mode.

Use
# /usr/lbin/modprpw -k root
To enable root.

-2-
Check if there is a file called /etc/securetty. If you add "console" to that file, you can only loggin from the console.

Robert-Jan
dattu_1
Regular Advisor

Re: root login problem....

Hi IT_2007,
The options u have mentioned are not applicable for root........
modprpw -l -x root


man modprpw shows:->

-x Delete the user's password and return a random password that the
user must later supply to the login process to login and pick a
new password. Not valid for root. Also resets locks.

I think modprpw -kl root should be it.......
Regards,
Dattu
Eric Hess
Advisor

Re: root login problem....

IF you are using PAM and are pointed to a network server that is not ready you will have this problem. Log into single user mode and check if there is a /etc/pam.conf and remark the login lines under the Authentication management section. The system is timling out before the pointed server responds. Make sure your name servers listed in /etc/resolv.conf are valid also.
I didn't do it. He did!
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: root login problem....

Hello Abdul,

hmmmm, My guess is that you have the Bastille enabled on the system if you have installed most of the packages.
Can you send the text that you mention regarding 'Secuity and Privacy', that you see on your screen?

Thanks,
Sanjay
Dying is the last thing that I will do.
aique
Frequent Advisor

Re: root login problem....

Hi all,
Problem is resolved. There was /etc/securetty file created by some package installed on the machine. I have removed the file. I now, can login through LAN either.
Sanjay you can find that text attached with my first posting.
This thread is being closed now.
Thanks to all once again.

Abdul Qayyum