Services and User Management
A security policy requires the user bob to choose a new password at his next login. His account must stay unlocked and his current password must remain valid until then. Which command meets the requirement?
Show the answer
Correct answerC. passwd -e bob
passwd -e expires the password immediately, which forces a change at the next login while the account stays usable. passwd -l locks the password so bob could not log in with it at all. -n 0 only sets the minimum password age.