- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password change from root not working correctly
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
06-08-2004 05:33 AM
06-08-2004 05:33 AM
I went into the sysadmin account, opened xterm as sysadmin, used su root to switch to root. Then I used the passwd command to change the passwords on all the accounts. No error messages, no problems.
Until I logged out and tried to log back in. It told me my login was incorrect. Tried the old password. Same thing. Same on all the accounts.
Before you start offering help, I should warn you that I am certainly not the typical admin of a Unix network, in the fact that I know almost nothing about the software side of these systems. I'm a hardware tech forced into the position, so be gentle.
Help is greatly appreciated (anything that gets the Cap'n off my back is good).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2004 05:45 AM
06-08-2004 05:45 AM
SolutionFirst ensure these systems are not trusted (if they are HP systems).
#/usr/lbin/getprpw root
If it gives any output other than 'this system is not trusted' then the system is trusted. If the system is trusted, make sure these logins are not disabled.
#/usr/lbin/modprpw -k
and then login with
Ensure you used the following command as root whether the system is trusted or not, to change the password.
#/usr/sbin/passwd
If that gives you any trouble, use
#/sbin/passwd
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2004 05:50 AM
06-08-2004 05:50 AM
Re: Password change from root not working correctly
Then immediately set the password.
If its HP-UX and trusted its a different file.
cd /tcb/files/auth
there are letter directories for the entire alphabet. root would be a file in the r directory.
You can almost always get root access at the console as follows:
boot
interupt at the 10 second prompt
hpux -is
Usually this is not password protected. You can now do virtually anything you need to clear passwords so that you can eventually set them in normal mode.
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
06-08-2004 06:05 AM
06-08-2004 06:05 AM
Re: Password change from root not working correctly
You might also have to bounce getty and/or inetd.
to bounce inetd use:
inetd -c
to bounce getty
ps -ef | grep getty
kill PIDofGETTY
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2004 07:24 AM
06-08-2004 07:24 AM
Re: Password change from root not working correctly
What i understand is you changed the root passord and now you are not able to login as root. Finally root password is lost.
In this case you need to reboot the system (if you have any other user priveledged to shutdown the system) or simply power it off.
Power on the system and go to PDC prompt (i assume this is a HPUX System). Halt at boot process. You see the prompt as:
Main Menu> bo
Interact with IPL> yes
ISL> hpux -is
This will take you into single user mode without asking for any password.
After getting the hash prompt simply type passwd.
# passwd
New Password:
Confirm Password:
#
Remeber the password you typed and then
# reboot
This will bring the system in multiuser mode. Now try logging in as root.
I assume your system is not trusted.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 03:13 AM
06-09-2004 03:13 AM
Re: Password change from root not working correctly
Also, the system is trusted, another thing I'm not authorized to change.
I haven't gotten a chance to implement any of the suggestions you fine folks have suggested, but I did work with it some more yesterday evening. Interesting results:
- Changed passwords to less than 8 characters. All accounts can now be logged into from both prompt and GUI login screen.
- For some reason, the system WILL NOT acknowledge a password longer than 8 characters at the login screen (though I can log into them through
If anyone has any ideas why this is working this way, I'd love to hear them. Oh, did I mention that "the world's finest Navy" is using HP-UX 5.1? Probably help to know that.
Also, still having problems with the "secman" account on my second machine. Despite the fact that the password has been fixed, I still can't login to it from the login screen, and attempts to switch users to it give the message "This account has been disabled." I tried using the "modprpw -k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 04:07 AM
06-09-2004 04:07 AM
Re: Password change from root not working correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 06:55 AM
06-09-2004 06:55 AM
Re: Password change from root not working correctly
The reason >8 char passwords dont work is b/c you have a trusted system.
passwds are mandatory <=8 chars...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 06:57 AM
06-09-2004 06:57 AM
Re: Password change from root not working correctly
man security
you will have to create this file and mod the changes there to allow >8 char passwords.
CAVEAT: I have never used this on trusted so buyer beware.