# Description: usermod - Modify a user account

# Notes
# None

# Common Examples
usermod -G dev calvin

# Examples with details
usermod -G dev calvin           # Add the user calvin to SECONDARY group dev
usermod -g dev calvin           # Add the user calvin to PRIMARY group dev
usermod -G dev,sales calvin     # Add user calvin to sales but also keep his existing membership of dev.

# Cool Tricks
# None

# TODO
# None

# Description: usermod - Modify a user account

# Notes
# - The -G flag will add the user to all the Secondary groups listed after -G. This in effect can remove the user from
#   all those existing secondary groups of which the user is a part of but not listed after -G flag.

# Common Examples
usermod -G dev calvin

# Examples with details
usermod -G dev calvin           # Add the user calvin to SECONDARY group dev
usermod -g dev calvin           # Add the user calvin to PRIMARY group dev
usermod -G dev,sales calvin     # Add user calvin to sales but also keep his existing membership of dev.

# Cool Tricks
# None

# TODO
# None

Update the note on appending a group to existing groups.
Update the note on appending a group to existing groups.
