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

ProFTPd的啟動

運維 系統(tǒng)運維
ProFTPD是一個Unix平臺上或者類Unix平臺(如Linux, FreeBSD...)的FTP服務(wù)器程序,它是在自由軟件基金會的版權(quán)聲明下開發(fā)的、發(fā)布免費的軟件,也就是說任何只要遵守自由軟件基金會版權(quán)聲明的人,全都可以隨意修改源始碼。本文主要說明的是ProFTPd的啟動

一、配置運行ProFTPD的方法

  ServerType inetd

  # Set the user and group that the server normally runs at.

  User nobody

  Group nobody

  如果ServerType選擇了inetd,/etc/init.d/proftpd start,就會報錯,因為你選擇了inetd運行。

  ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.

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

二、NIS認(rèn)證

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

  # Users require a valid shell listed in /etc/shells to login.

  # Use this directive to release that constrain.

  # RequireValidShells off

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

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

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

  # Uncomment this if you are using NIS or LDAP to retrieve passwords:

  PersistentPasswd off

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

三、xinet啟動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

  這樣就成功了。

【編輯推薦】

  1. 如何配置proFTD
  2. 在CentOS系統(tǒng)安裝配置proftpd
  3. ProFTPD mod_tls模塊CA SSL證書驗證漏洞
  4. Linux中建立安全的ProFTPD應(yīng)用經(jīng)驗談
  5. ProFTPD STAT命令遠(yuǎn)程拒絕服務(wù)攻擊漏洞
  6. ProFTPD字符編碼SQL注入漏洞
責(zé)任編輯:zhaolei 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

2011-02-22 15:00:17

ProFTPD啟動測試

2011-03-02 17:56:13

Xinetd啟動Proftpd

2011-02-25 11:11:52

Proftpd腳本

2011-02-25 11:11:52

Proftpd腳本

2011-03-07 17:25:33

ProFTPD啟動

2011-02-25 10:25:07

Proftpd

2011-03-08 11:21:55

proftpdxinetd

2011-02-22 14:50:53

ProFTPD

2011-02-24 15:51:14

Proftpd

2011-02-22 10:08:46

ProFTPD配置

2011-03-03 13:00:21

2011-02-24 13:55:42

ProFTPD

2011-03-02 17:42:09

Proftpd結(jié)構(gòu)

2011-02-25 09:14:27

2011-03-03 15:02:22

proftpd權(quán)限

2011-03-08 11:13:52

proftpd結(jié)構(gòu)

2011-02-24 14:57:15

ProFTPD

2011-02-25 13:23:19

Proftpd

2011-02-25 16:39:34

proftpd配置文件

2011-03-08 15:27:42

ProftpdLimit
點贊
收藏

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