cancel
Showing results for 
Search instead for 
Did you mean: 
brandon53
Cadet
Cadet
  • 898 Views

RH199 Ch3.11 users-review grading question

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.

Labels (1)
0 Kudos
1 Reply
brandon53
Cadet
Cadet
  • 893 Views

I reran the lab again, running the same commands, and got PASS grades for all sections.

/shrug

0 Kudos
Join the discussion
You must log in to join this conversation.