- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password never expire
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
тАО12-17-2009 12:01 PM
тАО12-17-2009 12:01 PM
Password never expire
Our OS is HP-UX 11.31
we have already set the never expire to below mentioned user.
but user is getting the error message like
"passowrd is expire in 1 days"
how we can resolve this type of issue.
if we set never expire to user accoutn , how we can identify that user account is already having never expiration.
please anyone pls help on this issue.
advance thanks...........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 12:22 PM
тАО12-17-2009 12:22 PM
Re: Password never expire
On 11.31 for standard and shadow it has a default value set for:
PASSWORD_MAXDAYS=175
PASSWORD_MINDAYS=14
and
PASSWORD_WARNDAYS=14
Check that file - remember that even though you see the value rem'd out - it is the default value set.
So for your 'accoutn' user, you might set them to ~_MAXDAYS=441 (which is the highest value - See man 4 security) or to disable them you would enter for that user ~_MAXDAYS=-1
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 01:44 PM
тАО12-17-2009 01:44 PM
Re: Password never expire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 04:58 PM
тАО12-17-2009 04:58 PM
Re: Password never expire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 05:12 PM
тАО12-17-2009 05:12 PM
Re: Password never expire
/usr/lbin/getprpw -l
will give more information about the password expire of user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 05:14 PM
тАО12-17-2009 05:14 PM
Re: Password never expire
and look for password expire day - if its shows something password will expire praticluar date that the account has not been set for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 09:39 PM
тАО12-17-2009 09:39 PM
Re: Password never expire
#cd /usr/lbin
#modprpw -m exptm=0,lftm=0 username
this will set lifetime to infinty and password willnever expiry
and check with below cmd before and after issuing modprpw , u can find the difference
#/usr/lbin/getprpw -l username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 01:51 AM
тАО12-18-2009 01:51 AM
Re: Password never expire
# /usr/lbin/modprpw -l -m mintm=0,exptm=0,expwarn=0,lftm=0 usernaem
rgds,