9
Дек

FTP-сервер на OpenWrt

Создаем группу
echo web:x:101: >> /etc/group

Создадим пользователя и домашнюю директорию для ftp
Добавим его в группу nogroup (65534) и пользователя hd
echo hd:*:102:101:hd:/www:/bin/ash >> /etc/passwd
echo ftp:*:103:65534:ftp:/www:/bin/ash >> /etc/passwd
chgrp -R web /www
chown hd /www

Добавим пароль для пользователя hd
passwd hd

Установим пакет FTP-сервер
opkg update
opkg install pure-ftpd

Настройки FTP находятся в файле /etc/config/pure-ftpd.
Отредактируйте следующие строки:
option noanonymous ‘0’
option anonymouscantupload ‘1’
option syslogfacility ‘none’
option altlog ‘stats:/var/log/pureftpd.log’
option enabled ‘1’

Также удалите строку peruserlmits

Запустим FTP сервер:
/etc/init.d/pure-ftpd enable
/etc/init.d/pure-ftpd start

Пробуем зайти из браузера ftp://192.168.0.5/

Обратная связь

    The average number of adverse effects was 3. T max is 23 minutes in females and 32 minutes in males. What other drugs will affect doxercalciferol Viagra natural sin receta. Archived from the original on 2009-08-14.

    Talk to your doctor before using this form of cefadroxil if you have diabetes. What should I tell my healthcare team before starting CABLIVI? There is no FDA guidance on the use of Tetracycline (oral) with respect to specific gender populations https://www.apotheke-rezeptfreie.com/. Opper K, Uder S, Song K Development of Heterogeneous and Homogeneous Platforms for Rapid Analysis of DNA-Protein Interactions.