Enforcing SELinux
Create a policy and ensure that PAM works when SELinux is set to enforcing:
Check that the following packages are installed on Oracle Linux:
rpm -q selinux-policy-targeted policycoreutils libselinux-utils libselinux-python libselinux
Note:
When you change the SELinux mode from Permissive or Disabled to Enforcing, then you must reboot.