Skip to content

Usermod in Linux: Managing users

How to use the usermod command in Linux. Add a user to the sudo and docker groups, rename a user, move the home directory, change the shell and UID, lock an account, a cheat sheet and common errors.