Question: Draw a Domain Access Matrix based on the following requirements: User1 , User2 , Group1, Group2 are the Domains Printer, /home/repo/repo.py , User1, User2 are

  1. Draw a Domain Access Matrix based on the following requirements:


  • User1 , User2 , Group1, Group2 are the Domains


  • Printer, /home/repo/repo.py , User1, User2 are the Objects

[ Note: Here User1 and User2 are given as objects because in UNIX/LINUX we can switch from one user domain to another]


Access Rights Set

User1:

  • [ Printer , { Print}] , [/home/repo/repo.py , { Read, Write }] , [ User2,{Switch}]

User2:

  • [/home/repo/repo.py,{Read}]


Group1:

  • [ Printer,{print}], [/home/repo/repo.py, {Read, Write}]


Group2:

  • [/home/repo/repo.py,{Read,Write,Execute}]



  1. What Command is used to switch from one user domain to another in UNIX/LINUX?




  1. What Command is used to execute commands with high privilege?




  1. Assume user tom, creates a file tomfile.py and then sets the SETUID of this file. What would happen when the user jerry executes this file? Explain your answer





  1. Write the command to set the SETUID of a file.







  1. Create a file a.txt and set the file following file permission:

U

G

O

RWX

RW

R






  1. What is Principle of least privilege? Give an example how it can be implemented

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 Databases Questions!