
usermod
List of commands for usermod:
-
usermod:ai:14647 Adds user Jeffrey to the sudo group$ usermod -aG Jeffreytry on your machineexplain this command
-
usermod:ai:af372 This command adds a user to a specific group in Linux.$ usermod -a -G groupName usernametry on your machineexplain this command
-
usermod:tldr:13b44 usermod: Change a username.$ sudo usermod --login ${new_username} ${username}try on your machineexplain this command
-
usermod:tldr:22350 usermod: Change a user home directory.$ sudo usermod --move-home --home ${path-to-new_home} ${username}try on your machineexplain this command
-
usermod:tldr:4876a usermod: Change a user id.$ sudo usermod --uid ${id} ${username}try on your machineexplain this command
-
usermod:tldr:873e4 usermod: Add a user to supplementary groups (mind the lack of whitespace).$ sudo usermod --append --groups ${group1,group2,---} ${username}try on your machineexplain this command
-
usermod:tldr:c0554 usermod: Change a user shell.$ sudo usermod --shell ${path-to-shell} ${username}try on your machineexplain this command