[CentOS] Limit user password by time

Leroy Tennison

leroy at datavoiceint.com
Mon Nov 4 14:20:53 UTC 2019

chage apparently depends on the shadow file which is day-based.  You might want to be more specific when you say "limit", are you trying to force password changes every 2 hours or force logout every 2 hours or something else?  The reason I ask is you're probably into the "create your own method" arena where exactly what you're trying to do may greatly influence the possibilities.

From: CentOS <centos-bounces at centos.org> on behalf of Gestió Servidors <sysadmin.caos at uab.cat>
Sent: Monday, November 4, 2019 3:28 AM
To: centos at centos.org <centos at centos.org>
Subject: [EXTERNAL] Re: [CentOS] Limit user password by time

Is it possible with "chage" to configure a password caducity for, at
most, 2 hours? I think "chage" only allows caducity for, at least, one day.
CentOS mailing list
CentOS at centos.org


Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com


2220 Bush Dr
McKinney, Texas

This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc.

If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>.

This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.

More information about the CentOS mailing list