In this eighteenth and final lab of the Linux Series, the objective was to enhance server security by installing and configuring SELinux (Security-Enhanced Linux) on App Server 3 within the Stratos data center.
Lab Objectives
The goal was to initiate security testing by installing specific SELinux packages and ensuring the system is set to a disabled state following the next scheduled reboot.
Key Procedural Steps
Server Access:
Logged into App Server 3 (stapp03) as user banner.
Authenticated using the provided password to gain terminal access.
Package Installation:
Verified if any SELinux packages were already present using the package manager.
Installed the required security packages: selinux-policy, selinux-policy-targeted, and policycoreutils.
Configuration for Persistent Disabling:
Accessed the SELinux configuration file at /etc/selinux/config.
Modified the SELINUX= directive from enforcing to disabled.
Verified the change in the configuration file to ensure it would take effect upon the next reboot.
Final Verification:
Confirmed that a system reboot was not required immediately, as a maintenance reboot was already scheduled.
Ensured the final status after the planned reboot would correctly reflect the disabled state.
By completing these steps, the foundational security packages were prepared for future testing while ensuring the current application environment remains stable during the transition.
#LinuxAdmin #SELinux #SysAdmin #ServerSecurity #Nautilus #LinuxLabs #OtterTech