How to modify user-account settings with usermod
There are quite a few changes you can make to user accounts on Linux systems: setting them up, deleting or disabling them, adding or removing users from secondary groups, changing usernames or UIDs, moving home directories, changing users’ shells, altering account expiration timing, and so on. One command that can make nearly all of these changes easier is usermod. The only real constraints are 1) that the accounts you intend to change must already exist…
Read More