Question: 2. You will create users and groups through the command line using useradd and groupadd. Both programs are in /usr/sbin, which should be in your

2. You will create users and groups through the command line using useradd and groupadd. Both programs are in /usr/sbin, which should be in your PATH; if not, you will have to specify the full path in the commands. Type useradd and create an account for Ruth Underwood giving her name as a comment, . What command did you enter? Use the passwd command to give her an initial password of xylophone a. add her to the group cit371, and give her an username of underwood What warning message did you get because of the password? b. Use groupadd to create two groups: students and minjas. What commands did you enter? Now create the group dummies and give the group the GID of 2000. What command did you enter? c. Create the following users with the given names and usernames and use the defaults for everything else except as noted. Place the instruction used into your answers. i. Suzie Creamcheese, creamcheeses (username), default login shell /bin/tcsh ii. Eric Cartman, cartmane (username), groups cit371 and informatics, UID of 1001 (user ID may not be unique, if not then fix the issue and make sure that multiple users can share the same user ID!! iv. CIT 371 Student, cit371 (username). What error dig this give you? To fix the problem, create the account with no private group. d. Use the passwd to give the three users from c initial passwords of xyz12abc, cheesypoofs and a password of your own making respectively. What warnings did each give you ifany? e. Use userdel to delete marst. What command did you enter? Use userdel to delete creamcheeses but leave creamcheeses's home directory. What command did you enter? Type ls /home, of marst and creamcheeses, do either still have a directory? 2. You will create users and groups through the command line using useradd and groupadd. Both programs are in /usr/sbin, which should be in your PATH; if not, you will have to specify the full path in the commands. Type useradd and create an account for Ruth Underwood giving her name as a comment, . What command did you enter? Use the passwd command to give her an initial password of xylophone a. add her to the group cit371, and give her an username of underwood What warning message did you get because of the password? b. Use groupadd to create two groups: students and minjas. What commands did you enter? Now create the group dummies and give the group the GID of 2000. What command did you enter? c. Create the following users with the given names and usernames and use the defaults for everything else except as noted. Place the instruction used into your answers. i. Suzie Creamcheese, creamcheeses (username), default login shell /bin/tcsh ii. Eric Cartman, cartmane (username), groups cit371 and informatics, UID of 1001 (user ID may not be unique, if not then fix the issue and make sure that multiple users can share the same user ID!! iv. CIT 371 Student, cit371 (username). What error dig this give you? To fix the problem, create the account with no private group. d. Use the passwd to give the three users from c initial passwords of xyz12abc, cheesypoofs and a password of your own making respectively. What warnings did each give you ifany? e. Use userdel to delete marst. What command did you enter? Use userdel to delete creamcheeses but leave creamcheeses's home directory. What command did you enter? Type ls /home, of marst and creamcheeses, do either still have a directory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
