Re: Resetting SELinux to default

Thomas Mueller <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.