pastioke.com
debian

Proftpd

Ditulis oleh Tim Pasti Oke
Install Proftp server
# opkg install proftpd
Edit /etc/proftpd.conf
# vi /etc/proftpd.conf


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

Adding 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.
# 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 openwrt
Change Otority
chmod o-rwx /etc/passwd
chmod o-rwx /etc/passwd-
chmod 777 /home
Enabling proftpd service upon start
# /etc/init.d/proftpd enable
To start proftpd service
# /etc/init.d/proftpd start
To stop proftpd service
# /etc/init.d/proftpd stop
Now start proftpd for debug and access it using ftp client and see if any errors
# proftpd -n -d 10
If everything ok, you should see something similar with this picture when accessing proftpd server

tutorial 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.

Kunjungi Toko Digital

Komentar

D
Diantokam 甘忠仁
29 Juni 2016

Nice blog bro and thank you for including source link

Kirim Komentar