- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root password expiry
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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