Identify the two commands that can be used to set SELinux file labels back to their default values.

Identify the two commands that can be used to set SELinux file labels back to their default values.

Identify the two commands that can be used to set SELinux file labels back to their default values.

A.
chcon

B.
fixfiles

C.
semanage fcontext

D.
restorecon

E.
matchpathcon

F.
opdate_selinux



Leave a Reply 3

Your email address will not be published. Required fields are marked *


rsm

rsm

Yes C and D. Both are discussed in detail in the Red Hat Security Documentation under the discussion on Apache

luis

luis

B,D

It is possible to relabel a file system using the fixfiles command.
Use the restorecon command to restore files to the default values according to the policy.

Red Hat 6 official doc