Services and User Management
An administrator needs to stop the user jsmith from authenticating with a password, without deleting the account. Which three commands accomplish this? (Choose three.)
Choose 3 answers
Show the answer
Correct answersB. chage -E 0 jsmithC. usermod -L jsmithD. passwd -l jsmith
passwd -l and usermod -L prepend '!' to the hash in /etc/shadow, and chage -E 0 sets the account expiration to a past date. passwd -u is the tempting wrong choice because it belongs to the same utility, but it removes the lock instead of applying one. passwd -S only reports status.