打印

lnmp 1.4安装pureftpd不成功

lnmp 1.4安装pureftpd不成功

请教一下操作系统是centos7
lnmp1.4安装 mariadb nginx php都没有问题
安装pureftpd也没有报错。但是在创建用户的时候一直在报这个错误
Unable to fetch info about user [yby] in file [/usr/local/pureftpd/etc/pureftpd.passwd]

[root@localhost lnmp1.4-full]# lnmp ftp show
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Warning: invalid line [yby]
List FTP User Sucessfully.
Enter ftp account name: yby
Your ftp account yby details:
Warning: invalid line [yby]
Unable to fetch info about user [yby] in file [/usr/local/pureftpd/etc/pureftpd.passwd]
failed.




[root@localhost lnmp1.4-full]# lnmp ftp edit
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Warning: invalid line [yby]
List FTP User Sucessfully.
Enter ftp account name: yby
Enter password for ftp account yby: yby999
Password:
Enter it again:
Warning: invalid line [yby]
Unable to fetch info about user [yby] in file [/usr/local/pureftpd/etc/pureftpd.passwd]
FTP User: yby change password failed!
Enter directory for ftp account yby: /home/wwwroot/
Warning: invalid line [yby]
Unable to fetch info about user [yby] in file [/usr/local/pureftpd/etc/pureftpd.passwd]
FTP User: yby change directory failed!


[root@localhost lnmp1.4-full]# cat /usr/local/pureftpd/etc/pureftpd.passwd
yby6$A1BUJruQtLPhGUb0$XEAXeaXdKiaqVkyy9VMUCdu6ArRS0ZVGOX6AMbj6tZyjCmVJEBBXbXBofun9582uow0bF0z6ZFUBEm/4hmMBb1:1000:1001::yby888/./::::::::::::

TOP

ftp教程里已经明确说明了添加时必须要输入以/开始的完整目录,上面显示的该用户的目录设置时有问题的
删除后重新添加

TOP