Which option will use with usermod command to lock the user account?
Answer
Learn how the usermod command is used to add user to group, change username, remove user from group, change shell, lock and unlock user account, change group and change home directory.
…
Usermod Command in Linux Explained with Examples.
Answer
Learn how the usermod command is used to add user to group, change username, remove user from group, change shell, lock and unlock user account, change group and change home directory.
…
Usermod Command in Linux Explained with Examples.
Short option | Long option | Description |
|---|---|---|
-L | –lock | Used to lock the account |
-U | –unlock | Used to unlock the account |