LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


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

Rep: Reputation: 0
ftp + selinux


Has anyone been able to get vsftp working on a system with the selinux module set to enforcing? It works fine if I set selinux to permissive. Here is the error I'm getting.

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.


Here is the messages log error message I receive for this error.

Oct 12 07:39:25 server1 kernel: audit(1097584765.324:0): avc: denied { getattr } for pid=4087 exe=/usr/sbin/vsftpd path=/proc/4087/mounts dev=proc ino=267845648 scontext=root:system_r:ftpd_t tcontext=root:system_r:ftpd_t tclass=file
Oct 12 07:39:25 server1 kernel: audit(1097584765.332:0): avc: denied { search } for pid=4090 exe=/usr/sbin/vsftpd name=flintm dev=hda2 ino=3538946 scontext=root:system_r:ftpd_t tcontext=root:object_r:user_home_dir_t tclass=dir

Any ideas how to get this working? In reality, only one user account will need to access ftp. Selinux is new to me, so I'm having a little difficulty understanding where to go from here. Any good sites explaining how security contexts work and how to change to context of running processes and file systems?

Thanks for any help you can provide.
 
  


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.h ? DJ Shaji Red Hat 1 03-26-2005 12:57 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
Selinux tessx Linux - General 3 05-22-2004 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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