- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disabling user account 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
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
тАО02-07-2010 02:42 AM
тАО02-07-2010 02:42 AM
disabling user account expiry
I believe passwd aging and user account aging are 2 different things.
I want to disable user acoount expiration in both trusted and non-trusted nodes.
Please suggest on this.
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2010 03:17 AM
тАО02-07-2010 03:17 AM
Re: disabling user account expiry
The non-trusted default doesn't have account expiration, only password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2010 05:30 PM
тАО02-07-2010 05:30 PM
Re: disabling user account expiry
man modprpw
You could use the following:
/usr/lbin/modprpw -m mintm=0,exptm=0,lftm=0,expwarn=0,umaxlntr=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2010 05:33 PM
тАО02-07-2010 05:33 PM
Re: disabling user account expiry
/usr/lbin/modprpw -m mintm=0,exptm=0,lftm=0,expwarn=0,umaxlntr=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2010 06:51 PM
тАО02-07-2010 06:51 PM
Re: disabling user account expiry
-X
if not comfortable with commands You can use "SAM" For Non-trusted System
You Use SAM -> Accounts for Users and Groups ->Users ->Select Username->Actions->Modify->Modify Password Options ->Select-> No Restrictions (Normal Behaviour)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 03:46 AM
тАО02-08-2010 03:46 AM
Re: disabling user account expiry
If I am true, in non trusted machines, you can disable the aging by
passwd -x -1 username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 04:07 AM
тАО02-08-2010 04:07 AM
Re: disabling user account expiry
Greetings for the day!!
If your system is trusted
you can also check with
/usr/lbin/getprpw username
1. For disabling the passwd aging for some users, you can use
/usr/lbin/modprpw -m mintm=0 username
/usr/lbin/modprpw -m exptm=0 username
/usr/lbin/modprpw -m lftm=0 username
/usr/lbin/modprpw -m expwarn=0 username
2. For checking the passwd aging works or not, change the passwd life time for a user to 2 days or so and check after that. You should get a warning message saying that your password is going to expire on (DATE)
Thanks
Saravanan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 04:35 AM
тАО02-08-2010 04:35 AM
Re: disabling user account expiry
password can be made non-expiry by executing the following command
passwd -x -1 username
and it can be checked by the following command
passwd -s username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 06:14 AM
тАО02-08-2010 06:14 AM
Re: disabling user account expiry
passwords. See Section 2.5 and consult the security(4) manpage for more information.
├в ┬в INACTIVITY_MAXDAYS├в Number of days before expiring an account for inactivity.
├в ┬в PASSWORD_MINDAYS├в Minimum number of days before a password can be
changed.
├в ┬в PASSWORD_MAXDAYS├в Maximum number of days that passwords are valid.
├в ┬в PASSWORD_WARNDAYS├в Number of days before warning users of password
expiration.