Comments on: How to Manage User Password Expiration and Aging in Linux https://www.tecmint.com/manage-user-password-expiration-and-aging-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 22:41:22 +0000 hourly 1 By: Kevo Akidiva https://www.tecmint.com/manage-user-password-expiration-and-aging-in-linux/comment-page-1/#comment-1670256 Sat, 04 Dec 2021 18:06:37 +0000 https://www.tecmint.com/?p=28677#comment-1670256 I have been trying to work with the chage command to modify accounts expiration date but all it brings is a command not found, any help?

]]>
By: shan https://www.tecmint.com/manage-user-password-expiration-and-aging-in-linux/comment-page-1/#comment-1291332 Sun, 17 Nov 2019 14:44:34 +0000 https://www.tecmint.com/?p=28677#comment-1291332 why consider the expire from 1 Jan 1970 what is the date meaning.?

]]>
By: Ravi Saive https://www.tecmint.com/manage-user-password-expiration-and-aging-in-linux/comment-page-1/#comment-1287115 Tue, 12 Nov 2019 05:45:10 +0000 https://www.tecmint.com/?p=28677#comment-1287115 In reply to shuj.

@Shuj,

To setup default password expiry for all new users in Linux

Open file /etc/login.defs using text editor and set the following values as per your requirements.

PASS_MAX_DAYS 90
PASS_MIN_DAYS 1
PASS_WARN_AGE 7
]]>
By: shuj https://www.tecmint.com/manage-user-password-expiration-and-aging-in-linux/comment-page-1/#comment-1287088 Tue, 12 Nov 2019 05:14:15 +0000 https://www.tecmint.com/?p=28677#comment-1287088 How to set account expiry universal for all users instead of doing it for one user. For E.g. I want every user which I create should expire after 90 days. which file I need to edit to achieve this.

]]>