In: Computer Science
In Kali Linux, create two users Guest2 and Guest3. Use the user (for yourself in Question 1) to create a directory Ex-dir containing a text file File1.txt. I. Display the owner and group for the directory Ex-dir; (Take a screenshot of the command and its output) II. Change the group of the directory Ex-dir to Guest2; (Take a screenshot of the command) III. Change the permission mode of Ex-dir such that Guest 2 (as a group user) has permissions read and write. Try to create a file File2.txt in the directory with the 1 login users Guest 2 and yourself and check the difference. (Take a screenshot of the outputs) IV. Assign Guest3 (as other users) only execute permission to the directory. V. Can Guest3 display the content of File1.txt in the directory? Justify your answer.
Answer 1
*************
Answer 2
*************
Answer 3
*************
sudo chmod g=rw Ex-dir
Answer 4
*************
sudo chmod o=+x Ex-dir
Answer 5
**************
Guest3 has execution rights only so it can not read-write to the files
Thanks