News:

SMF - Just Installed!

Main Menu

How would I install SELinux safely?

Started by kalpana, Nov 06, 2023, 03:30 AM

Previous topic - Next topic

kalpana

When attempting to install SELinux I had ran into a bootloop after a reboot, possibly due to terrible permission defaults, which had forced me to reinstall Linux. How can I safely approach and install SELinux on Ubuntu 20.04 LTS?

Steps I took:
Disable and uninstall AppArmour
Install SELinux through APT
Set SELinux to "Enforcing"
Set SELinux to enable at reboot
Run "sudo reboot"
Decrypt nvme0n1p
and bootloop.

System Info:

Linux 5.13.0-40-generic Ubuntu 20.04.4LTS

Graphics: NVidia 1660Ti 6GB OEM Part
CPU : AMD RYZEN 3700X
Motherboard: Unknown OEM Part
Memory: Micron 3200GT/s DDR4 OEM Part
description: Desktop Computer

product: ROG Strix GA15DH

vendor: ASUSTeK COMPUTER INC.

version: 1.0

width: 64 bits

capabilities: smbios-3.1.1 dmi-3.1.1 smp vsyscall32

configuration: boot=normal chassis=desktop family=ROG Strix