LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-11-2004, 07:35 AM   #1
MWFlint
LQ Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
selinux + vsftp


I just set up fedora core 2 with selinux enabled. I'm having a problem getting vsftp working. Here is what's happening:

Laptop:~ MikeF$ ftp 192.168.0.15
Connected to 192.168.0.15.
220 (vsFTPd 1.2.1)
Name (192.168.0.15:MikeF): flintm
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/flintm
ftp: Login failed.
ftp>


I had vsftp running before on FC2 without selinux. Is the problem that the vsftpd process cannot get rights to the user directory? How do I fix this?
 
Old 05-09-2006, 05:26 PM   #2
jimuchang
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
I ran into the same problem, but on a FC5 machine running vsftp.

Here's what I did to correct the problem:

1. Log into the Gnome Desktop.
2. Click on System > Administration > Security Level and Firewall
3. enter password for root
4. on the Security Level Configuration GUI, click on the SELinux tab
5. click on Modify SELinux Policy to show list of applications.
6. click on FTP
7. check Allow ftp to read/write files in the user home directories
8. Click on OK button at bottom of GUI.
9. Restart vsftp

and that fixed my problem. Hope this helps someone outthere.

jimu
 
  


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
selinux.h ? DJ Shaji Red Hat 1 03-26-2005 12:57 PM
Do I need SELinux? Please help! xbennyboy Linux - Software 2 01-02-2005 05:23 PM
SELinux winxshadi76 Linux - Newbie 1 12-03-2004 11:04 AM
what is SELINUX?? masand Linux - Security 3 09-02-2004 07:57 AM
Selinux fedorafreak Fedora 2 08-15-2004 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:36 AM.

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