Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

File permissions and Access Control list [ACL] Working with the ACL to grant access to a file or directory (folder) and making changes with the

image text in transcribed

File permissions and Access Control list [ACL] Working with the ACL to grant access to a file or directory (folder) and making changes with the chmod command. {use the command line to perform the following - NOT from GUI} {hint: Read with getfacl and Sets with setfacl} 1. Create two new user accounts {name the first user account: sally} 2. Create one directory (Resource) and add two (2) files to that folder. Add some text to both files. 3. Show that the users, files, and directory has been created. 4. Using the "getfacl" command view the current ACL on the directory (Resource) and the two files from (Question2) 5. Add ACL permissions on the folder above using the "setfacl" command. {hint: use -R option} a. Give full access (read, write, execute) to user "sally and limited access to (read only) for the second user, on the Resource folder 6. Show the new permission on the folder and on each file. 7. Next - run the ls -1 a. After running the above is cmd, state how one can identify that the ACL is set on the file/folder 8. Next create a file in the Resource directory as user "sally" {hint: use su command) 9. Show file created by user "Sally" in the Resource folder 10.8. Next create a file in the Resource directory as the second user created above. If you are not able to create a file explain why not? and what need to be done to resolve this. 11. Use the "chmod" command to remove all (group, other) access for one (1) of the above files in Question2.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Question

Discuss why human resources managers need to understand strategy.

Answered: 1 week ago

Question

How is slaked lime powder prepared ?

Answered: 1 week ago

Question

Why does electric current flow through acid?

Answered: 1 week ago

Question

What is Taxonomy ?

Answered: 1 week ago

Question

1. In taxonomy which are the factors to be studied ?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago