Question: Access Control A restaurant processes orders with a FIFO strategy. Orders are stored in file orders.txt . Program enqueue modifies orders.txt by adding an order
Access Control
A restaurant processes orders with a FIFO strategy. Orders are stored in file orders.txt Program
enqueue modifies orders.txt by adding an order to the tail of the queue. Program dequeue modifies
orders.txt by deleting the order at the head of the queue.
Define a UNIXbased ACL of the files so to ensure that the following access control policy is enforced by
the operating system:
willie and winona, the waiters, can add new orders, but cannot read nor delete existing orders;
charlie and cathy, the cooks, can read and delete existing orders, but cannot add new orders nor
carry out any other modification to orders. ;
mario, the maitre, must be able to read the orders and possibly do other actions
Please provide your answer by completing the dump of the shell command assuming that all relevant
files are in the current folder:
orders.txt
waiters enqueue
cooks dequeue
where cooks is a group containing charlie and cathy and waiters is a group containing willie and
winona.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
