Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions