自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Ubuntu下安裝ProFTPD

運(yùn)維 系統(tǒng)運(yùn)維
Ubuntu下安裝ProFTPD:proftpd(Professional FTP daemon),是針對(duì)Wu-FTP的弱項(xiàng)而開發(fā)的。除了改進(jìn)其安全性,還有具備許多Wu-FTP所沒(méi)有的特點(diǎn)。比如,能以Stand-alone、xinetd模式運(yùn)行。ProFTP不僅配置方便,而且有MySQL模塊,本文主要講述的是Ubuntu下安裝ProFTPD。

  今天在Ubuntu Linux上安裝了ProFTPD,遇到一些小麻煩,跟大家share一下。

  1. 配置運(yùn)行ProFTPD的方法

  ServerType inetd

  1.   # Set the user and group that the server normally runs at.  
  2.  
  3.   User nobody  
  4.  
  5.   Group nobody  
  6.  

  如果ServerType選擇了inetd,/etc/init.d/proftpd start,就會(huì)報(bào)錯(cuò),因?yàn)槟氵x擇了inetd運(yùn)行。

  ProFTPd warning:

  1. cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.  
  2.  

  若要手動(dòng)執(zhí)行ProFTPD, 要把 ServerType 設(shè)成 standalone才行。

  2. NIS認(rèn)證

  /etc/nsswitch.conf 必須有nis服務(wù)

  1.   # Users require a valid shell listed in /etc/shells to login.  
  2.  
  3.   # Use this directive to release that constrain.  
  4.  
  5.   # RequireValidShells off  
  6.  

  必須把NIS Sever傳過(guò)來(lái)的shell信息/usr/local/bin/bash,放在/etc/shells列表才行,否則視為invalid shell。

  另外,也可以在/etc/passwd文件中的對(duì)應(yīng)shell的那個(gè)field直接進(jìn)行修改為/bin/bash,則忽略遠(yuǎn)端傳過(guò)來(lái)的shell信息。

  還有一個(gè)很重要的設(shè)置,

  1.   # Uncomment this if you are using NIS or LDAP to retrieve passwords:  
  2.  
  3.   PersistentPasswd off  
  4.  

  PersistentPasswd 如果設(shè)置為on,就只檢查/etc/passwd里面的user account,不要用uncomment,要用上述語(yǔ)句,切記!

  3. xinet啟動(dòng)ProFTPD

  1.   # Set the user and group that the server normally runs at.  
  2.  
  3.   User root  
  4.  
  5.   Group root  
  6.  

  建立/etc/xinetd.d/proftpd,然后編輯如下內(nèi)容。

  1.   service ftp  
  2.  
  3.   {  
  4.  
  5.   disable = no 
  6.  
  7.   flags =REUSE 
  8.  
  9.   socket_type = stream 
  10.  
  11.   wait = no 
  12.  
  13.   user = root 
  14.  
  15.   server = /usr/sbin/proftpd  
  16.  
  17.   server_args = -c /etc/proftpd/proftpd.conf  
  18.  
  19.   log_on_success += DURATION USERID  
  20.  
  21.   log_on_failure += USERID  
  22.  
  23.   }  
  24.  

  保存之后,chmod +x proftpd

  Everything gonna be alright!!!

【編輯推薦】

  1. 用MySQL和Proftpd配置FTP服務(wù)器
  2. ProFTPD 下的五大問(wèn)題
  3. Linux ProFTPd服務(wù)器配置(全)
  4. Ubuntu vsftpd服務(wù)安裝設(shè)置
  5. ProFTPD的啟動(dòng)與測(cè)試
  6. ubuntu下proftp的編譯、安裝與測(cè)試
  7. ProFTPd的啟動(dòng)
  8. 在圖形界面下控制ProFTPD
責(zé)任編輯:zhaolei 來(lái)源: CSDN網(wǎng)
相關(guān)推薦

2011-03-03 14:47:35

2011-03-03 14:47:35

2011-03-03 09:04:25

2011-03-03 11:06:44

Ubuntu安裝ProFTPD

2011-02-23 09:47:07

UbuntuProFTPdMySQL

2011-02-23 09:47:07

2011-03-08 17:04:10

ProFTPDUbuntu

2011-02-22 16:24:30

2011-03-03 13:32:07

Proftpd安裝

2011-03-02 09:26:26

ubuntuproftpd

2011-02-25 15:38:12

ProftpdRedHat

2011-02-25 15:38:58

2011-02-25 15:55:25

unixProftpd

2011-03-08 10:10:37

Linuxproftpd

2011-02-25 09:44:51

怎樣安裝Proftpd

2011-02-22 09:50:01

2011-03-03 13:07:13

安裝Proftpd

2011-03-14 13:07:23

Ubuntu安裝LAMP

2011-01-18 18:21:44

Ubuntu安裝Thunderbird

2011-02-24 15:04:58

ProftpdCentos
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)