Linux Essentials (010-160) — Question 9
Which of the following tasks can the command passwd accomplish? (Choose two.)
Answer options
- A. Change a user's username.
- B. Change a user's password.
- C. Create a new user account.
- D. Create a new user group.
- E. Lock a user account.
Correct answer: B, E
Explanation
The correct answers are B and E because the passwd command is specifically designed to change user passwords and can also lock user accounts. Options A, C, and D are incorrect as they involve changing usernames or creating new accounts or groups, which are not tasks that passwd can perform.