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

Linux

5081 readers
32 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 6 months ago (1 children)

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

usermod -a -G <group> <user>

[โ€“] mojo_raisin 2 points 6 months ago

I like gpasswd -a <user> <group>