nerdexam
LPI

010-100 · Question #44

010-100 Question #44: Real Exam Question with Answer & Explanation

The correct answer is D. passwd. The passwd command is the standard Linux utility used to change a user account's password.

Question

What is the command to change the password of a user?

Options

  • Awpasswd
  • Bgpasswd
  • Cepasswd
  • Dpasswd
  • Epassword

Explanation

The passwd command is the standard Linux utility used to change a user account's password.

Common mistakes.

  • A. wpasswd is not a valid or existing Linux command.
  • B. gpasswd is a real Linux command, but it is used to administer /etc/group and /etc/gshadow (group passwords and membership), not individual user passwords.
  • C. epasswd is not a valid or existing Linux command.
  • E. password is not a valid Linux command; the correct command name is passwd.

Concept tested. Linux user password management with passwd command

Reference. https://man7.org/linux/man-pages/man1/passwd.1.html

Community Discussion

No community discussion yet for this question.

Full 010-100 Practice