- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root account disabled. Can't change password via ...
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
08-17-2005 03:33 AM
08-17-2005 03:33 AM
Console Login: root
Password:
Account is disabled but console login is allowed.
Last successful login for root: Tue Aug 16 13:00:08 CST6CDT 2005 on pts/5
Last unsuccessful login for root: Wed Aug 17 10:23:12 CST6CDT 2005
Your password has expired.
Choose a new password.
Changing password for root
Old password:
Sorry.
Login aborted due to no password.
So when I enter the old password, you see that I get the "Sorry" message. This is a trusted system by the way.
Any suggestions other than booting into single user mode?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:37 AM
08-17-2005 03:37 AM
Re: root account disabled. Can't change password via GSP either
Other than that, boot to single user unfortunately.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:40 AM
08-17-2005 03:40 AM
Re: root account disabled. Can't change password via GSP either
grep root /etc/passwd
is there an * in the passwd field?
If yes, try
passwd -d root
Then try setting the password
passwd
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 03:41 AM
08-17-2005 03:41 AM
Re: root account disabled. Can't change password via GSP either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 04:20 AM
08-17-2005 04:20 AM
Re: root account disabled. Can't change password via GSP either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 05:09 AM
08-17-2005 05:09 AM
Re: root account disabled. Can't change password via GSP either
Uh...why would you want to do that? Very dangerous and could result in an unbootable system....
Isn't your issue "root account locked"?
As far as sam goes, you can setup Resticted SAM for other users...with sam -r
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:37 AM
08-17-2005 06:37 AM
Re: root account disabled. Can't change password via GSP either
It sounds like your root password is expired, but the account is disabled. Perhaps there is a bug which prevents console access in just this kind of situation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 06:56 AM
08-17-2005 06:56 AM
Re: root account disabled. Can't change password via GSP either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:02 AM
08-17-2005 07:02 AM
Re: root account disabled. Can't change password via GSP either
# /usr/lbin/getprpw -r -m lockout username
To decode what is returned, note that the position (left to right) represents:
1 past password lifetime
2 past last login time
3 past absolute account lifetime
4 exceeding unsuccessful login attempts
5 password required and a null password
6 admin lock
7 password is a *
NOTE: If 0000000 is returned proceed to step 2. If not try the steps
below.
If the following is returned
0100000 (means "past last login time")
use the modprpw command to correct this as follows:
# /usr/lbin/modprpw -m llog=0 username
Now, the getprpw command, should get back a response of:
0000000
The account is now re-activated. Skip step 2. You are done.
Do the following to NULL out the passwd field on this account and change the passwd. It will NOT prompt for the old passwd.
2. # /usr/sam/lbin/usermod.sam -F -p "" root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 07:04 AM
08-17-2005 07:04 AM
Re: root account disabled. Can't change password via GSP either
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 01:36 PM
08-17-2005 01:36 PM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 01:49 PM
08-17-2005 01:49 PM
Re: root account disabled. Can't change password via GSP either
Check if your old password contains special character like @, # etc. in that case you will need to use \ just before typing such characters in your password.on console it wont allow you to directly login with root account if the password contains special characters.
Try login in with some other user name. Do an su - root. Then here change the password.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 01:51 PM
08-17-2005 01:51 PM
Re: root account disabled. Can't change password via GSP either
I remember meeting you at HP World. Thanks......You 'da Man!!!
Thank you very very much