nerdexam
ExamsXK0-004Questions#152
CompTIA

XK0-004 · Question #152

XK0-004 Question #152: Real Exam Question with Answer & Explanation

The correct answer is A: usermod -L root. Lock a user's password. This puts a '!' in front of the encrypted password, effectively disabling the password. You can't use this option with -p or -U."

Question

An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?

Options

  • Ausermod -L root
  • Busermod -G root
  • Cusermod -B root
  • Dusermod -U root

Explanation

Lock a user's password. This puts a '!' in front of the encrypted password, effectively disabling the password. You can't use this option with -p or -U."

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice