1. 程式人生 > >vsftpd-2.3.4伺服器在ok6410開發板上的移植

vsftpd-2.3.4伺服器在ok6410開發板上的移植

chown_uploads=YES
chown_username=ftp
#
#You may override where the log file goes if you like. The default isshown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# Ifyou want, you can have your log file in standard ftpd xferlogformat
xferlog_std_format=YES
#
# You may change the defaultvalue for timing out an idle session.
#idle_session_timeout=600
#
#You may change the default value for timing out a dataconnection.
#data_connection_timeout=120
#
# It isrecommended that you define on your system a unique user which the
#ftp server can use as a totally isolated and unprivilegeduser.
nopriv_user=ftp
#
# Enable this and the server willrecognise asynchronous ABOR requests. Not
# recommended forsecurity (the code is non-trivial). Not enabling it,
# however,may confuse older FTP clients.
async_abor_enable=YES
#
# Bydefault the server will pretend to allow ASCII mode but in factignore
# the request. Turn on the below options to have the serveractually do ASCII
# mangling on files when in ASCII mode.
#Beware that on some FTP servers, ASCII support allows a denial ofservice
# attack (DoS) via the command "SIZE /big/file"in ASCII mode. vsftpd
# predicted this attack and has always beensafe, reporting the size of the
# raw file.
# ASCII mangling isa horrible feature of theprotocol.
ascii_upload_enable=YES
ascii_download_enable=YES
#
#You may fully customise the login banner string:
ftpd_banner=Welcometo blah FTP service.
#
# You may specify a file of disallowedanonymous e-mail addresses. Apparently
# useful for combattingcertain DoS attacks.
#deny_email_enable=YES
# (defaultfollows)
#banned_email_file=/etc/vsftpd.banned_emails
#
#You may specify an explicit list of local users to chroot() to theirhome
# directory. If chroot_local_user is YES, then this listbecomes a list of
# users to NOTchroot().
#chroot_list_enable=YES
# (defaultfollows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# Youmay activate the "-R" option to the builtin ls. This isdisabled by
# default to avoid remote users being able to causeexcessive I/O on large
# sites. However, some broken FTP clientssuch as "ncftp" and "mirror" assume
# thepresence of the "-R" option, so there is a strong case forenablingit.
ls_recurse_enable=YES

相關推薦

vsftpd-2.3.4伺服器ok6410開發移植

chown_uploads=YES chown_username=ftp # #You may override where the log file goes if you like. The default isshown # below. #xferlog_file=/var/log/vsftpd.lo

linux-2.6.32在mini2440開發移植(10)之觸控式螢幕工作原理以及驅動程式詳細分析

第二部分輸入核心的作用如下: (1) 呼叫input_register_device() used to 新增裝置,呼叫input_unregister_device() 除去裝置。(下面會結合觸控式螢幕驅動講述) (2) 在/PROC 下產生相應的裝置資訊,下面這個例子即是: /proc/bus/input

vsftpd-2.3.4移植到8621開發

客戶不知道從哪裡買來塊板子,讓我幫他移植程式。先開始搭環境。 (1)解壓vsftpd-2.3.4.tar.gz   #tar xvzf vsftpd-2.3.4.tar.gz (2)交叉編譯     需要修改的地方有兩處。 第一處是Makefile: # Ma

Tslib和Qt 4.8.4與在開發移植

Linux:Ubuntu 12.04 X86 QT:4.8.4 交叉編譯工具鏈:gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) 安裝如下的軟體  sudo apt-get install automake sudo a

opencv2.4.9在Hi3516A開發移植

opencv2.4.9下載不用說了。 Ubuntu12.04虛擬機器安裝的+arm-hisiv200-linux交叉編譯器+cmake-gui(2.8.7) 參考:http://blog.csdn.net/luotuo44/article/details/8958990 h

購買開發後在iTOP4412開發移植SDIO介面WIFI方法

       近期需要把WiFi無線網路功能移植到在iTOP4412 開發平臺,查閱了相關資料,經過一段時間的研究、除錯,終於成功,將WiFi功能移植到了開發板上面,這裡筆者記錄移植過程及注意事項,方便以後工作需要。     iTOP4412開發板的WiFi模組與板卡之間

