- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
Forums
Discussions
Discussions
Discussions
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
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
11-19-2008 06:53 AM
11-19-2008 06:53 AM
Password Expiry.
How to set expiry date for the User password?
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 06:55 AM
11-19-2008 06:55 AM
Re: Password Expiry.
# man passwd
and look for "expir".
The options -n -w and -x are what you are looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 07:18 AM
11-19-2008 07:18 AM
Re: Password Expiry.
If u don't mind can u give the correct syntax.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 07:23 AM
11-19-2008 07:23 AM
Re: Password Expiry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 07:24 AM
11-19-2008 07:24 AM
Re: Password Expiry.
or do it commandline
passwd -n 50 userx
will set the minimum days
passwd -x 60 userx
will set the maximum days
passwd -w 50 userx
will set the days when warning is given
passwd -f userx
User will need to change password at firt login time
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 07:25 AM
11-19-2008 07:25 AM
Re: Password Expiry.
-n = the minimum number of days, min, that must transpire before the user can change the password
-w = the number of days, warn, prior to the password expiring when the user will be notified that the password needs to be changed
-x = the maximum number of days, max, a password can remain unchanged
The man pages are your friends!!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 07:34 AM
11-19-2008 07:34 AM
Re: Password Expiry.
Thanks a lot for giving the excellent soluutions.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 11:12 PM
11-19-2008 11:12 PM
Re: Password Expiry.
You can set through sam.
sam - Auditing and security - system security policy.
Here you can set the policy.
Farhan