- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 10.20 -> 11.00, can't login on console o...
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 04:04 AM
09-12-2003 04:04 AM
HP-UX 10.20 -> 11.00, can't login on console or remote as any user
After an all-nighter updating 10.20 to 11.00, I am left completely baffled by my current situation.
The server boots up, goes thru what seems to be a normal startup. However, no matter what username I enter at the Console Login: prompt, it immediately says, "Login incorrect". Can't login as root or any other user, period.
I can boot into single user mode.
This is bizarre. Anyone have any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 04:11 AM
09-12-2003 04:11 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 04:15 AM
09-12-2003 04:15 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
Sounds indeed as though the passwd is shot.
SIngle user
Check it. /usr/sbin/pwck is needed so first mount -a
If bad
cp /etc/passwd /tmp/
cp /usr/newconfig/etc/passwd /etc/passwd
Then start up normally and recover the passwd file.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 04:16 AM
09-12-2003 04:16 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
Check you have telnetd in place with appropriate permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:39 AM
09-12-2003 05:39 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
/etc is at least world readable.
/usr/sbin/pwck reports that user nobody's group is invalid. (reported group is -2).
telnetd seems okay, this affects the console as well as telnet logins.
just a thought, but couldn't i mess with /etc/inittab to start a root shell on the console when runlevel 3 comes up? i tried to goof around with this a bit, but i kept getting process respawning to fast gah-gah.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:44 AM
09-12-2003 05:44 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
Also check telnetd entry in /etc/inetd.conf. It should look as follows.
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:46 AM
09-12-2003 05:46 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
after i enter a username at the login prompt, it never asks for a password. it just repeats asking for the login, except for the first time, it says "Login incorrect".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:49 AM
09-12-2003 05:49 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
i'll try changing an ordinary user's password.
will check telnetd entry /etc/inetd.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:51 AM
09-12-2003 05:51 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
You need to run grpck.
You can do this in single user mode as follows:
mount /usr
. .profile
grpck
It appears you don't have a valid group file. So, restore it, even if its an old backup and see what happens.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:53 AM
09-12-2003 05:53 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
If logins are good from *every* other source than the console, then you have to suspect the console itself.
If this is an HP serial console like a 700/96, then you can reset it back to factory defaults by powering it down & then holding the D key down at power up. Hold it for a few seconds & then release. This may clear up the condition.
If not, try another terminal.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:58 AM
09-12-2003 05:58 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
Check groups associated.
Also grpck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 06:07 AM
09-12-2003 06:07 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
It's going to turn out to be the console setup. It could be the hardware, say, if it was thrown against the wall during the all nighter. Oterwise, it's somewhat unlikely that it would choose this moment to die.
Look at the set up comms parameters. Speed, parity, data and stop bits. Some of this can be matched with the entries in /etc/inittab for the console. The last enty on the line in that file points to a label in the /etc/gettydefs file, which can give you some speed and command info.
If you post what kind of terminal it is, we should be able to find the comms setup, and the command to enter setup on the terminal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 06:23 AM
09-12-2003 06:23 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
You said you couldn't login on either console or remote as any user?.
If so, what method are you using to login as root and verify the password entries?.
Check /var/adm/syslog/syslog.log for errors. You should get a clue from there.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 06:23 AM
09-12-2003 06:23 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 06:45 AM
09-12-2003 06:45 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 07:05 AM
09-12-2003 07:05 AM
Re: HP-UX 10.20 -> 11.00, can't login on console or remote as any user
What are the results of grpck and id root and id user_names command?