Как отклонить или отклонить команды FTP для некоторого пользователя на proftpd?

Я использую Spiceworks в своем офисе, и можно использовать его для сканирования для всех сетевых устройств в офисе, включая сетевые принтеры.

2
задан 24 February 2016 в 02:34
1 ответ

Related to this Documentation (In the example section) I use LIMIT Command to reject the FTP Commands. The following was add to the proftpd.conf:

<Directory /var/ftp>
 <Limit ALL>
      DenyAll
 </Limit>

 <Limit DIRS READ>
    AllowUser user1
    AllowUser user2
    DenyAll
 </Limit>
</Directory>

User3 can use the LIST Command (ls) but proftpd deny the command and return an empty result and the other User (User1 and User2) can use this Commands.

0
ответ дан 3 December 2019 в 15:21

Теги

Похожие вопросы