[CentOS] set up login.defs but password still not expire?

Tue Jun 30 09:29:52 UTC 2015
Peter <peter at pajamian.dhs.org>

On 06/30/2015 07:59 AM, mcclnx mcc wrote:
> We have Centos 5.8 on LInux server.I setup /etc/login.defs following:
> PASS_MAX_DAYS   3

So you're saying that you're running a CentOS that has not been updated
in three years and as such is full of security vulnerabilities and bugs
and yet you are security-conscious enough to want a 3 day password expire?

Do yourself a favor and yum update, that will help you to secure your
system way better than your password policy.


Peter