this post was submitted on 19 Apr 2024
168 points (97.7% liked)

Linux

5873 readers
266 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 36 points 9 months ago (1 children)

If you want to add an existing user to an existing group, use:

usermod -a -G <group> <user>

[โ€“] [email protected] 2 points 9 months ago

I like gpasswd -a <user> <group>