---
title: "Discussion on \"Linux Primary vs Secondary User Groups\" | Hashnode"
description: "Discussion on \"Linux Primary vs Secondary User Groups\". Every user account in Linux belongs to a mandatory primary group and an optional secondary group(s).  Why do we need the distinction ? \nWhen a user account is created using either of the commands: adduser or useradd, the default is to create the user..."
url: "https://hashnode.com/posts/linux-primary-vs-secondary-user-groups/601ddf261054fa16dadd839d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linux Primary vs Secondary User Groups](https://blog.bezunesh.com/linux-primary-vs-secondary-user-groups?utm_source=hashnode&utm_medium=feed)

Every user account in Linux belongs to a mandatory primary group and an optional secondary group(s). Why do we need the distinction ? When a user account is created using either of the commands: adduser or useradd, the default is to create the user...

Feb 6, 2021 · 2 min read · blog.bezunesh.com  
Updated Feb 7, 2021  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#linux-basics](https://hashnode.com/tag/linux-basics)

## Written by

[Bezunesh](https://hashnode.com/@zeezee)

@zeezee

  
[View profile](https://hashnode.com/@zeezee)

Software Developer | Python | Django. Tech in Africa | Research | Startup | Entrepreneurship

## Responses 1

Markdown supported · ⌘↵ to post

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Feb 7, 2021](https://hashnode.com/posts/linux-primary-vs-secondary-user-groups/601ddf261054fa16dadd839d/comment/601ffd01636acc2a3822fc18)

Thanks for this article. Its simple and straight to the point.
