- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing Root passwd
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
Discussions
Discussions
Forums
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
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
тАО01-30-2006 07:45 AM
тАО01-30-2006 07:45 AM
Changing Root passwd
Iam using a L class server
$uname -a
HP-UX prod1 B.11.11 U 9000/800 132444630 unlimited-user license
How to find the system is in trusted mode
And moreover iam unable to change the root password , when i issue passwd command it
replies with
----------------------------------------------
#passwd
Changing password for root
Old password:
Last successful password change for root: Wed Jun 8 12:56:31 2005
Last unsuccessful password change for root: Mon Jan 30 15:26:41 2006
Password cannot be changed. Reason: password lifetime has passed.
--------------------------------------------
Kindly suggest us to resolve this problem
Thanks & regards
Susee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 07:54 AM
тАО01-30-2006 07:54 AM
Re: Changing Root passwd
The root password has already expired.
To fix this, null it out first.
vi /tcb/files/auth/r/root
Change the line that looks like:
:u_pwd=AjDIB7xoAZVGE:\
to
:u_pwd=:\
Save it.
Quickly run the passwd command and set the root password.
Even better, take the machine to single user mode so there is no chance of anyone getting root priviledges.
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
тАО01-30-2006 08:02 AM
тАО01-30-2006 08:02 AM
Re: Changing Root passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 08:05 AM
тАО01-30-2006 08:05 AM
Re: Changing Root passwd
If you have the /tcb directory and the subdirectories under it. And, you have the /usr/lbin/modprpw command. (This is an arbitrary command selection. There will be several other 'trusted system' commands in the /usr/lbin directory.)
The encrypted passwd on a trusted stsem is stored in the /tcb/files/auth/r/root
If not trusted, look into the /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 08:07 AM
тАО01-30-2006 08:07 AM
Re: Changing Root passwd
For trusted mode - if the /tcb directory exists, the system probably is in trusted mode.
If it is in trusted mode you can try issuing the following command against root to reset the password paramemters
/usr/lbin/modprpw -k root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 08:26 AM
тАО01-30-2006 08:26 AM
Re: Changing Root passwd
The information given by you solved
i first unlocked by modprpw -k root
and i issued passwd command
i was able to change the password
Thanks to all for your valuable suggestions