Unable to connect via SSH into a Red Hat 6.x or 7.x installation with Selinux enforced. Su'ing twice to Authentication Services works fine.
vastool status reports INFO: SELinux enabled
WORKAROUND 1:
1 - Temporarily switch off SElinux:
echo 0 >/selinux/enforce
To confirm run the following which will print a "0" or "1" for permissive or enforcing:
cat /selinux/enforce
To set back:
echo 1 >/selinux/enforce
RESOLUTION 1:
1 - Download and then upgrade to a version of Safeguard Authentication Services that supports SELinux. (4.1.6 and above) Click Here to download.
2 - Configure the SELinux policy by running this command:
/opt/quest/bin/vastool configure selinux
3 - Run the /opt/quest/bin/vastool status command and check for this message:
INFO: SELinux enabled (Enforced), vasd policy is installed.
RESOLUTION 2:
If fully disabling SELinux is desirable in your environment the below steps will help.
1 - Edit the /etc/selinux/config file and change the SELINUX line to SELINUX=disabled
2 - Reboot
3 - Remove the pam_selinux lines out of /etc/pam.d/sshd.
4 - Restart sshd
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback 使用条款 隐私 Cookie Preference Center