HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting a user password not to expire
Operating System - HP-UX
1829545
Members
2192
Online
109992
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
Go to solution
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
01-29-2004 03:06 AM
01-29-2004 03:06 AM
I know this is probably an obvious question but I can't find an answer.
I am setting up system password expiration. However, there are system accounts and a couple generic accounts that I don't want to expire. How would I use the passwd command to set these users not to expire?
I am setting up system password expiration. However, there are system accounts and a couple generic accounts that I don't want to expire. How would I use the passwd command to set these users not to expire?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 03:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 03:21 AM
01-29-2004 03:21 AM
Re: Setting a user password not to expire
best bet is sam
Accounts and users users
modify the user
password aging
or
user='username"
MINDAYS=7
MAXDAYS=360
passwd -r file -n $MINDAYS -x $MAXDAYS $user
You can crank that date up to a very high number. Thats better than not expiring at all.
SEP
Accounts and users users
modify the user
password aging
or
user='username"
MINDAYS=7
MAXDAYS=360
passwd -r file -n $MINDAYS -x $MAXDAYS $user
You can crank that date up to a very high number. Thats better than not expiring at all.
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
01-29-2004 03:30 AM
01-29-2004 03:30 AM
Re: Setting a user password not to expire
Hi,
You would need to use
/usr/lbin/modprpw -l -m mintm=0,exptm=0,expwarn=0,lftm=0 login_id
Or use SAM.
-Sri
You would need to use
/usr/lbin/modprpw -l -m mintm=0,exptm=0,expwarn=0,lftm=0 login_id
Or use SAM.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
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