LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 12:04 PM   #2
IanVaughan
Member
 
Registered: Jun 2009
Location: Brighton, UK
Posts: 50

Rep: Reputation: 16
You could just disable selinux ?
Code:
chkconfig selinux off
 
1 members found this post helpful.
Old 12-01-2009, 06:32 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 03: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, 03: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, 10:45 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 06:03 AM   #7
mrlinux2000
Member
 
Registered: Feb 2008
Posts: 144

Original Poster
Rep: Reputation: 15
am using FC8
 
Old 12-06-2009, 08:14 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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



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 05:00 PM
"../system.h :selinux/selinux.h:no such file or directory" ashmita04 Linux From Scratch 4 02-05-2009 03:36 AM
SELinux SBN Linux - Security 2 01-21-2009 03:17 AM
HELP with SELINUX Iamriccati Linux - Newbie 4 12-03-2007 10:19 PM
what is selinux? mesh2005 Linux - General 2 01-04-2006 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:59 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
Open Source Consulting | Domain Registration