- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set non expiry password
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-11-2008 04:44 AM
тАО12-11-2008 04:44 AM
How to set non expiry password
NUMBER_OF_LOGINS_ALLOWED=3
MIN_PASSWORD_LENGTH=8
PASSWORD_HISTORY_DEPTH=5
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
PASSWORD_MAXDAYS=90
PASSWORD_WARNDAYS=7
As per the policy the password will expire in 90 days.
Can you tell me how do I set an account to not expire. Is the below command right
/usr/lbin/modprpw -l -m mintm=0,exptm=0,expwarn=0,lftm=0 "userid"
The System is trusted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 05:19 AM
тАО12-11-2008 05:19 AM
Re: How to set non expiry password
I think the command should work.
sam has a really cute feature.
Do the transaction in sam and then look at the sam command log and you will see if your command above will work. After doing anything in sam there is a command view feature that will let you know what sam did to complete the transaction.
This is an excellent learning tool.
Or simply run a test.
SEP
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
тАО12-11-2008 05:36 AM
тАО12-11-2008 05:36 AM
Re: How to set non expiry password
I dont want anything to go wrong .. Kindly confirm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 06:40 AM
тАО12-11-2008 06:40 AM
Re: How to set non expiry password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 06:49 AM
тАО12-11-2008 06:49 AM
Re: How to set non expiry password
for trusted
Non expire in number of days?
# /usr/lbin/modprpw -m exptm=0 root
untrusted
# passwd -x 0
Refer following link for more details.
http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HSlcFZ78VGhrGlGKdQfJTwDS1mZ0LHBfvL3fvJhhJwKy1FvczWn5!-1259521774!-1205908035?threadId=742444
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2008 07:48 AM
тАО12-11-2008 07:48 AM
Re: How to set non expiry password
passwd -x -1