Disable SELinux Disabling SELinux should be discouraged as it reduces the security posture of your server. However, should you need to do this, it’s not longer enough to change the setting in /etc/sysconfig/selinux This is because the system will now start with SELinux enabled but no policy set. The recommended way is now to add the following kernel options: selinux=0 Please refer: www.unixsysadmin.com/rhel-9-resources/
In RHEL 9 it can be done using grubby package and Configuring your bootloader to add selinux=0 to the kernel command line: $ sudo grubby --update-kernel ALL --args selinux=0 /etc/selinux/config file is not used to disable SELinux on RHEL 9. Please clear all your doubts because incomplete knowledge is more dangerous. Thanks
FYI: The SELINUX=disabled option in the /etc/selinux/config file was removed from the kernel with the RHEL9.0 release. The system boots up with SELinux enabled but no policy loaded if SELINUX=disabled is defined in /etc/selinux/config. The only way to turn it off is to run the kernel with the selinux=0 option. Use grubby to ensure that the bootloader always boots with selinux=0. # grubby --update-kernel ALL --args selinux=0 To restore SELinux to its default state, follow these steps. # grubby --update-kernel ALL --remove-args selinux Please note support for disabling SELinux through /etc/selinux/config has been removed in CentOS 9, and AlmaLinux 9. Reference: www.webconn.tech/kb/unable-to-disable-selinux
Thanks sir
Awesome difference session
NICE SESSION SIR
Thanks and welcome
Sirji nice session
Congrats for 18 k subscribers
Also openldap and samba pdc with create custom password policy and group policy
Very nice 👍 session.
Thank you 👍
What is the difference in their costs?
Congratulations
Sir I can use RHEL 9 instead of RHEL 8..
Does tomcat 7 is supported on RHEL 9
Is it possible to install RHL 9 on QEMU ?
Windows and linux domain join with openldap
Sir stratis available in rhel 9
Sir please zimbra email server b details sy batayega
Hi Sir,
RHCSA 8 and 9 exam mein questions kaun se different hai? Shyd VDO and Stratis k questions ab nai hai. What else Sir? Please reply
Vdo and stratis are not available in rhel 9.
@@NehraClasses Thanks Sir g
Sir...rhel 9 me vdo command kyu nhi chlta..?? Is there any other command for vdo create?
Vdo is not supported in rhel 9
Very informative video but you are a bit wrong about SELinux, I can still disable it.
Disable SELinux
Disabling SELinux should be discouraged as it reduces the security posture of your server. However, should you need to do this, it’s not longer enough to change the setting in /etc/sysconfig/selinux This is because the system will now start with SELinux enabled but no policy set. The recommended way is now to add the following kernel options:
selinux=0
Please refer: www.unixsysadmin.com/rhel-9-resources/
In RHEL 9 it can be done using grubby package and Configuring your bootloader to add selinux=0 to the kernel command line:
$ sudo grubby --update-kernel ALL --args selinux=0
/etc/selinux/config file is not used to disable SELinux on RHEL 9.
Please clear all your doubts because incomplete knowledge is more dangerous.
Thanks
FYI
ruclips.net/video/GGBZY-dALYA/видео.html
FYI:
The SELINUX=disabled option in the /etc/selinux/config file was removed from the kernel with the RHEL9.0 release. The system boots up with SELinux enabled but no policy loaded if SELINUX=disabled is defined in /etc/selinux/config.
The only way to turn it off is to run the kernel with the selinux=0 option.
Use grubby to ensure that the bootloader always boots with selinux=0.
# grubby --update-kernel ALL --args selinux=0
To restore SELinux to its default state, follow these steps.
# grubby --update-kernel ALL --remove-args selinux
Please note support for disabling SELinux through /etc/selinux/config has been removed in CentOS 9, and AlmaLinux 9.
Reference: www.webconn.tech/kb/unable-to-disable-selinux
Now tell me, who is wrong??
sir i m doing rhcsa 8 from cms institute but online search rhcsa 8 expired in may 2023 please guide
Better do get certified on RHEL 9
Please share iso download link of rhel 9