Question

In: Computer Science

The two standard ACL commands are getfacl and setfacl. 1. What is the difference between them?...

The two standard ACL commands are getfacl and setfacl.

1. What is the difference between them?

2. How can setfacl help achieve security hardening?

Solutions

Expert Solution

ACL comes into picture with more flexibility to give permissions to users or groups for particular file or directories. If a user is not a part of group but still wanted an access to the files which group is having, then without adding it to group permissions could be given.

There are two ACL commands getfacl and setfacl.

1)

getfacl : is uset to get files access control list describing the users or groups what all permissions one have

setfacl : is used to set the file access control list describing whom to give and what all permissions to be given.

2) setfacl can help to achieve security hardening because ACL has more granular permission structure. Tight permission is applied through ACL when a file acces is given to a particular user.

Like,

setfacl -m u:mohit:r test1

giving read permission for test1 folder inspite of owner and group people have more permission which will not effect their work. If ACL is applied to a fle the ls command shows permissions with + sign infromt of the permissions of that file overlooking the use of additional permissions to a user. Even setfacl can be used to remove permissions.


Related Solutions

List and describe two (2) ACL commands that may be used in responding to Case#2 in...
List and describe two (2) ACL commands that may be used in responding to Case#2 in Chapter 9
Currency options. What are the two types, and what is the difference between them? What is...
Currency options. What are the two types, and what is the difference between them? What is the break-even point for each type? Conceptually understand and be able to mathematically work with them. A. You purchase a put option on the Canadian dollar with a strike price of $0.91 and a premium of $0.02. If before expiration the spot rate of the Canadian dollar is $0.92, will you exercise the option? b. What if the spot rate before expiration is $0.88?...
In C language: What is the difference between the step and stepi gdb commands? Why is...
In C language: What is the difference between the step and stepi gdb commands? Why is this difference significant?
1. What is the key difference between a population standard deviation and the standard deviation of...
1. What is the key difference between a population standard deviation and the standard deviation of a sampling distribution? 2. How does this effect the normal distribution for the sample? (i.e. shape)
What is the difference between an emissions standard and an ambient standard?
What is the difference between an emissions standard and an ambient standard?
What is a population, what is a sample, and what is the difference between them?
 What is a population, what is a sample, and what is the difference between them? What is a population? A. A population is the set of entities that are not contained in a sample. B. A population is a characteristic found by summarizing raw data. C. A population is a portion of the entities of interest to a researcher that the researcher uses to gather data. D. A population is the entire group of entities of interest to a researcher. E. A population is the range...
what is the difference between ls and ps commands please explain properly with writing and executing...
what is the difference between ls and ps commands please explain properly with writing and executing commands and state the differences. The name of subject is linux/unix
What is the difference between the standard deviation and the standard error? Is the standard error...
What is the difference between the standard deviation and the standard error? Is the standard error a standard deviation?
What is an asset? What is a liability? What is the difference between them? Can an...
What is an asset? What is a liability? What is the difference between them? Can an organization operate without current liabilities? Explain your answer.
What is the difference between an ideal standard and a practical standard? How can a standard...
What is the difference between an ideal standard and a practical standard? How can a standard cost system help manufacturers meet global competition?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT