add user to group

# official, cross distribution (tested with suse12, centos7, debian8)
usermod -a -G GROUPNAME USERNAME

usermod -a -G users user; # add user „user“ to group „users“

usermod -a -G sudo bob; # allows user bob to run processes with root-privileges temporarily

# debian8 only

adduser username group; # add username to the group

adduser user lpadmin; # adds the user "user" to the group "lpadmin" (if cups installed allows the user to add/delete printers)

User will have to re-login to active changes!

admin