An XCCDF Group - A logical subset of the XCCDF Benchmark
NUM_DAYS
USER
$ sudo chage -I NUM_DAYS USER
-E
/etc/default/useradd
grep 'inactive\|pam_unix' /etc/pam.d/password-auth | grep -w auth auth required pam_lastlog.so inactive=35 auth sufficient pam_unix.so
pam_unix.so
INACTIVE=
useradd
ACCOUNT_NAME
YYYY-MM-DD
$ sudo chage -E YYYY-MM-DD ACCOUNT_NAME
$ sudo chage -E YYYY-MM-DD USER
$ sudo getent passwd | awk -F: '{ print $1}' | uniq -d