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
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}]
What Command is used to switch from one user domain to another in UNIX/LINUX?
What Command is used to execute commands with high privilege?
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
Write the command to set the SETUID of a file.
Create a file a.txt and set the file following file permission:
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started