chlebik / rhcsa-practice-questions

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

Question 008_create_users_with_specified_uid answer isn't correct #2

Closed rediz closed 3 years ago

rediz commented 4 years ago

Hello,

Iv been looking around ways to prepare and do all kinds of materias for rhcsa test. Now that I tried to do and replicate the answer in 008 it doesn't work. I'll get error saying: "passwd -e 2020-11-19 davis passwd: Only one user name may be specified."

Im not sure if something is changed or what, but that isn't working anymore. I can use it just "passwd -e john" but then the account expires right now. What I found out is the chage -command can be used like "chage davis" and it will ask what date's I want to set. Also its possible to say "chage -E 2020-11-19 davis" which is closest I find what your answer says.

chlebik commented 3 years ago

Yeah, I've checked it and surprisingly it does not work. Don't know how this happened but thank You for the comment.