I am getting a FAIL grade for the account expiry portion of the lab and I can't quite figure out why. The lab asked me to update all accounts to expire 90 days from the current date.
I ran the following: date -d "+90 days" +%F
returned 2021-05-10
Then ran: for n in 1 2 3;do sudo chage -E 2021-05-10 consultant$n;done
Confirmed with: for n in 1 2 3;do sudo chage -l consultant$n;done | grep Account
All accounts properly had an "Account expires" value of "May 10, 2021" yet the grading is saying I failed... Anyone know exactly what the grading is looking for here? I went back and executed the chage -E commands separately in case it didn't like me looping them, and still got a FAIL. Thanks for any insight.
I reran the lab again, running the same commands, and got PASS grades for all sections.
/shrug
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.