Frequently Asked Question

How to add groups to a system?
Last Updated 2 months ago

1. Introduction

In this guide we will describe how to create groups on one of your VM's. You can check the manual of your distribution in the terminal with man groupadd

for more technical information.
This article goes hand in hand with the User Creation Article.

Typically a dedicated group is required for read and write access to your EO-Storage.
We will provide you with a group ID during the setup and create the group on your initial VM.

2. Creating a usergroup

To a create group, use the groupadd command:

root@eodc:~$ groupadd -g GROUP_ID group_name

Example using group ID 5000:

root@eodc:~$ groupadd -g 5000 group_name

3. Add a Group to an existing User

Often used flags are -a (append) and -G (group). This tells usermod we are appending to the group name that follows the option.

ubuntu@eodc:~$ sudo usermod -aG sudo your_user
ubuntu@eodc:~$ sudo usermod -aG group2,group3,group4 your_user

You can check the user groups with the id command

ubuntu@eodc:~$ id your_user

Loading ...