cancel
Showing results for 
Search instead for 
Did you mean: 
MangoRender
Flight Engineer
Flight Engineer
  • 1,614 Views

Error on Lab: Manage Local Users and Groups

Jump to solution

I keep 'Failing' this lab due to some issue. The specific fail line is the "Verify the password expiration for users in the consultants group." I've confirmed that the /etc/login.defs file is to PASS_MAX_DAYS 30 and that all the consultant accounts are set to expire 90 days from the current day. 

For the last step 

  1. Additionally, force the consultant1, consultant2, and consultant3 users to change their passwords on the first login.

I had initially used the chage -M 0 option to force the password change but even tried the option in the solution chage -d 0. Still 'Failing'. 

Just posting here to see if it's an issue that needs to be fixed on RH's side or maybe it's something I missed.

Has anyone else had/has this issue?

1 Solution

Accepted Solutions
Jordan6
Cadet
Cadet
  • 975 Views

THANK YOU! that's all I was missing was password and setting the password with the passwd command

View solution in original post

12 Replies
shashi01
Moderator
Moderator
  • 1,461 Views

Hi  @MangoRender 

It seems like you've correctly configured the password settings. I followed these steps to verify and was able to reproduce the issue:

Checked /etc/login.defs to ensure PASS_MAX_DAYS is set to 30.
Confirmed the password expiration for all consultant accounts to be 90 days from the current day using chage -l.
Forced password change on the first login using chage -d 0.
Since these steps are correctly followed and the issue persists, it appears to be a bug in the lab environment. We have forwarded your feedback to the concerned team for their consideration. Thank you for your patience and thoroughness in reporting this issue.

0 Kudos
MangoRender
Flight Engineer
Flight Engineer
  • 1,428 Views

Thank You! It's good to know it wasn't just me

0 Kudos
Jordan6
Cadet
Cadet
  • 1,124 Views

Currently learning about this lab in our class and I am having a similar issue. The part of the lab I am 'Failing' is Verify the password is set for the consultants users. Everything else when grading the lab is sucessful. Has there been a work around implemented? 

shashi01
Moderator
Moderator
  • 1,119 Views

@MangoRender @Jordan6 

When the root user switches to another user using the su - <username> command, the system does not prompt for the target user's password because the root user has full privileges on the system.

If you switch user from student user then it will ask.

switch.png

0 Kudos
Jordan6
Cadet
Cadet
  • 985 Views

so I followed the lab steps exactly like before and I followed the steps you gave with the screenshot provided and I am getting a linux error saying su:Authentication failure

Chetan_Tiwary_
Community Manager
Community Manager
  • 976 Views

@Jordan6 the lab is working fine, please redo this lab ( I did the v9.3 lab ) :

Chetan_Tiwary__0-1727207268601.png

su : authentication failure in my screenshot is because I gave wrong password. "redhat" is the password for consultant1 user.

0 Kudos
Jordan6
Cadet
Cadet
  • 976 Views

THANK YOU! that's all I was missing was password and setting the password with the passwd command

Chetan_Tiwary_
Community Manager
Community Manager
  • 972 Views

@Jordan6 That is great! Yes that was one of the objective of this lab :

Chetan_Tiwary__0-1727207941250.png

In a similar way, you need to complete the objective in the exam tasks as well in order to get marks for that task. We had a good learning here!!

0 Kudos
sema1987
Cadet
Cadet
  • 417 Views

Hello, I've been attempting to pass this lab for a couple days now and I keep receiving a fail on "Verify the password expiration for users in the consultants group. Command did not print the expected message." Help?

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