Operating System - HP-UX
1846875 Members
3969 Online
110256 Solutions
New Discussion

Re: root connection failure

 
sidi_2
Occasional Advisor

root connection failure

We have a problem of connection of root on HP-UX 11i. Indeed when I
try to connect under root, the password is written into clear and
connection fails systematically.

Can someone help ?
tanks
20 REPLIES 20
Robert-Jan Goossens
Honored Contributor

Re: root connection failure

Hi,

Can you login as a normal user and su - to root ? Any error messages ?

Robert-Jan
sidi_2
Occasional Advisor

Re: root connection failure

Hi, thank you for your response.

I Cannot login as a normal user.


Bharat Katkar
Honored Contributor

Re: root connection failure

Can you try logging thr console as root?
You need to know a lot to actually know how little you know
Robert-Jan Goossens
Honored Contributor

Re: root connection failure

Hope your console is close to you :-)

If you can not login into the console a reset is the only option left.

Robert-Jan
sidi_2
Occasional Advisor

Re: root connection failure

I can connect with telnet or through an emulator but I am
not able to connect by the console of a terminal
connected directly to the server

thanks
Robert-Jan Goossens
Honored Contributor

Re: root connection failure

any error messages in the syslog ?
sidi_2
Occasional Advisor

Re: root connection failure

no error message in syslog.
Ravi_60
Occasional Contributor

Re: root connection failure

Hi Sidi,

Does your system recently rebooted.
If it is.......

Okay , Try to login as single user mode.

If you are not able to login , there is some problem in root filesystems. You may need to execute fsck on these filesystems in single user mode.

RG.
Bharat Katkar
Honored Contributor

Re: root connection failure

SIDI,
You have to correct problem with the Console of the server because it seems that it is the only way you can get into the server.
Just check out for COnsole connections, power cycle the console terminal and try to see the Login promt!!!


You need to know a lot to actually know how little you know
Thayanidhi
Honored Contributor

Re: root connection failure

Hi,

If you are using HP terminal as console,
make sure remote mode is set (*).

If remote mode is disabled, it will simply
echo what you type on the keyboard.

TT
Attitude (not aptitude) determines altitude.
Bharat Katkar
Honored Contributor

Re: root connection failure

Yes Thaya has pointed out nice issue. It could be the one. Use F4 function key to toggle between remote and local.
Remember You Should See * on the REMOTE tab.
You need to know a lot to actually know how little you know
sidi_2
Occasional Advisor

Re: root connection failure

With REMOTE mode activated (*) we have the error message : login incorrect
Bharat Katkar
Honored Contributor

Re: root connection failure

Did you see the login prompt?
And what exactly happened .. could explain it in details !!!
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: root connection failure

In case you see login prompt and you are trying to login as root, still not able to login then:
Either you have forgotten the passwd or somebody by mistake changed it.

In that case, you need to plan for downtime, reboot the server.
Halt it at pdc prompt.
Main Menu>bo
Interact with IPL --> y
ISL>hpux -is

this will take you to single user mode without prompting for password.
after you see # prompt simply change the password.

# passwd
New Password:
#shutdown -r -y 0

Allow it to boot to normal multiuser level and see if it works. It should!!!

You need to know a lot to actually know how little you know
sidi_2
Occasional Advisor

Re: root connection failure


Here what arrives exactly in console:



Login : root
Passwd : abcd2000 (password is not crypted what is already abnormal)

Login incorrct.




Login : root
Passwd : abcd2000

Login incorrct.
â
Bharat Katkar
Honored Contributor

Re: root connection failure

Sidi,
Only option is to boot it into single user mode when possible and as explained above.

You should take 15/20 min off for this activity.
All the best

You need to know a lot to actually know how little you know
Thayanidhi
Honored Contributor

Re: root connection failure

If you can connect via telnet, login as root
find processes running on console
(ps -tconsole) and kill them.
Possibly other than getty some thing else
also be running.
After killing all the processes, check getty
is running again. Then try from console.
If this doesn't solve your problem some thing
wrong with the terminal itself. Reset to
factory defaults and comminication settings
to match the current getty values.

If you can connect through telnet with same
password, I don't think rebooting in single
user mode and resetting password will help!!

Or simply try a reboot without resetting
password.

TT
Attitude (not aptitude) determines altitude.
melvyn burnard
Honored Contributor

Re: root connection failure

What type/model is the console? Is it a 700/92 or 700/96 style console?
If so, power it off, depress the D key, and while continuing to keep the D key depressed power the terminal back on. After a few seconds it should beep, release the D key, an dthe terminal should display a meesage about using defaults.
See if you can now get a logion to work.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sanjay_6
Honored Contributor

Re: root connection failure

Hi,

Reset the console to its defaults.

Or go into the configuration and echo is set to on. Reset it to off. Save configuration and try again.

Best solution is to reset the terminal to its configuration defaults.

Regds
generic_1
Respected Contributor

Re: root connection failure

If you have Tivoli, Autosys, or Powerbroker, or if someone has an open admin session to the box, running on the system(can't hurt to check). You might be able to reset the passwrod remotely without rebooting, but if you can get a downtime. That might be easiest.