- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Setting expiry dates for users in linux (redha...
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
тАО10-13-2009 09:33 AM
тАО10-13-2009 09:33 AM
I am using Redhat ES 4 and Suse EL 10.
How to set the expiry dates for users in linux?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 02:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 07:08 PM
тАО10-13-2009 07:08 PM
Re: Setting expiry dates for users in linux (redhat and suse)
"chage" is the command for change time of account activation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 01:09 AM
тАО10-14-2009 01:09 AM
Re: Setting expiry dates for users in linux (redhat and suse)
chage - change user password expiry information
Do you mean with Setting expiry dates for users ;
password aging activation OR account expiration ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 01:11 AM
тАО10-14-2009 01:11 AM
Re: Setting expiry dates for users in linux (redhat and suse)
useradd
usermod
userdel
adduser
chage
getent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 01:13 AM
тАО10-14-2009 01:13 AM
Re: Setting expiry dates for users in linux (redhat and suse)
You can use the chage command to manage the expiration date of a password. Password aging information is stored in the /etc/shadow file. The associated chage switch, where available, is shown with each description entry.
For example, if you wanted to require that user test1 keep a password for at least two days, use the chage test1 -m 2 command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 01:02 AM
тАО10-15-2009 01:02 AM
Re: Setting expiry dates for users in linux (redhat and suse)
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/Security_Guide/s3-wstation-pass-org-age.html
for setting expiry rules when creating new users take a look at the /etc/login.defs file.