usermod is a command-line utility that allows you to modify a user’s login information. This article covers how to use the usermod command to add a user to a group, change a user shell, login name, home directory, and more. usermod Command # The syntax of the usermod command takes the following form: usermod [options]