groupadd group creates a group called group groups username list the group(s) that username belongs to gpasswd –a –d username group the -a switch adds username to group . The –d switch removes username from group passwd initiates the process for changing your password su switch to a different user or super user sudo command runs command with superuser access (to do this user first neesds to be listed in /etc/sudoers) useradd useradd -c "normal user" -d /home/userid -g users\ -G groupname1,groupname2 -s\ /bin/bash userid userdel –r userid deletes userid (-r to delete home directory)
KTU FOSS Lab Solutions-by Dr Binu V P