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

Linux

5090 readers
56 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] drspod@lemmy.ml 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@lemmy.world 2 points 6 months ago

I like gpasswd -a <user> <group>