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
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?
THANK YOU! that's all I was missing was password and setting the password with the passwd command
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.
Thank You! It's good to know it wasn't just me
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?
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.
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
@Jordan6 the lab is working fine, please redo this lab ( I did the v9.3 lab ) :
su : authentication failure in my screenshot is because I gave wrong password. "redhat" is the password for consultant1 user.
THANK YOU! that's all I was missing was password and setting the password with the passwd command
@Jordan6 That is great! Yes that was one of the objective of this lab :
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!!
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?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.