Knowee
Questions
Features
Study Tools

Which of the following options can be used with the usermod command to unlock a user's password?Select one:a.-Lb.-Nc.-gd.-U

Question

Which of the following options can be used with the usermod command to unlock a user's password?

Select one:

  • a. -L
  • b. -N
  • c. -g
  • d. -U
🧐 Not the exact question you are looking for?Go ask a question

Solution

To unlock a user's password using the usermod command in Linux, the correct option is:

d. -U

Explanation:

The usermod command is used for modifying user accounts. When you use the -U option, it unlocks the password of the specified user account that may have been locked by previous commands. Here’s a brief on the other options for clarity:

  1. -L: This option is used to lock a user's password.
  2. -N: This option is for setting a user’s password to an empty string, not specifically for unlocking.
  3. -g: This option is used to change the primary group of the user, not related to password management.

Thus, the answer is -U which is the right choice to unlock a user's password.

This problem has been solved

Similar Questions

Which of the following options can be used with the useradd command to create a user with no login permissions?Select one:a.-Gb.-Nc.-Ud.-L

Which of the following options can be used with the usermod command to change the primary group of a user?Select one:a.-Ub.-Lc.-Nd.-g

Which of the following options can be used with the usermod command to add a user to a supplementary group?Select one:a.-Ub.-ac.-Nd.-L

7.____ command is used by the superuser for changing root’s password.*1 pointa) pdb) passwordc) pswdd) pwd

Which of the following is used to secure data and passwords?Select one:EncryptionAuthorizationAccountabilityAuthentication

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.