Exam 010-160 Topic 1 Question 64 Discussion

Actual exam question for Lpi's 010-160 exam
Question #: 64
Topic #: 1
Which of the following tasks can the command passwd accomplish? (Choose two.)

Suggested Answer: B,E Vote an answer

Explanation
The passwd command in Linux is used to change the password of a user account. A normal user can run passwd to change their own password, and a system administrator (the superuser) can use passwd to change another user's password, or define how that account's password can beused or changed1. The passwd command can also be used to lock or unlock a user account. Locking a user account means disabling the user's ability to log in to the system, while unlocking a user account means restoring the user's ability to log in. To lock a user account, the passwd command can be used with the -l option, followed by the username. To unlock a user account, the passwd command can be used with the -u option, followed by the username12. The passwd command cannot be used to change a user's username, create a new user account, or create a new user group. These tasks require different commands, such as usermod, useradd, orgroupadd345. References: 1:
Linux Passwd Command Help and Examples 2: Passwd command in Linux: 8 Practical Examples 3:
usermod(8) - Linux man page 4: useradd(8) - Linux man page 5: groupadd(8) - Linux man page

by Nina at Nov 29, 2025, 03:41 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10