LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-11-2006, 11:34 AM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
How do you enable user directories for vsFTP under SELinux?


I am trying to reach my public_html directory from FTP. I can't do it. I temporarily disable SELinux using "setenforce 0". Now I can do it. So, SELinux is the problem. I look at the little GUI Security tool to disable SELinux, but in the change policy window I see an option to "Allow FTP to read/write in the user's home directory and I check it off thinking that will allow me to "cd" to my public_html directory. It doesn't do that. I reboot my Linux server thinking that is what needs to be done. Still doesn't work.

The more I am able to do what I want under SELinux, the more I like SELinux. But more and more the only solutions to confronting obstacles created by SELinux are to: A. Turn it off, B. Beg for help on line. Is there documentation somewhere? The FAQs and links provided by Fedora are only a little help.

What do I have to do to enable access to my public_html directory through SELinux?
 
Old 04-12-2006, 04:07 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Search on google for "selinux+vsftpd". There are several articles that you may find helpful.
 
Old 04-12-2006, 04:17 AM   #3
kadhiravan.r
Member
 
Registered: Nov 2004
Location: india/tamil nadu/chennai
Distribution: Linux 8.0
Posts: 37

Rep: Reputation: 15
type ls -Z in command line u will get the type of contest. change the home dir contest type like that .

try it .
 
  


Reply


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 + vsftp MWFlint Fedora 1 05-09-2006 05:26 PM
Should I enable selinux? xbennyboy Linux - Newbie 1 07-10-2004 05:59 PM
how to enable chmod on vsftp? jaitropfaim Linux - Software 1 03-12-2004 11:48 AM
Enable PHP in ~user Directories user1234 Linux - Software 1 03-11-2004 03:18 AM
VSFTP user directories SBSAdam Linux - Networking 0 02-23-2004 08:42 AM

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

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