All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <method@gentoo.org>
To: "James R. Marcus" <jmarcus@mvalent.net>
Cc: selinux@tycho.nsa.gov
Subject: Re: vsftpd with SELinux
Date: Tue, 13 Jul 2004 11:02:56 -0400	[thread overview]
Message-ID: <40F3F9A0.9030601@gentoo.org> (raw)
In-Reply-To: <200407131735.37408.russell@coker.com.au>

Russell Coker wrote:
> On Tue, 13 Jul 2004 14:24, "James R. Marcus" <jmarcus@mvalent.net> wrote:
> 
>>Jul  6 15:58:42 ftp avc:  denied  { getattr } for  pid=21671
>>exe=/usr/sbin/xinetd path=/usr/sbin/vsftpd dev=hda3 ino=438973
>>scontext=system_u:system_r:inetd_t tcontext=system_u:object_r:sbin_t
>>tclass=file
> 
> 
> It seems that /usr/sbin/vsftpd is mis-labelled on your system, it should have 
> context system_u:object_r:ftpd_exec_t not system_u:object_r:sbin_t.
> 

emerge selinux-ftpd
make -C /etc/security/selinux/src/policy/ reload
rlpkg vsftpd
/etc/init.d/vsftpd restart

and you should be all set


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-07-13 15:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13  4:24 vsftpd with SELinux James R. Marcus
2004-07-13  7:35 ` Russell Coker
2004-07-13 15:02   ` Joshua Brindle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-13  4:20 James R. Marcus
2004-07-13  1:49 James R. Marcus
2004-07-13  3:42 ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F3F9A0.9030601@gentoo.org \
    --to=method@gentoo.org \
    --cc=jmarcus@mvalent.net \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.