Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Groups


1. Groups
It can be useful to provide permissions to groups to which users have been added. For example, a user and a web server or web service may be placed in the same group. Sometimes the web server user (e.g., using Apache web server as part of XAMPP) is called www-data.

2. Groups
The following Linux command(s) show to groups to which user robin belongs.
groups robin


3. Create a group
The following Linux command(s) create a group called rmsgroup and adds the user robin to that group.
sudo groupadd rmsgroup sudo usermod -a -G rmsgroup robin groups robin


4. End of page