LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   selinux (https://www.linuxquestions.org/questions/linux-server-73/selinux-772681/)

mrlinux2000 12-01-2009 08:46 AM

selinux
 
hello

i want to send mails from http , but i can't because of selinux.
i want to change http_can_network_connect to 1 , i used setsebool http_can_network_connect 1, but it did not wrok and with "vi" also impossible, how can i change it definitly

IanVaughan 12-01-2009 12:04 PM

You could just disable selinux ?
Code:

chkconfig selinux off

chrism01 12-01-2009 06:32 PM

Did you use the -P switch to persist across reboots?
http://linux.die.net/man/8/setsebool

mrlinux2000 12-02-2009 03:33 AM

thanx i dont want to disable selinux, and also setsebool is it permanent?

drstupid 12-02-2009 03:43 PM

yesd its persistent across reboots, also to get the boolean you can use getsebool and then grep for samba ot httpd etc

John VV 12-02-2009 10:45 PM

mrlinux2000

Quote:

thanx i dont want to disable selinux, and also setsebool is it permanent?
it would be VERY HELPFUL if we knew what operating system you are using ???
if fedora then there is a nice gui tool to configure it

if RHEL / CentOS there are some gui tools

mrlinux2000 12-06-2009 06:03 AM

am using FC8

John VV 12-06-2009 08:14 PM

the se gui and settings tool for the dead and unsupported fedora 8 was no good
please install a supported version of fedora
that would be fedora 12

fedora 8 is insecure .
and hit it's End of Life a year ago


All times are GMT -5. The time now is 09:41 AM.