403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.46
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64
User : viralblo ( 1001)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/pure-ftpd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/pure-ftpd/README.SELinux
=============================
SELinux support for Pure-FTPd
=============================

With this package, Pure-FTPd is now protected in the same way VSFTPd and
ProFTPd are in Fedora.

Read Access
-----------
To allow files to be accessed by Pure-FTPd, you need either :
- to place them in /var/ftp
- to label them with the public_content_t. To do that, you can use::
    chcon -t public_content_t file_to_publish

Write Access
------------
If you wish to grant write access, you have to use the public_content_rw_t
type, for example with this command::
    chcon -t public_content_rw_t file_to_publish
and you have to turn on the allow_ftpd_anon_write boolean using 
system-config-securitylevel, or using the following command::
    setsebool -P allow_ftpd_anon_write 1

Access to home directories
--------------------------
If you want to publish files in a user's home directory, you have to turn
on the ftp_home_dir boolean, using system-config-securitylevel, or using
the following command::
    setsebool -P ftp_home_dir 1


Youez - 2016 - github.com/yon3zu
LinuXploit