How do i restore the default selinux context of a file on redhat?
hawksbill last edited by
Man page for restorecon: https://www.lightnetics.com/post/4088
If /usr/sbin/cupsd was anything other than cupsd_exec, this command will revert it back to what it should be.
$ sudo restorecon -v /usr/sbin/cupsd restorecon reset /usr/sbin/cupsd context system_u:object_r:bin_t:s0->system_u:object_r:cupsd_exec_t:s0
© Lightnetics 2018