HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to Limit number of days to disable account aft...
Operating System - HP-UX
1830171
Members
5704
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-22-2009 10:43 PM
08-22-2009 10:43 PM
how to Limit number of days to disable account after password expires to 90 days as a maximum
any one know how to Limit number of days to disable account after password expires to 90 days as a maximum?
please help suggest me
Thanks
please help suggest me
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2009 03:53 AM
08-23-2009 03:53 AM
Re: how to Limit number of days to disable account after password expires to 90 days as a maximum
Shalom,
http://docs.hp.com/en/B2355-60130/passwd.1.html
We got this thing on our systems called a man page.
passwd -r files [-d|-l] [-f] [-n min] [-w warn] [-x max] name
I got this without looking at an HP-UX system because its August and I don't want my office to turn into an oven.
You can access this information with the following command:
man passwd
Take a look at /etc/default/security
Your system should already take care of this.
There is a time period after password modification during which a user id must be used successfully to prevent disable for not being used. Not much of a way around that.
-n min
Determine the minimum number of days, min, that must transpire before the user can change the password. If the -f option was used in a previous invocation of passwd to immediately expire a password, the effect of the -f option is cancelled. The effect of the -f option is not cancelled if the -x option and -f option are specified on the same command line or if the system has been converted to a trusted system.
SEP
SEP
http://docs.hp.com/en/B2355-60130/passwd.1.html
We got this thing on our systems called a man page.
passwd -r files [-d|-l] [-f] [-n min] [-w warn] [-x max] name
I got this without looking at an HP-UX system because its August and I don't want my office to turn into an oven.
You can access this information with the following command:
man passwd
Take a look at /etc/default/security
Your system should already take care of this.
There is a time period after password modification during which a user id must be used successfully to prevent disable for not being used. Not much of a way around that.
-n min
Determine the minimum number of days, min, that must transpire before the user can change the password. If the -f option was used in a previous invocation of passwd to immediately expire a password, the effect of the -f option is cancelled. The effect of the -f option is not cancelled if the -x option and -f option are specified on the same command line or if the system has been converted to a trusted system.
SEP
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
08-23-2009 02:07 PM
08-23-2009 02:07 PM
Re: how to Limit number of days to disable account after password expires to 90 days as a maximum
Hi,
Please find the below command
#passwd -n 7 -x 90 username
Abaove two options on the passwd command enable password aging. -x defines the maximum number of days a user may wait between password changes, and -n defines the minimum number of days a user may retain a password before they are allowed to change. Usually these options are used in combination
Rgds
Yogesh
(Your points are highly aapriciated)
Please find the below command
#passwd -n 7 -x 90 username
Abaove two options on the passwd command enable password aging. -x defines the maximum number of days a user may wait between password changes, and -n defines the minimum number of days a user may retain a password before they are allowed to change. Usually these options are used in combination
Rgds
Yogesh
(Your points are highly aapriciated)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2009 03:47 PM
08-23-2009 03:47 PM
Re: how to Limit number of days to disable account after password expires to 90 days as a maximum
Hi,
Your points are highly appritiated, which will encourage us to reply you next time.
Rgds
YMP
Your points are highly appritiated, which will encourage us to reply you next time.
Rgds
YMP
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP