Re: Resetting SELinux to default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/08/2018 04:14 PM, Mahmood Naderan wrote:
Hi,

What is the safest method to reset SELinux to its default configuration without reinstalling the operating system?


For filesystem labels:

touch /.autorelabel
reboot


For  modules I don't know how it could be achieved.

Some time semanage supports --local

semanage ports --list --local

semanage booleans --list --local

Which should list what was modified from default policy.

- Thomas

_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux