原文链接:https://www.chenweiliang.com/cwl-1859.html
在SSH输入 pure-pw userdel SEO
命令时,出现如下错误提示 ▼
pure-pw userdel seo
Error.
Check that [seo] already exists,
and that [/etc/pure-ftpd/pureftpd.passwd.tmp] can be written.
- 陈沩亮经过测试发现,这是因为没有输入passwd文件的位置路径造成的问题。
CWP控制面板无法手动删除FTP用户怎么办?
如果在CWP控制面板无法手动删除FTP用户,可以通过SSH输入如下命令删除多余的FTP用户 ▼
pure-pw userdel <login> [-f <passwd file>] [-m]
pure-pw命令使用方法
SH删除FTP用户的pure-pw命令说明
pure-pw userdel <login> [-f <passwd file>] [-m]
<login>
是FTP用户名[-f <passwd file>]
是passwd 文件的位置路径。
删除FTP用户名为“seo”的pure-pw命令实例如下 ▼
pure-pw userdel seo /etc/pure-ftpd/pureftpd.passwd
Linux FTP pure-pw的命令使用帮助
以下是SSH输入pure-pw的命令使用帮助 ▼
pure-pw show[-f]
Usage :
pure-pw useradd <login> [-f <passwd file>] -u <uid> [-g <gid>]
-D/-d <home directory> [-c <gecos>]
[-t <download bandwidth>] [-T <upload bandwidth>]
[-n <max number of files>] [-N <max Mbytes>]
[-q <upload ratio>] [-Q <download ratio>]
[-r <allow client ip>/<mask>] [-R <deny client ip>/<mask>]
[-i <allow local ip>/<mask>] [-I <deny local ip>/<mask>]
[-y <max number of concurrent sessions>]
[-z <hhmm>-<hhmm>] [-m]
pure-pw usermod <login> -f <passwd file> -u <uid> [-g <gid>]
-D/-d <home directory> -[c <gecos>]
[-t <download bandwidth>] [-T <upload bandwidth>]
[-n <max number of files>] [-N <max Mbytes>]
[-q <upload ratio>] [-Q <download ratio>]
[-r <allow client ip>/<mask>] [-R <deny client ip>/<mask>]
[-i <allow local ip>/<mask>] [-I <deny local ip>/<mask>]
[-y <max number of concurrent sessions>]
[-z <hhmm>-<hhmm>] [-m]
pure-pw userdel <login> [-f <passwd file>] [-m]
pure-pw passwd <login> [-f <passwd file>] [-m]
pure-pw show <login> [-f <passwd file>]
pure-pw mkdb [<puredb database file> [-f <passwd file>]]
[-F <puredb file>]
pure-pw list [-f <passwd file>]
-d <home directory> : chroot user (recommended)
-D <home directory> : don't chroot user
-<option> '' : set this option to unlimited
-m : also update the /etc/pure-ftpd/pureftpd.pdb database
For a 1:10 ratio, use -q 1 -Q 10
To allow access only between 9 am and 6 pm, use -z 0900-1800
欢迎转载《CWP控制面板无法删除FTP用户?虚拟账户pure-pw命令解决》
欢迎分享本文链接:https://www.chenweiliang.com/cwl-1859.html
网站地址:https://www.chenweiliang.com/
欲获取更多资讯内幕和秘技,欢迎进入Telegram频道:https://www.chenweiliang.com/go/tgchannel
没有评论:
发表评论