A

Admin • 828.03K Points
Coach

Q. Which command is used to lock a user account in Linux?

  • (A) passwd -l username
  • (B) userdel username
  • (C) lock user username
  • (D) usermod -lock username
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
'passwd -l' locks the password to disable account login.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.