sobota 15. mája 2021

How to disable selinux in GRUB?

Many administrators hate selinux. We can disable in GRUB in boot process.

Just simple:

When server is booting, you add selinux=0

As you see:

1) selinux is enabled:





2) During the booting in GRUB process, select kernel and press e as edit



3) you see line linux16 and write selinux=0

 



4) press ctrl+x and system is booting 


5) login to linux and check selinux status:




6) for permanent disabling, you have to edit in /etc/grub2.cfg







see:



1 komentár:


  1. Thanks for sharing this.,
    Leanpitch provides crash course in Servant Leadership ,everyone can use it wisely.
    Servant Leadership course
    scrum master servant leadership

    OdpovedaťOdstrániť