This blog is now in process of migration to urgen.com.np
#useradd -g $GROUP $newUSER
# groupadd NewGroupName
add secondary groups to a user, with the option “-G”
usermod -G $GROUP $USER
You can also remove a use from secondary group with:
gpasswd -d $USER $GROUP
No comments:
Post a Comment