proftpd logs

Paul Howarth paul at city-fan.org
Fri Apr 7 13:05:39 UTC 2006


proftpd likes to handle its own logging, and needs the following before 
it will work:

module proftpd 0.2;

require {
         class dir { getattr search };

         type ftpd_t;
         type xferlog_t;
};

allow ftpd_t xferlog_t:dir { getattr search };


This is for the following proftpd log setup:

   ExtendedLog /var/log/proftpd/access.log WRITE,READ default
   ExtendedLog /var/log/proftpd/auth.log AUTH auth

This is the default in the Extras package if you uncomment the anonymous 
ftp server bits from the included configuration file:

http://cvs.fedora.redhat.com/viewcvs/devel/proftpd/proftpd.conf?root=extras&view=markup

Paul.




More information about the fedora-selinux-list mailing list