cancel
Showing results for 
Search instead for 
Did you mean: 
  • 256 Views

linux admin 1 chapter 6 lab start users-review

Jump to solution

I cant seem to pass this part on the lab. any help would be greatly appreciated.linux pic.jpg

1 Solution

Accepted Solutions
shashi01
Moderator
Moderator
  • 237 Views

@cxiong1990 

I checked your commands and found the problem. You correctly calculated the date 90 days ahead (2025-12-25), but when setting the account expiration with chage -E, you mistakenly used an old date (2022-06-08). That caused the grader to mark the account expiration as failed because the accounts were already expired

View solution in original post

9 Replies
  • 247 Views

to verify the account expiration for the users I entered chage -l consultant1,2,3 still failed this part again.

shashi01
Moderator
Moderator
  • 234 Views

Run:

====

chage -E 2025-12-25 consultant1

chage -E 2025-12-25 consultant2

chage -E 2025-12-25 consultant3

 

Verify

=====

chage -l consultant1 | grep "Account expires"

 

You should now see the correct expiration date, and the lab will pass when re-graded

  • 231 Views

I'll try it out.

0 Kudos
shashi01
Moderator
Moderator
  • 201 Views

@cxiong1990 

Perfect, let me know how it goes

0 Kudos
shashi01
Moderator
Moderator
  • 238 Views

@cxiong1990 

I checked your commands and found the problem. You correctly calculated the date 90 days ahead (2025-12-25), but when setting the account expiration with chage -E, you mistakenly used an old date (2022-06-08). That caused the grader to mark the account expiration as failed because the accounts were already expired

  • 235 Views

man thanks for the reply. appreacitate the help.

0 Kudos
dnaspliceoflife
Flight Engineer
Flight Engineer
  • 132 Views

Yep.

A common error my students make.

They just type the commands as written in the lab without thinking too deeply about the task (especially around date and time related tasks). 

I always have to remind them that these labs were not written today but the task then need to perform is done today.

There is a reason there was a previous step that had you determine the current date + 90 days.   

You are more than the sum of what you consume.
Desire is not an occupation.
Chetan_Tiwary_
Community Manager
Community Manager
  • 53 Views

@dnaspliceoflife yes you are right, many learners skip this step or tend to ignore this step where in you need to determine current date + 90 days ! 

Sharp observatio !!

0 Kudos
shashi01
Moderator
Moderator
  • 226 Views

You're welcome.

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