chlebik / rhcsa-practice-questions

RHCSA practice questions for version 7/8
550 stars 231 forks source link

"008_create_users_with_specified_uid" - Question says to change "account validity", solution expires the password #33

Closed littlefrank90 closed 1 year ago

littlefrank90 commented 1 year ago

It says right there: "Remember there is a difference between password expiration and account validation. It is usually better to expire password and make user not being able to log into the system or disable the user, rather than deleting it." So I don't get it, chage is supposed to just change password validity, right? Which is not what the question is asking. So the given solution would not be the same as: usermod --expiredate $(whatever the required date)

I'm confused.

chlebik commented 1 year ago

Thank you for creating this issue. Yup, it makes sense - I've changed the question.