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

Linux

4964 readers
299 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 36 points 5 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 5 months ago

I like gpasswd -a <user> <group>