Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Command line - Terminal Submit commands in one word file   Log as root 1

Computer Science Sep 09, 2023

Command line - Terminal

Submit commands in one word file

 

Log as root

1. Add four new users: manager1, manager2, sale1and sale2 and set their password

2. Create two groups: managers and sales

3. Add the two users manager1 and manager2 to the group managers

4. Add the two users sale1 and sale2 to the group sales

5. Create a new directory /DOCS

6. Allow any user to read ,write and execute to the /DOCS directory but only the user owner

or root can delete or rename the files or subdirectories in the /DOCS directory

Log as manager1

7. Create a new directory /DOCS/MgrDocs

8. Create and edit a new file /DOCS/MgrDocs/project1

9. Change the group owner of the directory MgrDocs and the files within it to managers

10. Change the permission of the directory MgrDocs and the files within it to allow managers

to read write and execute, and deny other users.

Log as manager2

11. Are you able to delete the MgrDocs folder

12. Verify if you can access the MgrDocs folder

13. Are you able to make a change to project1

14. Are you able to create a new file project2 in MgrDocs

15. Change the group owner of your file project2 to managers

16. Change the permission of your file project2 to allow read ,write ,execute to managers, and

deny other users.

17. Create and edit a new file /DOCS/doc2.txt

18. Change the group owner of your file doc2 to managers

19. Change the permission of your file doc2.txt to allow read, write, execute for managers,

and read only for the other users.

20. Create a new directory /DOCS/Infos

21. Change the group owner of the directory /DOCS/Infos to managers

22. Allow managers to read, write and execute to the /DOCS/Infos directory but only the user

owner or root can delete or rename the files within it. Other users have no access.

23. Create and edit a new file /DOCS/Infos/info2.txt

24. Change the group owner of the file info2.txt to managers

25. Change the permission of your file info2.txt to allow read, write, execute for managers,

and no access for other users.

Expert Solution

For detailed step-by-step solution, place custom order now.
Need this Answer?

This solution is not in the archive yet. Hire an expert to solve it for you.

Get a Quote
Secure Payment