Re: Limit user password by time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Nov 4, 2019, at 4:28 AM, Gestió Servidors <sysadmin.caos@xxxxxxx> wrote:
> 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.


You’re pushing the limits of my memories of latin class, but if I understand what you’re asking, you want to set the expiration of a password to a specific hour, not day.

The password age, minimum age and maximum age fields in /etc/shadow are stored as an integer in days, so no, I don’t believe you can set it to a specific hour.

--
Jonathan Billings <billings@xxxxxxxxxx>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux