Home > Linux > Linux Add User To Existing Group

Linux Add User To Existing Group

January 8, 2014

Add existing user tony to existing ftp group.
# usermod -a -G ftp tony

Find out user group identity.
# groups tony

Remove user from a group.
# usermod -G {groupname1 to keep, groupname2 to keep} {username}

Advertisements
Categories: Linux Tags: , ,
%d bloggers like this: