Tag Archives: Linux

SELinux

Enforce policy:
Edit selinux configuration:

Make sure the following settings are:

 

Install semanage tool:
Find a package that contains semanage:

For example:

will install semanage

Change default SSH Port to 777:
Run semanage tool:

Configure sshd to use port 777 and restart ssh deamon:

If SELinux is not configured, secure log will display error: Bind to port 777 onĀ  0.0.0.0 failed: Permission denied.