2018年5月5日土曜日

Ubuntu Server 16.04LTS:FTP (vsftp)

oot@xxxxxxxx:~# apt-get install vsftpd
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
  vsftpd
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 8 個。
115 kB のアーカイブを取得する必要があります。
この操作後に追加で 336 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu xenial/main amd64 vsftpd amd64 3.0.3-3ubuntu2 [115 kB]
115 kB を 0秒 で取得しました (134 kB/s)
パッケージを事前設定しています ...
以前に未選択のパッケージ vsftpd を選択しています。
(データベースを読み込んでいます ... 現在 137764 個のファイルとディレクトリがインストールされています。)
.../vsftpd_3.0.3-3ubuntu2_amd64.deb を展開する準備をしています ...
vsftpd (3.0.3-3ubuntu2) を展開しています...
systemd (229-4ubuntu21.2) のトリガを処理しています ...
ureadahead (0.100.0-19) のトリガを処理しています ...
ureadahead will be reprofiled on next reboot
man-db (2.7.5-1) のトリガを処理しています ...
vsftpd (3.0.3-3ubuntu2) を設定しています ...
systemd (229-4ubuntu21.2) のトリガを処理しています ...
ureadahead (0.100.0-19) のトリガを処理しています ...
root@xxxxxxxx:~#


root@xxxxxxxx:/etc# diff -y --suppress-common-lines -t vsftpd.conf vsftpd.conf-ORG
listen=YES                                                      |  listen=NO
write_enable=YES                                                |  #write_enable=YES
local_umask=022                                                 |  #local_umask=022
xferlog_file=/var/log/vsftpd.log                                |  #xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES                                          |  #xferlog_std_format=YES
ascii_upload_enable=YES                                         |  #ascii_upload_enable=YES
ascii_download_enable=YES                                       |  #ascii_download_enable=YES
chroot_list_enable=YES                                          |  #chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list                        |  #chroot_list_file=/etc/vsftpd.chroot_list
#add by Palmdreams 2018/5                                       <
userlist_enable=YES                                             <
userlist_deny=NO                                                <
tcp_wrappers=YES                                                <
local_root=public_html                                          <
allow_writeable_chroot=YES                                      <

                                                                <





0 件のコメント:

コメントを投稿