In Unix/Linux distributions, the command ‘ usermod ‘ is used to modify or change any attributes of a already created user account via command line. The command ‘ usermod ‘ is similar to that ‘ useradd ‘ or ‘ adduser ‘ but the login granted to an existing user.
Originally Published at https://www.tecmint.com/usermod-command-examples/