#!/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
#
No comments:
Post a Comment