当前位置: 代码迷 >> 综合 >> vsftpd-ftp 正常登录后,出现500 OOPS: cap_set_proc
  详细解决方案

vsftpd-ftp 正常登录后,出现500 OOPS: cap_set_proc

热度:72   发布时间:2023-12-06 23:37:54.0

1.添加用户

[root@nbas5 ~]# useradd ftpuser
[root@nbas5 ~]# passwd ftpuser
Changing password for user ftpuser.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

 

2.切换用户
[root@nbas5 ~]# su ftpuser

 

3.登录,正常
[ftpuser@nbas5 root]$ ftp localhost
Connected to nbas5.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:ftpuser): ftpuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

 

4.运行ftp命令,出错

ftp> ls
500 OOPS: cap_set_proc
ftp> dir
200 PORT command successful. Consider using PASV.
500 OOPS: vsf_sysutil_recv_peek
ftp> dir
Not connected