你要检查你的启动脚本,是吵腔否带了参数。如果不带参数启动vsftpd,默认配置可能有两个:/etc/vsftpd.conf或者/etc/vsftpd/vsftpd.con,根据实际情况你自己检查。你应该在/etc/init.d/vsftpd启动脚本中升镇,以 ”/usr/local/sbin/vsftpd /etc/vsftpd.conf“来吵碰粗启动。
配置你必须把local_enable选项打开,否则只能匿名访问。
下面是一个虚拟用户的配置,仅供参考:
anonymous_enable=NOlocal_enable=YES
write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
ftpd_banner=Welcome to FTP server, Please login
chroot_local_user=YES
listen=YES
guest_enable=YES
guest_username=vsftpd
user_config_dir=/etc/vsftpd/user_conf
pam_service_name=vsftpd
secure_chroot_dir=/var/run/vsftpd
allow_writeable_chroot=YES
anon_other_write_enable=YES
anon_world_readable_only=NO
若需修改ulimit中的openfiles数值,请在/etc/security/limits.conf中将你之前写的weblogic替换为*即可。
即如下样式:
* soft nofile 65535
* hard nofile 65535
注意空格,保存后退出ssh登陆,然老燃蠢后再次登侍陪陆段森主机,使用 ulimit -a 命令即可。
网页链接
https://andyx.net/
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)