I'm having trouble configuring SELinux to allow sending mail.

Reading the SELinux documentation I've found I can manage ports via the semanage command, but the command can't be found.

Is there another way to manage ports using SELinux, or a way for me to find this command? Worst case: Is there a way to disable SELinux, or switch to permissive mode without rebooting?

I'm running Fedora.

Thanks!

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

SELinux is a complicated beast I have managed to avoid so far (it's on the todo list somewhere!). However the one command most sysadmins will learn is the one to disable it:

setenforce 0

You can then use this command to check the status of SELinux:

getenforce

A quick google turned up this page on the subject of installing semanage, looks pretty simple.

link|improve this answer
That definitely worked. Im testing to see if it solves my mail issue. – CMaury Mar 8 '11 at 20:35
Mail still not working but at least now I know its not Selinux... Thanks for the help. Accepting answer. – CMaury Mar 8 '11 at 23:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.