nerdexam
CompTIA

XK0-001 · Question #67

What command would allow an administrator to add an existing user's phone number to the system as a comment?

The correct answer is A. usermod -c 555-1234 bsmith. See the full explanation below for the reasoning.

Question

What command would allow an administrator to add an existing user's phone number to the system as a comment?

Options

  • Ausermod -c 555-1234 bsmith
  • Bmodinfo -u bsmith 555-1234
  • Cuseradd -u bsmith -c 555-1234
  • Decho bsmith:x:502:502:555-1234:/home/chris:/bin/bash > /etc/passwd

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    15% (4)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice