HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to change root passwd.
Operating System - HP-UX
1826572
Members
3662
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-10-2007 07:25 PM
07-10-2007 07:25 PM
Unable to change root passwd.
Hi all,
Yesterday I set password aging policies and general user account policies on
my server hp rp4440, HP-UX 11.11 trusted system using SAM.
Password Aging Policies
a] Time between password changes: 20 Days
b] Password expiration time: 30 Days
c] Password Expiration Warning Time: 5 Days
d] Password Life Time: 45 Days
General User Account Policies
a] Maximum Inactive Time: 30 Days
b] Unsuccessful Login Tries Allowed: 5
Now today I am not able to login from login prompt, the password is changed (may be).
Hence I tried to change the passwd (I can access root account from my linux PC through ssh without
passwd), I got this after entering last known passwd.
-----------------
[root@svr2] #passwd root
Changing password for root
Old password:
Sorry.
[root@svr2] #
------------------------
I then disabled both policies using SAM, but still it asks old passwd.
I even created another account with UID 0
from this account also I'm not able to change
root passwd.
Pl. guide me on this, it is very urgent.
-Santosh
Yesterday I set password aging policies and general user account policies on
my server hp rp4440, HP-UX 11.11 trusted system using SAM.
Password Aging Policies
a] Time between password changes: 20 Days
b] Password expiration time: 30 Days
c] Password Expiration Warning Time: 5 Days
d] Password Life Time: 45 Days
General User Account Policies
a] Maximum Inactive Time: 30 Days
b] Unsuccessful Login Tries Allowed: 5
Now today I am not able to login from login prompt, the password is changed (may be).
Hence I tried to change the passwd (I can access root account from my linux PC through ssh without
passwd), I got this after entering last known passwd.
-----------------
[root@svr2] #passwd root
Changing password for root
Old password:
Sorry.
[root@svr2] #
------------------------
I then disabled both policies using SAM, but still it asks old passwd.
I even created another account with UID 0
from this account also I'm not able to change
root passwd.
Pl. guide me on this, it is very urgent.
-Santosh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 07:43 PM
07-10-2007 07:43 PM
Re: Unable to change root passwd.
Create a new cryptation of the password:
#!/usr/bin/perl
print crypt($ARGV[0],"am");
print "\n";
Edit the file: /tcb/files/auth/r/root
with the new crypted password. This at least should give you a know password.
If the system is no longer trusted you should edit vipw or vi /etc/passwd or /etc/shadow or whatever the name :-).
#!/usr/bin/perl
print crypt($ARGV[0],"am");
print "\n";
Edit the file: /tcb/files/auth/r/root
with the new crypted password. This at least should give you a know password.
If the system is no longer trusted you should edit vipw or vi /etc/passwd or /etc/shadow or whatever the name :-).
jaton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 07:57 PM
07-10-2007 07:57 PM
Re: Unable to change root passwd.
Thsnks Jannik,
I edited protected database file and changed
field :u_pwd= , after this the system was not asking Old passwd.
Thanks.
-Santosh
I edited protected database file and changed
field :u_pwd= , after this the system was not asking Old passwd.
Thanks.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:05 PM
07-10-2007 08:05 PM
Re: Unable to change root passwd.
Thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP