LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-02-2008, 10:26 PM   #1
hattori.hanzo
Member
 
Registered: Aug 2006
Posts: 168

Rep: Reputation: 15
selinux restricting cvsweb from running


I installed cvsweb but it appears selinux is preventing it from running (cvsweb.cgi).

I dropped into selinux permissive mode and then cvsweb runs without issues.

How could I excempt cvsweb from the selinux restrictions.

I am running fedora 8.

regards
 
Old 04-03-2008, 09:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
There should be AVC messages logged. You can run those through audit2allow and build a local policy. This should add cvsweb rather than exempt it from being subject to the policy, you shouldn't want that on 'net facing applications unless your 'net is private and populated with only trusted users. Searching LQ or the Fedora site for "audit2allow" should show steps. If unsure, ask away.
 
Old 04-04-2008, 01:04 AM   #3
hattori.hanzo
Member
 
Registered: Aug 2006
Posts: 168

Original Poster
Rep: Reputation: 15
Thanks. Exactly what I was looking for.

Cheers.
 
  


Reply



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
CVSweb gobi_dgm Fedora 12 10-26-2006 05:50 AM
CVSweb gobi_dgm Linux - Software 2 10-26-2006 05:44 AM
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Distributions 3 09-21-2006 11:30 PM
restricting root with selinux wojtekjs Linux - Security 1 12-15-2005 10:00 PM
GENTOO - problem running 'make load' for selinux policy Snerkel Linux - Software 1 01-24-2005 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:54 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