m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2023-08-17 10:30:05 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2023-08-17 10:30:05 +0200
commit6a7f8ccf0e41ae18fcc69d45c1ae88d473351b57 (patch)
tree8dfc86f9a9eb9d2cb7a9079ad08fbbb69879df25
parent2647e1c1ddcd10faab4f71a81d0f78cb96600516 (diff)
Add listing user groups
-rw-r--r--user-management.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/user-management.md b/user-management.md
index 0f99f1a..09d5d15 100644
--- a/user-management.md
+++ b/user-management.md
@@ -10,3 +10,7 @@
## Adding user to a group
gpasswd -a user group
+
+## Listing users' groups
+
+ getent group