196 - Creating and Managing Users and Groups
196 - Creating and Managing Users and Groups
196 - Creating and Managing Users and Groups
following files:
account.
You can easily add a user to more than one group by simply specifying them in
a comma-delimited list
For example, add user jerry to groups admins, ftp, www, and developers.
# id tony
Please note that small g (-g) option add user to initial login
group (primary group). The group name must exist. A group
number must refer to an already existing group.
Change a User’s Primary Group
Add existing user tony to ftp supplementary/secondary group with the usermod
command using the -a option ~ i.e. add the user to the supplemental group(s).