cancel
Showing results for 
Search instead for 
Did you mean: 
MangoRender
Flight Engineer
Flight Engineer
  • 1,251 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
  • 713 Views

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

View solution in original post

10 Replies
shashi01
Moderator
Moderator
  • 1,199 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,166 Views

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

0 Kudos
Jordan6
Cadet
Cadet
  • 862 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
  • 857 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
  • 723 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
  • 714 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
  • 714 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
  • 710 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
  • 155 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.