cancel
Showing results for 
Search instead for 
Did you mean: 
biltonbilmes
Mission Specialist
Mission Specialist
  • 2,112 Views

RH124 - Lab: Manage Local Users and Groups

Hi

can someone help me understand what is missing here?

biltonbilmes_0-1708973371314.png

Accounts for all consultants are set to expired in 90 days

Labels (1)
10 Replies
Jason_R_Preston
Flight Engineer
Flight Engineer
  • 1,713 Views

You either need to modify the /etc/login.defs or use the chage command. The /etc/login.defs would be used before the accounts are created. The chage command would allow you to modify existing accounts.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,711 Views

Hello @biltonbilmes !

Please share the screenshot of what you did to achieve the objective in step 7 of this lab exercise ? 

0 Kudos
biltonbilmes
Mission Specialist
Mission Specialist
  • 1,706 Views

Screenshot from 2024-02-26 19-49-56.png

biltonbilmes
Mission Specialist
Mission Specialist
  • 1,695 Views

Screenshot from 2024-02-26 20-00-54.pngScreenshot from 2024-02-26 20-01-34.png

Chetan, I was bit fast in responding. First screen capture answers your query and second is just an info, that i did change the MAX Days to 30

Chetan_Tiwary_
Community Manager
Community Manager
  • 1,677 Views

@biltonbilmes Seems you are doing right - let me have a look , there may be a bug in the lab script ( surprisingly! bcz it was not there last time I checked). If any discrepancy is there - I will report it to the developers to fix it asap !

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,655 Views

@biltonbilmes I did try the lab exercise in a fresh lab of mine and I was unable to reproduce the error in my lab : 

Chetan_Tiwary__0-1708976846979.png

Could you please retry the same in a freshly built lab ( delete and recreate the entire lab ) and see if this is working fine for you ?

0 Kudos
Jason_R_Preston
Flight Engineer
Flight Engineer
  • 1,699 Views

Try this: "chage -M 90 consultant3"

found using "chage --help" and verified

I found that the lab scripts will sometimes evaluate whether you used the "correct" command vs evaluating the end result. On the exam, only the end result matters, not the command used to achieve said result.

0 Kudos
biltonbilmes
Mission Specialist
Mission Specialist
  • 1,693 Views

Tried this, but same result.

0 Kudos
Jason_R_Preston
Flight Engineer
Flight Engineer
  • 1,686 Views

I would not stress it too much, IF you are confident the end result is 100% correct.

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