1. 程式人生 > >解決500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp的問題

解決500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp的問題

今天在使用centos vsftpd服務時,使用ftp工具進行連線,突然出現以下錯誤情況:

C:\Users\Administrator>ftp 192.168.1.6
連線到 192.168.1.6。
500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp
遠端主機關閉連線。

原來,由於進行了安全設定,將ftp等匿名使用者進行了刪除處理,所以在讀取vsftp.conf配置檔案時,發生了錯誤,我們需要修改一下引數

[[email protected] ~]# vi /etc/vsftpd/vsftpd.conf

找到:

anonymous_enable=YES

修改為:

anonymous_enable=NO

重新啟動vsftpd使配置生效

[[email protected] ~]# service vsftpd restart
關閉 vsftpd:[確定]
為 vsftpd 啟動 vsftpd:[確定]

重新使用ftp工具進行連線,恢復正常!

C:\Users\Administrator>ftp 192.168.1.6
連線到 192.168.1.6。
220 (vsFTPd 2.2.2)
使用者(192.168.1.6:(none)): sunco
331 Please specify the password.
密碼:
230 Login successful.
ftp>

相關推薦

解決500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp的問題

今天在使用centos vsftpd服務時,使用ftp工具進行連線,突然出現以下錯誤情況: C:\Users\Administrator>ftp 192.168.1.6 連線到 192.168.1.6。 500 OOPS: vsftpd: cannot locate

VSFTPD錯誤的解決 500 OOPS: vsftpd: cannot locate user specified in ftp_userna

裝完vsftpd後,連線ftp出現下面錯誤: 500 OOPS: vsftpd: cannot locate user specified in 'ftp_username':ftp 原因: 配置檔案在呼叫預設匿名使用者anonymous時會去找ftp這個系統使用

開啟NETBEANS 時提示: cannot locate java installation in specified jdkhome

開啟NETBEANS 8.2時提示: cannot locate java installation in specified jdkhome: cannot locate java installation in specified jdkhome: C:

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

原因:   使用者被限定在了其主目錄下,則該使用者的家目錄不能再具有寫許可權了!如果檢查發現還有寫許可權,就會報該錯誤。 處理方法:   去除使用者家目錄的寫許可權 chmod a-w /home/user  或   在配置檔案/etc/vsftpd/vsftpd.conf中,新增 allow_writeab

Linux下登陸FTP伺服器報錯“不能改變目錄” 具體語句如下:500 OOPScannot change directory:/home/xxx

原因是他的CentOS系統安裝了SELinux,因為預設下是沒有開啟FTP的支援,所以訪問時都被阻止了。 //檢視SELinux設定 # getsebool -a|grep ftp ftpd_disable_trans --> off 或者 ftp_home_dir

問題一:vsftpd500 OOPS: cannot read config file: /etc/vsftpd/vsftpd.conf

為 vsftpd 啟動 vsftpd:500 OOPS: cannot read config file: /etc/vsftpd/vsftpd.conf 原因: selinux沒有關閉(SELinux是Linux系統上一個常見的安全軟體) 解決:     &n

CentOS下安裝完vsftpd後報錯:500 OOPS: cannot change directory:/home/

安裝好vsftp軟體後,連結ftp登陸後提示這樣的錯誤 500 OOPS: cannot change directory:/home/ 原因是CentOS系統安裝了SELinux,因為預設下是沒有開啟FTP的支援,所以訪問時都被阻止了。 解決辦法 //檢視SELi

VsFTP出現500 OOPS:cannot change directory 的解決

在ubuntu下安裝了vsftpd,結果用客戶端連線ftp後提示 500 OOPS:cannot change directory: /home/xxx 問題很奇怪,百度了一下,發現可能是由於啟用了SELinux引起的問題 vi /etc/sysconfig/selinu

500 oops socket” Debian 9 running via Linux Deploy上成功部署vsftpd解決方案(201901原創)【成功完美簡單極致】

mod install 等等 sta 教程 debian 9 run 原創 linux “500 oops socket” Debian 9 running via Linux Deploy上成功部署vsftpd的解決方案(201901原創)【成功完美簡單極致】 #自從手機

關於ftp使用者連線時出現500 OOPS: cannot change directory的解決辦法

RHEL5 中配置好後,今天想在XP下用ftp連線虛擬機器中的linux,但ftp連線的時候會出現 "500 OOPS:cannot change directory:/root" 錯誤,如何解決呢?

NDK編譯庫執行時報dlopen failed: cannot locate symbol "__exidx_end" 解決的方法

and col 執行 data- pop cannot mod flags fuse 當用NDK編譯的庫在執行載入時報例如以下錯: dlopen("/data/data/xxx.xxx.xxx/lib/libxxx.so") failed: dlopen failed

【異常】java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.dnsResolver 的解決方案

pcl group lan cnblogs cat resolv artifact exceptio 網頁 起因:使用htmlunit爬取外部網頁的時候遇到這個異常:java.lang.IllegalArgumentException: Cannot locate decl

mysql的The user specified as a definer (”@’%') does not exist 的解決辦法

解決辦法 leg all 權限 pan 函數 flush 可能 bsp 兩種可能: 1.用戶權限不夠 賦給用戶所有權限試試 mysql> grant all privileges on *.* to [email protected]"%" identif

mysql的“The user specified as a definer (”@’%') does not exist”問題 解決

無意中 新建用戶 解決 存在 exist 傳輸 調用 發現 我們 2017-12-27,MYSQL的存儲調用時出現了“The user specified as a definer (”test@’%‘) does not exist”的問題。 網上查過後,都是提示用戶權限

500 OOPS: cannot change directory:/home/*

狀態: 已從伺服器斷開 狀態: 正在連線 192.168.120.21:21... 狀態: 連線建立,等待歡迎訊息... 狀態: 不安全的伺服器,不支援 FTP over TLS。 命令: USER dl 響應: 331 Please specify the password. 命令: PA

解決java.lang.UnsatisfiedLinkError:dlopen failed:cannot locate symbol "tcgetattr" referenced by..

http://qnalist.com/questions/6204640/two-similar-apps-one-works-the-other-no-ndk-not-linking-properly-why

The user specified as a definer (”@’%') does not exist完美解決方法

在給一個客戶做電商專案實施的時候,mysql資料庫報錯The user specified as a definer (”@’%') does not exist。嘗試過兩種方式,第一種重啟之後好用,但是一會就又不好用了。第二種算是一種完美的解決方法。此種報錯主要是針對訪

mysql許可權問題_mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法

今天在本地的時候不知怎麼的,修改本地資料庫內資料的時候忽然彈出個錯誤: The user specified as a definer ('root'@'%') does not exist  許可權問題 解決辦法: 授權給root所有sql許可權 mysql> g

mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法

許可權問題,授權 給 root  所有sql 許可權 mysql> grant all privileges on *.* to [email protected]"%" identified by "."; Query OK, 0 rows affe

連線 FTP 伺服器提示“500 OOPS: cannot change directory:/home/xxx”

 今天在 CentOS 上測試 FTP 伺服器驗證登入,提示“500 OOPS: cannot change directory:/home/xxx”,不能切換到使用者宿主目錄?一看到與宿主目錄有關,第一反應就是會不會又跟 SELinux 中的策略有關,因為之前測試 Sa