LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 12-01-2009, 09:46 AM   #1
mrlinux2000
Member
 
Registered: Feb 2008
Posts: 144

Rep: Reputation: 15
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
 
Old 12-01-2009, 01:04 PM   #2
IanVaughan
Member
 
Registered: Jun 2009
Location: Brighton, UK
Posts: 49

Rep: Reputation: 16
You could just disable selinux ?
Code:
chkconfig selinux off
 
1 members found this post helpful.
Old 12-01-2009, 07:32 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Did you use the -P switch to persist across reboots?
http://linux.die.net/man/8/setsebool
 
1 members found this post helpful.
Old 12-02-2009, 04:33 AM   #4
mrlinux2000
Member
 
Registered: Feb 2008
Posts: 144

Original Poster
Rep: Reputation: 15
thanx i dont want to disable selinux, and also setsebool is it permanent?
 
Old 12-02-2009, 04:43 PM   #5
drstupid
LQ Newbie
 
Registered: Dec 2009
Posts: 21

Rep: Reputation: 15
yesd its persistent across reboots, also to get the boolean you can use getsebool and then grep for samba ot httpd etc
 
0 members found this post helpful.
Old 12-02-2009, 11:45 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
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
 
1 members found this post helpful.
Old 12-06-2009, 07:03 AM   #7
mrlinux2000
Member
 
Registered: Feb 2008
Posts: 144

Original Poster
Rep: Reputation: 15
am using FC8
 
Old 12-06-2009, 09:14 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 13,535

Rep: Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807Reputation: 1807
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
 
1 members found this post helpful.
  


Reply

Tags
chkconfig, selinux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux McPriMa Linux - Newbie 2 08-05-2009 06:00 PM
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 04:36 AM
SELinux SBN Linux - Security 2 01-21-2009 04:17 AM
HELP with SELINUX Iamriccati Linux - Newbie 4 12-03-2007 11:19 PM
what is selinux? mesh2005 Linux - General 2 01-04-2006 12:33 PM


All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration