QuestionQ15

Basic BSD System Administration

Which command locks the bob user account on a FreeBSD system?

  • A audit_user -l bob
  • B lockuser bob
  • C pw lock bob
  • D usermod lock bob
  • E vipw lock bob
Explanation

FreeBSD’s pw(8) utility provides the lock subcommand for local user accounts; supplying the username as pw lock bob locks that account by preventing successful password authentication.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!