Re: How do you reset Selinux back to default?

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

 



On 03/13/18 09:28, ToddAndMargo wrote:
> On 03/12/2018 04:20 PM, Ed Greshko wrote:
>> On 03/13/18 07:02, ToddAndMargo wrote:
>>> Hi All,
>>>
>>> How do you set SELinux back to default and start over?
>>
>> You mean for the entire file system?  If so, "fixfiles onboot"  will setup the
>> machine to relabel on the next reboot.
>>
>> See the "fixfiles" man page.
>>
>> Alternatively, you can "touch /.autorelabel" and reboot.
>
> Hi Ed,
>
> Thank you!
>
> I mean before I started adding things to SELinux based on
> SEAlerts and such.  In other word, set SELinux back to
> the way I found it after I installed Linux

It will relabel files back to their "default" selinux context.  However, if you added
your own policy or made changes to existing policies I believe they will remain.

-- 
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux