Byron is a RHEL Sysadmin. He wants to chnage Omar's accoount so that he has to change his password every 90 days instead of the current 45 days. Byron is NOT using the root account. What command(s) must he run?
Sure, here are the steps that Byron can follow to change Omar's password expiration policy so that he has to change his password every 90 days:
Log in to the RHEL system as a user with sudo privileges.
Run the following command to modify Omar's account using the
- sudo chage --maxdays 90 omar
- This command sets the maximum number of days between password changes to 90 for the user
- Verify that the changes have been made by running the following command:
- sudo chage -l omar
This command lists the password expiration and related account information for the user
omar. It should now show that the maximum password age is set to 90 days.
By following these steps, Byron can change Omar's password expiration policy to require password changes every 90 days instead of the current 45 days, without needing to use the root account.