- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root password expiry
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-07-2010 03:35 AM
тАО01-07-2010 03:35 AM
Can anyone tell me how to keep the root password as "never expires" under HP-UX 11.11
Regards
Bharath
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 03:43 AM
тАО01-07-2010 03:43 AM
Re: Root password expiry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 03:44 AM
тАО01-07-2010 03:44 AM
Re: Root password expiry
go to SAM
- Accounts for Users and Groups
-
- Actions
- Modify Security Policies
- select Password Aging Policies
- modify it
or
# passwd -x 0 root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 04:16 AM
тАО01-07-2010 04:16 AM
Re: Root password expiry
Use Sam For this.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 04:59 AM
тАО01-07-2010 04:59 AM
Re: Root password expiry
Is there a way I can do this through commands without going to SAM. Also let me know in my server shadow file is missing, whether it will cause any problem in future.
Thanks and Regards
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 05:13 AM
тАО01-07-2010 05:13 AM
Re: Root password expiry
I guess it is :
# passwd -x 0 root
The /etc/shadow file is created from the /etc/passwd file by the pwconv command. It is for security only. No problem if it is not there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 06:38 AM
тАО01-07-2010 06:38 AM
Re: Root password expiry
Logon to root and issue:
# passwd
Old-pswd ..
New-pswd ..
As far as I know, password already never expires by default setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 01:19 PM
тАО01-07-2010 01:19 PM
Re: Root password expiry
Passwords with expiration date looks like that:
W5LFnAsUoXL72,B/TU
The part after coma defines expiration date.
Remove it and the password:
W5LFnAsUoXL72
will never be expired
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2010 02:20 PM
тАО01-07-2010 02:20 PM
Re: Root password expiry
On a trusted system you could try the following
/usr/lbin/modprpw -l -m mintm=0,exptm=0,expwarn=0,lftm=0 root
Regards
Siju