this post was submitted on 19 Apr 2024
171 points (100.0% liked)

Linux

7040 readers
333 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

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 1 year 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 1 year ago

I like gpasswd -a <user> <group>