Answered step by step
Verified Expert Solution
Question
1 Approved Answer
At the command prompt, type touch / public / user 1 file and press Enter. Next, type ls - l / public at the command
At the command prompt, type touch publicuserfile and press Enter. Next, type ls l public at the command prompt and press Enter. What files exist in this directory and who are the owners?
At the command prompt, type rm publicuserfile and press Enter. Were you prompted to confirm the deletion of the file?
At the command prompt, type rm publicrootfile and press Enter. Note the error message that you receive because of the sticky bit.
Type exit and press Enter to log out of your shell.
Switch to a commandline terminal tty by pressing CtrlAltF and log in to the terminal using the user name of root and the password of LINUXrocks!.
At the command prompt, type touch aclfile and press Enter. Next, type getfacl aclfile at the command prompt and press Enter. Are there any additional entries beyond user, group, and other?
At the command prompt, type setfacl m u:user:r aclfile and press Enter. Next, type ls l aclfile at the command prompt and press Enter. Is there a symbol following the mode? Next, type getfacl aclfile at the command prompt and press Enter. Explain the permissions. When would this permission set be useful?
At the command prompt, type setfacl b aclfile and press Enter. Next, type ls l aclfile at the command prompt and press Enter. Is there a symbol following the mode?
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