vsftpd虚拟用户登录不上,/var/log/messages里面显示的错误信息为Disabled Privacy Extensions

时间:2022-10-30 15:59:42
想创建vsftpd的虚拟用户,都按照网上的步骤做了,但是虚拟用户登录不上
/var/log/messages里面显示的信息如下
Dec 24 17:46:10 localhost kernel: lo: Dropping TSO features since no CSUM feature.
Dec 24 17:46:10 localhost kernel: lo: Disabled Privacy Extensions

请问是什么原因呢?

4 个解决方案

#1


is it a ubuntu box?

http://askubuntu.com/questions/24594/lo-disabled-privacy-extensions-and-ipv6-disabling

#2


引用 1 楼 micropentium6 的回复:
is it a ubuntu box?

http://askubuntu.com/questions/24594/lo-disabled-privacy-extensions-and-ipv6-disabling


我的系统是centos,
我按照网上说的
Add the following to /etc/vsftpd.conf:

isolate=NO
isolate_network=NO

Then restart vsftpd.

messages里面不再出现Dropping TSO features since no CSUM feature.Disabled Privacy Extensions ,但是虚拟用户还是登录不上。

/var/log/secure里面的log
Dec 24 15:18:08 localhost useradd[5899]: new group: name=vftpuser, GID=501
Dec 24 15:18:08 localhost useradd[5899]: new user: name=vftpuser, UID=501, GID=501, home=/home/vftpsite, shell=/sbin/nologin
Dec 24 16:40:47 localhost userhelper[24083]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:40:47 localhost userhelper[24087]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 16:49:59 localhost useradd[24240]: new group: name=vuser_ftp, GID=501
Dec 24 16:49:59 localhost useradd[24240]: new user: name=vuser_ftp, UID=501, GID=501, home=/home/web, shell=/sbin/nologin
Dec 24 16:50:06 localhost userhelper[24249]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:50:06 localhost userhelper[24253]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 16:50:17 localhost userhelper[24258]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:50:17 localhost userhelper[24262]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access


这个是昨天的,今天重新登录了几次,没有显示log
是什么原因登录不上虚拟用户呢?

#3


Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access

vsftpd user login has passed pam auth, do you have a vsftpd log? I will also temporarily turn off selinux by 

#setenforce 0

to rule out any possible interference from selinux

#4


引用 3 楼 micropentium6 的回复:
Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access

vsftpd user login has passed pam auth, do you have a vsftpd log? I will also temporarily turn off selinux by 

#setenforce 0

to rule out any possible interference from selinux


selinux我已经禁用了,自带的vsftpd虚拟用户可以登录,但是我自己编译的vsftpd不行。自带的vsftpd版本是2.2.2.我编译的版本是2.3.5. 和vsftpd的版本有关系么?

#1


is it a ubuntu box?

http://askubuntu.com/questions/24594/lo-disabled-privacy-extensions-and-ipv6-disabling

#2


引用 1 楼 micropentium6 的回复:
is it a ubuntu box?

http://askubuntu.com/questions/24594/lo-disabled-privacy-extensions-and-ipv6-disabling


我的系统是centos,
我按照网上说的
Add the following to /etc/vsftpd.conf:

isolate=NO
isolate_network=NO

Then restart vsftpd.

messages里面不再出现Dropping TSO features since no CSUM feature.Disabled Privacy Extensions ,但是虚拟用户还是登录不上。

/var/log/secure里面的log
Dec 24 15:18:08 localhost useradd[5899]: new group: name=vftpuser, GID=501
Dec 24 15:18:08 localhost useradd[5899]: new user: name=vftpuser, UID=501, GID=501, home=/home/vftpsite, shell=/sbin/nologin
Dec 24 16:40:47 localhost userhelper[24083]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:40:47 localhost userhelper[24087]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 16:49:59 localhost useradd[24240]: new group: name=vuser_ftp, GID=501
Dec 24 16:49:59 localhost useradd[24240]: new user: name=vuser_ftp, UID=501, GID=501, home=/home/web, shell=/sbin/nologin
Dec 24 16:50:06 localhost userhelper[24249]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:50:06 localhost userhelper[24253]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 16:50:17 localhost userhelper[24258]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/unknown'
Dec 24 16:50:17 localhost userhelper[24262]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access


这个是昨天的,今天重新登录了几次,没有显示log
是什么原因登录不上虚拟用户呢?

#3


Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access

vsftpd user login has passed pam auth, do you have a vsftpd log? I will also temporarily turn off selinux by 

#setenforce 0

to rule out any possible interference from selinux

#4


引用 3 楼 micropentium6 的回复:
Dec 24 17:10:43 localhost vsftpd: pam_userdb(ftp.vu:auth): user 'test1' granted access

vsftpd user login has passed pam auth, do you have a vsftpd log? I will also temporarily turn off selinux by 

#setenforce 0

to rule out any possible interference from selinux


selinux我已经禁用了,自带的vsftpd虚拟用户可以登录,但是我自己编译的vsftpd不行。自带的vsftpd版本是2.2.2.我编译的版本是2.3.5. 和vsftpd的版本有关系么?