Proftpd
•
Ditulis oleh Tim Pasti Oke
Install Proftp server
Adding password for user openwrt
tutorial belong to : http://diantokam.blogspot.co.id/2012/11/openwrt-proftp-server.html
# opkg install proftpdEdit /etc/proftpd.conf# vi /etc/proftpd.confAdding new user for ftp account by editing /etc/passwd, in my case i added user openwrt, copy paste configuration from user ftp, but change user ID number and group name.
ServerName "ProFTPD Server"
ServerIdent on "FTP Server ready."
ServerType standalone
DefaultServer on
DefaultAddress 127.0.0.1
RequireValidShell off
Port 21
UseIPv6 off
Umask 022
MaxInstances 10
User nobody
Group nogroup
AuthUserFile /etc/passwd
DefaultRoot /home
AllowOverwrite on
MaxClients 10
MaxClientsPerHost 10
MaxClientsPerUser 10
MaxHostsPerUser 10
DeleteAbortedStores on
UserAlias anonymous ftp
# vi /etc/passwd-
root:$1$nvFplbd8$l05HR0mdTHcGprNaMg8QA1:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/home/ftp:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
openwrt:*:65538:55:openwrt:/home:/bin/false
Adding password for user openwrt
# passwd openwrtChange Otoritychmod o-rwx /etc/passwd
chmod o-rwx /etc/passwd-
chmod 777 /homeEnabling proftpd service upon start# /etc/init.d/proftpd enableTo start proftpd service# /etc/init.d/proftpd startTo stop proftpd service# /etc/init.d/proftpd stopNow start proftpd for debug and access it using ftp client and see if any errors# proftpd -n -d 10If everything ok, you should see something similar with this picture when accessing proftpd servertutorial belong to : http://diantokam.blogspot.co.id/2012/11/openwrt-proftp-server.html
Butuh solusi instan siap pakai?
Dapatkan modul & script server production-ready langsung di web store kami.
Komentar
Diantokam 甘忠仁
29 Juni 2016Nice blog bro and thank you for including source link