Showing posts with label vsftpd. Show all posts
Showing posts with label vsftpd. Show all posts

Tuesday, January 31, 2012

OpenWRT veya tabanlı sistemler için VSFTPD init.d dosyası

Başlıkta yazdığı gibi, routerınızda kullanacağınız VSFTPD isimli ftp sunucusunun sistem ile uygun, açılış scripti.

#!/bin/sh /etc/rc.common
START=62
start(){
# Adjust as needed.
mkdir -m 777 /var/run/vsftpd
/usr/sbin/vsftpd /etc/vsftpd.conf &
}
stop(){
killall -9 vsftpd
}


Örnek VSFTPD ayar dosyası :
Sadece sistem kullanıcıları (root,vs..) için erişime açık.

# Sample anonymous FTP server configuration
#
# Mandatory directives
#
listen=YES
local_enable=YES
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
write_enable=YES
anon_root=/mnt/Downloads
ftp_username=ftp
#
# Optional directives
#