Operating System - HP-UX
1833606 Members
3145 Online
110061 Solutions
New Discussion

Unable root login from MP

 
SOLVED
Go to solution
Jeeshan
Honored Contributor

Unable root login from MP

Dear All

I have some HP-UX box. In some boxes, i cannot login as root via MP.

It shows incorrect password.

Can anyone tell me, how can i resolve this?
a warrior never quits
14 REPLIES 14
Asif Sharif
Honored Contributor

Re: Unable root login from MP

Salam Ahsan,

For MP login you have to login through Admin/Admin.If you are able to login in MP and want to access unix box CO and getting incorrect password error then see this forum.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1200203249141+28353475&threadId=1191191

Regards,
Asif Sharif
Regards,
Asif Sharif
Norman_21
Honored Contributor

Re: Unable root login from MP

The MP login is not root. the default is "Admin" and I believe the password is the same.

Then when you login you can get to the Console from the MP Menu by going to the comamnd line "CM" and then type "co"

Let us know.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Jeeshan
Honored Contributor

Re: Unable root login from MP

W/salam Asif

Let me clear u one thing.

When i login Admin/Admin in MP after that i press CO. It will directly guide me to UNIX OS login prompt.

My problem is then.

When i enter root and password, it shows unable to login.

But when i login directly to that server it allow me to login.
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: Unable root login from MP

>But when i login directly to that server it allow me to login.

Are you using the console to login?
Jeeshan
Honored Contributor

Re: Unable root login from MP

I'm connecting to MP via telnet remotely
a warrior never quits
Hasan  Atasoy
Honored Contributor

Re: Unable root login from MP

hi ahsan ;

it seems that you are trying to connect by ssh. use telnet port while connecting to mp and use Admin/admin as said before.


Hasan
Jeeshan
Honored Contributor

Re: Unable root login from MP

SSH is not a problem.

I can connect to my other servers from MP.My all servers are ssh enabled.

a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: Unable root login from MP

>I'm connecting to MP via telnet remotely

I was asking where/how you were connecting when it worked.
Jeeshan
Honored Contributor

Re: Unable root login from MP

Hi Dennis

The server which I cannot login root from MP is ssh enabled.

I can connect directly to that server using ssh.

But when i connect MP to that server i login to server using Admin/Admin. then press co to login OS and in root login i enter root and password but it shows like this

login: root
Password:
Login incorrect

Wait for login retry: ..
a warrior never quits
Anshumali
Esteemed Contributor
Solution

Re: Unable root login from MP

i hope you can check these two things...

1. Blind guess.... someone has opened another session from the console from the MP you are trying to login. May be you are entering your password on another system actually.

2. Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters.

Anshu
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Aneesh Mohan
Honored Contributor

Re: Unable root login from MP

Hi Ahsan,

I feel you have /etc/securetty exist without "console"

Check etc/securetty file , if it is exist then you can add line "console" on that

example :

vi /etc/securetty
/dev/pts/1
/dev/pts/2
/dev/pts/3
console (--- add line like this to enable console access)

Thanks ,

Aneesh
Thanks
Hasan  Atasoy
Honored Contributor

Re: Unable root login from MP

hi ahsan ;

connect to mp and reset it by the command sequence

CM->XD restart mp
and try again..


Hasan
Asif Sharif
Honored Contributor

Re: Unable root login from MP

Salam Ahsan,

root access can be denied to any port on the system by using "/etc/securetty" file. If this file is not available (default), anyone who knows the root password can login as root.

# cat /etc/securetty
console
/dev/pts/1
/dev/pts/2
/dev/pts/3

In your case you can just add "console" in /etc/securetty file like shown in above example.

http://docs.hp.com/en/5992-2395/ch02s03.html

Regards,
Asif Sharif
Regards,
Asif Sharif
Jeeshan
Honored Contributor

Re: Unable root login from MP

Hello guys

Thanks for your great reply.

and specially Anshumali
a warrior never quits