How Add Multiple Groups in Linux?
Contents

To create a new group type groupadd followed by the new group name. The command adds an entry for the new group to the /etc/group and /etc/gshadow files. Once the group is created, you can start adding users to the group .

Can a file have multiple groups in Linux?

It is not possible to have a file owned by multiple Linux groups with traditional Unix permissions. (However, it is possible with ACL.) But you might use the following workaround and create a new group (e.g. called devFirms ) which will include all users of the groups devFirmA , devFirmB and devFirmC .

How do I create multiple groups?

Creating Multiple Groups

  1. Go to Gateway of Tally > Accounts Info. > Groups > Create (Multiple Groups).
  2. Select the group category in the field Under .
  3. E nter the Name of the group. The screen appears as shown below:
  4. Select All Items in the field Under to create multiple groups of different categories.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest