- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- system login problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
11-19-2001 07:44 AM
11-19-2001 07:44 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:46 AM
11-19-2001 07:46 AM
Re: system login problem
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:48 AM
11-19-2001 07:48 AM
Re: system login problem
check the permissions on the /etc/password
-r--r--r-- 1 root sys 1203 May 29 11:30 passwd
Check if password file is being over written by any old password file.
Also check if password aging has been impimented as a security measure.
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:48 AM
11-19-2001 07:48 AM
Re: system login problem
Let us know,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:49 AM
11-19-2001 07:49 AM
Re: system login problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:50 AM
11-19-2001 07:50 AM
Re: system login problem
Also check On console remote mode is marked with *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:50 AM
11-19-2001 07:50 AM
Re: system login problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:55 AM
11-19-2001 07:55 AM
Re: system login problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:56 AM
11-19-2001 07:56 AM
Re: system login problem
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 07:59 AM
11-19-2001 07:59 AM
Re: system login problem
Is there any way you could do a remsh to the box without any password ?? ( .rhosts, hosts.equiv file)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:01 AM
11-19-2001 08:01 AM
Re: system login problem
1. Power On the System
2. Interrupt boot(Press a Key in 10 sec)
3. Yes for interacting ISL
4. hpux -is
You can then change the password if you want, check the /etc/passwd file, make sure that the /etc/securetty file does not exist or if it does it at least has the console entry in it.
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:10 AM
11-19-2001 08:10 AM
Re: system login problem
Nice conundrum ;-) Can you FTP to the system??
<>
The system is alive !
<>
uh oh. Did somebody whack the password file and log off?? or is your KEYBOARD having a problem?? is the NUMLOCK on?? did you try with a different keyboard? or a different system?
or from a different PC using telnet session?
Also, do you have a backdoor entry into the box, i.e RLOGIN?? Helps in this sort of times.
<< I am positive that I am typing them correctly. I have tried other users on the consel as well. >>
Go slow on this. You wouldn't want to lock all the user accounts by giving wrong passwords.
If this problem persists, power off the system and boot from single user mode
and check the /etc/passwd file. If it seems whacked , copy the original default passwd file from /usr/newconfig/etc/passwd and bring the system up. Then, you would need to get your original passwd file from some backup.
-R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:11 AM
11-19-2001 08:11 AM
Re: system login problem
Login:
Password:
Login incorrect
(which would tend to indicate a corrupt passwd file or corrupt tcb)
Does it affect all users (including root)
Do you get any other message, or any messages on the console?
Can you get telnet/rlogin/ssh/remsh/rexec etc to let you in?
If not you can reboot to single user mode (use CTRL-B from the console) to check the password file...
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:23 AM
11-19-2001 08:23 AM
Re: system login problem
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:43 AM
11-19-2001 08:43 AM
Re: system login problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:49 AM
11-19-2001 08:49 AM
Re: system login problem
Are you using HP-UX in trusted mode? If you are, then it is normal for your encrypted passwords to be '*'.
To verify, check your /tcb directory eg. ls -laR /tcb or find /tcb -name * -print.
If your TCB entries are corrupted, I suggest that you try to repair your TCB instead of repairing /etc/passwd.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:50 AM
11-19-2001 08:50 AM
Re: system login problem
Did you try converting the system to a TRUSTED mode?? That's when the password entries become "star"red!!. It copies
the user account info including password
to /tcb/files/auth/*/userid file for each
user. In this userid file, there will be the password in encrypted format. If you edit it and null it out, the password will become blank.
See whether you have /tcb directory. If it is present, then your system has been converted to trusted. But, trusted conversion should not change the passwords. It will only prompt for a new password when one log's in.
How to get off the mess?? Make sure whether
your ssytem is in trusted mode, by the above
method. If it is so, then keep a copy
of /tcb directory; also keep a copy of the
existing passwd file.
Then, try unconverting the trusted to regular mode either through SAM or by running
#tsconvert -r
This should get back the password entries in
the password file.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:51 AM
11-19-2001 08:51 AM
Re: system login problem
The find the line that looks like this
:u_pwd=askjlkjlkjl:
Delete all the characters between = and :
Then you should not get asked for an old password.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 08:51 AM
11-19-2001 08:51 AM
Re: system login problem
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:14 AM
11-19-2001 09:14 AM
Re: system login problem
Was your root password less than 8 characters before you did the conversion? I have a feeling the length of your root password being too short was the cause.
In trusted mode, HP-UX forces your password to be 8 characters or more (as far as I can remember), thus any less-than-8-characters password before the conversion would be rendered invalid.
If this is the case, then it is a matter of unconverting your trusted system to untrusted mode, changing the root password to longer than 8 characters, then re-converting it back to trusted mode, using tsconvert.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:18 AM
11-19-2001 09:18 AM
Re: system login problem
Sorry, the default password length for HP-UX in trusted mode is 6 not 8.
I had the default configured to 8 on my systems.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:42 AM
11-19-2001 09:42 AM
Re: system login problem
When you don't have the root password and need to change it you can edit the /tcb/files/auth/r/root file and set u_pwd to a blank value (sets root to have no password)
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 10:50 AM
11-19-2001 10:50 AM
Re: system login problem
I have verified that I am in trusted mode. I have tried to do the following:
1) edit the file /tcb/files/auth/r/root and delete the password.
results - I could then set a new password for root while in single-user mode. Rebooted and entered normal mode. Still couldn't login as root. I also tried to just blank out the root password as mentioned above and NOT set a new password...same result 'invalid login' messages.
2) attempted to unconvert from trusted mode via 'tsconvert -r' - didn't recognize the command. I don't know how to do this using SAM.
3) I tried re-setting another user's password while in single-user trusted mode.
result - no effect as far as I can tell.
Should I just copy the original passwd file as RajMan suggested in his '16:10 PM GMT' message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:07 AM
11-19-2001 11:07 AM
Solutiondr-xr-x--x 3 root sys 96 Sep 10 14:32 /tcb/
drwxrwx--x 3 root sys 96 Sep 10 14:32 /tcb/files/
drwxrwx--x 55 root sys 1024 Sep 10 14:32 /tcb/files/auth/
drwxrwx--- 2 root sys 96 Oct 15 15:24 /tcb/files/auth/r/
-rw-rw-r-- 1 root root 258 Oct 15 15:24 /tcb/files/auth/r/root
All user files in /tcb/files/auth/?/user_name should have the same permissions and ownership as above.
tsconvert is in /usr/lbin directory.
To unconvert from trusted system: /usr/lbin/tsconvert -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 11:08 AM
11-19-2001 11:08 AM
Re: system login problem
Try /usr/lbin/tsconvert it is a link from /etc/tsconvert
From SAM:
SAM -> Audit and Security -> Actions -> Unconvert System
The problem for you is that in a trusted system there is more than just the password file to replace, so it is more detailed than just copying one file.
Let us know,
C