quick howto for ftpd?
Joe Smith
jes at martnet.com
Fri May 2 02:10:20 UTC 2008
Dan wrote:
> ...
> Do you have selinux enabled? selinux could be stopping proftpd from
> accessing directory listings and accessing files.
> ...
Gack. Right, of course.
Google found me this:
$ man ftpd_selinux
where it tells me this:
> setsebool -P ftp_home_dir 1
>
> ftpd can run either as a standalone daemon or as part of the xinetd
> domain. If you want to run ftpd as a daemon you must set the
> ftpd_is_daemon boolean.
>
> setsebool -P ftpd_is_daemon 1
> service vsftpd restart
> ...
which gives me this:
# setsebool -P ftp_home_dir 1
# setsebool -P ftpd_is_daemon 1
libsemanage.dbase_llist_set: record not found in the database
libsemanage.dbase_llist_set: could not set record value
Could not change boolean ftpd_is_daemon
Could not change policy booleans
But apparently that doesn't matter because proftpd works now, but
pure-ftpd is still not cooperating.
Thanks!
<Joe
More information about the fedora-list
mailing list