Question: Managing Users and Groups - TASKS 3 . 1 . Enter command history c command . 3 . 2 . Create the file / tmp

Managing Users and Groups - TASKS3.1. Enter command history c command.3.2. Create the file /tmp/yourGroupname_A.txt (e.g.3Ninjas_A.txt)[1]3.3. Give everyone full permissions on /tmp/yourGroupname_A.txt [1]3.4. Enter a command to show the last 3 lines of /etc/group, then rerun it and append the outputs to /tmp/yourGroupname_A.txt (e.g.3Ninjas_A.txt)[1]3.5. On CLI, use echo command to summarize what /etc/group is used for. [1]3.6. Enter a command to show the last 3 lines of /etc/shadow, then rerun it and append the outputs to /tmp/yourGroupname_A.txt [2]3.7. On CLI, use echo command to summarize what /etc/shadow is used for.[1]3.8. Enter a command to show the last 3 lines of /etc/passwd, then rerun it and append the outputs to/tmp/yourGroupname_A.txt[2]3.9. On CLI, use echo command to summarize what /etc/passwd is used for.[1]3.10. Install the command finger[2]3.11. Create the group called ORS2024 with group ID 20248[2]3.12. Create the user with following details:[3]Login namemosesshell/bin/bashFull nameMoses MabenaHome folder/homestu/mosesDefault groupORS2024Group ID202483.13. Set password for moses to be Moshe@1234(not with Quotation marks)[2]3.14. Make sudo an additional group for moses [2]3.15. Enter a command to show only the line having moses in the file that contains sudo members, append the outputs to /tmp/yourGroupname_A.txt[2]3.16. On CLI, substitute user and login as moses[2]3.17. Rename the group ORS2024 to Students[1]3.18. Use chgrp command to change the group owning the file /tmp/yourGroupname_A.txt to be sudo [1]3.19. Create a group called ICTStudents[1]3.20. Use chown command to change the group owning the file /tmp/yourGroupname_A.txt to be ICTStudents[1]3.21. Use any command to change ownership of /tmp/yourGroupname_A.txt to be owned by user moses[1]3.22. Enter command history >>/tmp/yourGroupname_HistoryA.txt(note the different file name = yourGroupname_HistoryA.txt NOT yourGroupname_A.txt)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!