發表文章

目前顯示的是 9月, 2012的文章

ubuntu vsftpd教學

作業系統版本與軟體版本如下 作業系統 版本 Ubuntu Server 16.04.03 軟體 版本 vsftpd 3.0.3 實體帳戶需求 帳戶權限只能讀寫自己家目錄 不能看到別人帳戶的目錄檔案或者系統目錄 實體帳戶不能登入系統 Vsftpd.conf 設定 Step 1 首先打開terminals 輸入ssh cba@serverip 輸入密碼連線至server Step 2 sudo apt-get install vsftpd Step 3 sudo vim /etc/vsftp.conf 鍵盤輸入i進入編輯模式,以下 紅色字為要修改部份綠字要增加部份 , 修改完按ESC鍵輸入:WQ 實體帳戶設定 # Uncomment this to allow local users to log in( 允許本地用戶登錄 ). local_enable=YES # # Uncomment this to enable any form of FTP write command( 允許上傳 ). write_enable=YES # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpd's)   #使用者可以讀寫執行權限,群組沒有寫入權限,其他類不能寫入權限 local_umask=022 # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). # (Warning! chroot'ing can be very dangerous. If using chro