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 <[email protected]> on behalf of Gestió Servidors 
<[email protected]>
Sent: Monday, November 4, 2019 3:28 AM
To: [email protected] <[email protected]>
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
[email protected]
https://lists.centos.org/mailman/listinfo/centos

Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: [email protected]


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com<http://www..com>


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.




_______________________________________________
CentOS mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos

Reply via email to