Security-Enhanced Linux
If you have SELinux enabled, the StrongDM gateway installation will fail. You'll need to set SELinux in permissive mode on each host before you attempt to deploy a gateway.
Disable SELinux
Security-Enhanced Linux, or SELinux, allows you to set access control through policies.
Check the SELinux state:
getenforceIf the output is either Permissive or Disabled, you should be set. If the output is enforcing, continue to the next step.There are two ways that you can disable SELinux - either by editing a config file, or by using the setenforce command
If editing the config file, Open the
/etc/selinux/configfile (in some systems, the/etc/sysconfig/selinuxfile).Change the line
SELINUX=enforcingtoSELINUX=permissive.Save and close the file.
Reboot your system
If using the setenforce simply run the command
sudo setenforce 0After performing either of the above methods, check again using
getenforce$ getenforce Permissive
Re-Enable SELinux
Once you've deployed a gateway, you'll want to re-enable SELinux. This is just a reverse of the disabling process..
Check the SELinux state:
getenforceIf the output isEnforcing, SELinux is already enabled. If the output is Permissive or Disabled, continue to the next step.There are two ways that you can re-enable SELinux - either by editing a config file, or by using the
setenforcecommandIf editing the config file, Open the
/etc/selinux/configfile (in some systems, the/etc/sysconfig/selinuxfile).Change the line
SELINUX=permissivetoSELINUX=enforcing.Save and close the file.
Reboot your system
If using the
setenforce, simply run the commandsudo setenforce 1.After performing either of the above methods, check again using
getenforce$ getenforce Enforcing
Last updated
Was this helpful?

