To create group, user this command
To add a new user called ken to group itdept
Setup password for ken
To check whether user in a group or not
Add existing user to a group
# groupadd itdept To add a new user called ken to group itdept
# useradd -G itdept kenSetup password for ken
# passwd kenTo check whether user in a group or not
# id kenAdd existing user to a group
# usermod -a -G itdept ian
Comments
Post a Comment