Question 1040
An operations policy is being applied to local account audituser04 on RHEL 10. The administrator must set maximum password lifetime to 90 days. Which command implements it?
Explanation
Correct Answer
chage -M sets the maximum number of days before a password must be changed. This matches the stated requirement to set maximum password lifetime to 90 days. By contrast, the plausible alternative `chage -W 14 audituser04` has the effect: chage -W sets the number of advance password-expiration warning days; that operation would not achieve the requested result.
Incorrect Answers
chage -m configures the minimum interval before another password change is allowed. The stated task is to set maximum password lifetime to 90 days. Instead, `chage -M 90 audituser04` is the relevant alternative because chage -M sets the maximum number of days before a password must be changed.
chage -W sets the number of advance password-expiration warning days. The stated task is to set maximum password lifetime to 90 days. Instead, `chage -M 90 audituser04` is the relevant alternative because chage -M sets the maximum number of days before a password must be changed.
Setting last password-change date to zero forces an update at next login. The stated task is to set maximum password lifetime to 90 days. Instead, `chage -M 90 audituser04` is the relevant alternative because chage -M sets the maximum number of days before a password must be changed.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests