CompTIA A+ 220-1102 Practice Question
A user calls you and asks to reset his password, you confirm that it is actually the user on the phone, and he says his username is bobsmith, you are in a Linux environment. What is the appropriate command for resetting his password?
sudo pwd bobsmith [password]
su bobsmith
chown bobsmith
sudo passwd bobsmith