Question: Managing Users and Groups - TASKS 3 . 1 . Enter command history c command . 3 . 2 . Create the file / tmp
Managing Users and Groups TASKS Enter command history c command Create the file tmpyourGroupnameAtxt egNinjasAtxt Give everyone full permissions on tmpyourGroupnameAtxt Enter a command to show the last lines of etcgroup then rerun it and append the outputs to tmpyourGroupnameAtxt egNinjasAtxt On CLI, use echo command to summarize what etcgroup is used for. Enter a command to show the last lines of etcshadow then rerun it and append the outputs to tmpyourGroupnameAtxt On CLI, use echo command to summarize what etcshadow is used for. Enter a command to show the last lines of etcpasswd then rerun it and append the outputs totmpyourGroupnameAtxt On CLI, use echo command to summarize what etcpasswd is used for. Install the command finger Create the group called ORS with group ID Create the user with following details:Login namemosesshellbinbashFull nameMoses MabenaHome folderhomestumosesDefault groupORSGroup ID Set password for moses to be Moshe@not with Quotation marks Make sudo an additional group for moses Enter a command to show only the line having moses in the file that contains sudo members, append the outputs to tmpyourGroupnameAtxt On CLI, substitute user and login as moses Rename the group ORS to Students Use chgrp command to change the group owning the file tmpyourGroupnameAtxt to be sudo Create a group called ICTStudents Use chown command to change the group owning the file tmpyourGroupnameAtxt to be ICTStudents Use any command to change ownership of tmpyourGroupnameAtxt to be owned by user moses Enter command history tmpyourGroupnameHistoryA.txtnote the different file name yourGroupnameHistoryA.txt NOT yourGroupnameAtxt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
