Selinux

De WikiMar
Salta a la navegació Salta a la cerca


Troubleshooting

List blocked things from selinux

grep AVC /var/log/audit/audit.log


Add new port to service

List ports assigned

semanage port -l | grep ssh 


Add a new port that is already used

semanage port -a -t ssh_port_t -p tcp 2222


Add a port that is already used

(m=modify)

semanage port -m -t ssh_port_t -p tcp 23