1834813 Members
2736 Online
110070 Solutions
New Discussion

Unable to login

 
Jamie B.
Occasional Contributor

Unable to login

I find myself unable to login to my HP-UX box at the console.

login: root
Login incorrect

It does not prompt for a password. I can access it in single user mode but I don't know what to look for. (If I wrote down everything I knew about unix I could probably fit it on a post-it note.)

This started right after I joined a domain using Likewise 5.4.

This is just a test server we have setup to test product compatibility with unix shares so I'm not opposed to reinstalling but I'm still curious what went wrong or how to attempt to address it.
10 REPLIES 10
Vijaykumar_1
Valued Contributor

Re: Unable to login

(I can access it in single user mode but I don't know what to look for.)

---Probably verify the /etc/passwd file by accessing Single-user mode
Suraj K Sankari
Honored Contributor

Re: Unable to login

Hi,
Go to single user mode, check all the file system may be some are 100% if all ok then as said above check the /etc/passwd file may be it corrupt.

Suraj
Jamie B.
Occasional Contributor

Re: Unable to login

/etc/passwd is present. Owner is root, permissions were -r--r--r--

I can change the password on root but it doesn't impact my ability to login (still no prompt for password).
S. Ney
Trusted Contributor

Re: Unable to login

Does your display look like:
Console Login:
- - - - - - - - - - - - Live Console - - - - -

without a prompt enter root
you should then get a prompt for password:

Console Login:
- - - - - - - - - - - - Live Console - - - - -
root
Password:
Steven E. Protter
Exalted Contributor

Re: Unable to login

Shalom,

reinstalling the OS should not be necessary in this case.

In single user mode:

mount /usr
mount /var

# This should enable you to edit files.

bdf

See if a file system is full from the Likewise 5.4 installation.

cd /
du -k | sort -rn | more

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Unable to login

> [...] my HP-UX box [...]

Not a very detailed description.

> [...] the console [...]

Not a very detailed description.

> This started right after I joined a domain
> using Likewise 5.4.

I'd say that step one would be to try to
figure out how to undo that. Never having
heard of "Likewise Open" until now, I know
nothing, but I'd say that if we're talking
about this:

http://www.likewise.com/products/likewise_open/

then I'd be asking the vendor to help.

Otherwise, booting into single-user mode and
trying to undo the "Likewise Open"
installation would be my likely path. (Or
re-installing HP-UX, which can clean up after
almost any software disaster.)


> login: root
> Login incorrect

Does this "a domain" know who "root" is?
Torsten.
Acclaimed Contributor

Re: Unable to login

What terminal emulator you are using?

I have seen problems with hyperterminal in the past, a wrong configuration send twice while you press the key once.

Try putty.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Elmar P. Kolkman
Honored Contributor

Re: Unable to login

Also check out /etc/securetty.
Perhaps root is not allowed to login at the 'console' you are using ?

Can you login as a 'normal' user on the console? Then after logging in, check out the tty (command: tty) and make sure that one is in the /etc/securetty.
Every problem has at least one solution. Only some solutions are harder to find.
Ishwar_1
Frequent Advisor

Re: Unable to login


Possiblity is their that your password file as gone corrupt. You can check the Password file by using command /usr/sbin/pwck

Or

Move the Current passwd file to tmp and copy new passwd file located at /usr/newconfig/etc/passwd from your system.

Hope this information Helps you

Regards
Ishwar
madhuchakkaravarthy
Trusted Contributor

Re: Unable to login

hi

if you put "root" in the /etc/securetty file then nobody could enter as root directly, not even from console. everytime he has to go as su -.

Instead if you put "console" then anybody can login as root from the console.

try to login with other user and check

regards

MC