(二)U-boot在開發移植過程詳解--bootloader架構分析

 本例中採用的同樣是前邊一貫的實驗板,這裡就不對板子資源做進一步介紹了。     我們知道,bootloader是系統上電後最初載入執行的程式碼。它提供了處理器上電覆位後最開始需要執行的初始化程式碼。在PC機上載入程式一般由BIOS開始執行,然後讀取硬碟中位於MBR(Main Boot Record,主引

如何在i.mx6dl開發移植udev並實現移動裝置的自動掛載

在整個移植過程中,我所使用的操作平臺: host:Ubuntu14.04 LTS board:MCIMX6DL-SDP udev版本:udev100 一、移植udev。 下載udev的原始碼並進行解

ok6410開發移植vlc做簡單視訊流媒體伺服器

OK6410下的wiif的視訊小車——vlc移植部分 開始移植vlc2.1.5到ok6410開發板中搭建簡單的視訊流媒體伺服器,讀取h264原始資料,ts流封包,rtp協議傳輸。 電腦: vmware ubuntu12.04 gcc4.3.2 vlc配置如下: CC=/us

ABAP開發SELECTION-SCREEN: FUNCTION KEY 1,2,3,4,5的使用方法

REPORT報表的自定義工具欄按鈕。 SELECTION-SCREEN: FUNCTION KEY 是包含在選擇畫面(1000)的標準GUI的功能按鈕,最多隻能有5個,功能碼是FC1~FC5.也是系統預留好的。 然後,以上被定義的按鈕的圖示和文字描述都是可以設定的,在

在Sql中將 varchar 值 '1,2,3,4,5,6' 轉換成數據類型 int

給定 序列 顯示 結果 空格 sel -方法 一個表 affect --問題:將aa轉換為Int類型失敗 string aa="3,5,11,56,88,45,23"; select * from ERPBuMen where ID in(aa) ; --方法sel

求 1-2+3-4+5-6+7-8....M 的結果算法

次數 pre blog spa rgs static console line span 1 static void Main(string[] args) 2 { 3 /** 4 * 算法題: 5 * 求 1-2+3-4+5-6+7

C語言代碼編程題匯總:顯示表達式1*2+3*4+...+99*100的表示形式(采取交互的形式)

stdio.h tdi input 字符型 6.0 tro vc++6.0 text class 顯示表達式1*2+3*4+...+99*100的表示形式(采取交互的形式) 程序源代碼如下: 1 /* 2 2017年6月8日08:03:38 3 功能

C語言代碼編程題匯總:顯示表達式1*2+3*4+...+9*10的表示形式

clas ron urn ++ class align int c語言代碼 程序 顯示表達式1*2+3*4+...+9*10的表示形式 源程序代碼如下: 1 /* 2 2017年6月7日22:54:51 3 功能:實現1*2+3*4+...+9*10

練習:求1+2+3+4+5...100的和

hid 技術 one brush src log display 分享 code 求1+2+3+4+5...100的和方法一 count = 1 s1 = 0 while count <= 100:

寫一個函數計算但參數為n(n很大)時的值1-2+3-4+5-6+7……+n。(考慮程序執行效率)

參數 color n) col sys class n-1 == code 1 private static void jisuan(int n) { 2 int sum=0; 3 if(n%2==0){ 4 sum=-(n/2)

94、tensorflow實現語音識別0,1,2,3,4,5,6,7,8,9

結果 test amp building pre cti fun ner edi ‘‘‘ Created on 2017年7月23日 @author: weizhen ‘‘‘ #導入庫 from __future__ import division,print_func

zabbix3.0/3.2/3.4自動安裝腳本

監控 腳本 自動化安裝 zabbix3.4 自動化安裝zabbix腳本(3.0/3.2/3.4)一、zabbix簡介 zabbix是一個基於WEB界面的提供分布式系統監視以及網絡監視功能的企業級的開源解決方案。zabbix能監視各種網絡參數,保證服務器系統的安全運營;並提供靈活的通知機制

python入門:求1-2+3-4+5...99的所有數的和(自寫)

== 余數 奇數 nbsp int 當前 pre span bre 1 #!/usr/bin/env pyhton 2 # -*- coding:utf-8 -*- 3 #求1-2+3-4+5...99的所有數的和(自寫) 4 """ 5 給x賦值為0,給y賦值

微信小程序 功能函數 把數字1,2,3,4換成春,夏,秋,冬

cas i++ substr length tail efault 微信 ++ 數字 let season =‘1,2,3’; // console.log(season.length) if (season){ if (season.length==1){ season