Article directory
Type in SSH pure-pw userdel seo
command, the following error message appears ▼
pure-pw userdel seo Error. Check that [seo] already exists, and that [/etc/pure-ftpd/pureftpd.passwd.tmp] can be written.
- Chen WeiliangAfter testing, it was found that this was a problem caused by not entering the location path of the passwd file.
CWP Control PanelWhat should I do if I cannot manually delete an FTP user?
If you cannot manually delete the FTP user in the FTP Manager user list of the CWP control panel, you can delete the redundant FTP user by entering the following command through SSH▼
pure-pw userdel <login> [-f <passwd file>] [-m]
How to use the pure-pw command
SHH delete FTP userOfpure-pwCommand description
pure-pw userdel <login> [-f <passwd file>] [-m]
<login>
is the FTP username[-f <passwd file>]
is the path to the location of the passwd file.
Delete the FTP username "Seo"The pure-pw command example is as follows▼
pure-pw userdel seo /etc/pure-ftpd/pureftpd.passwd
- If the above command is used, the FTP user still cannot be deleted.
- Try to delete it manually
/etc/pure-ftpd/pureftpd.passwd
FTP user data in the file.
Linux FTP pure-pw command usage help
The following is the help of the SSH input pure-pw command▼
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
Basic commands of pure-ftp
The following is an explanation of the basic commands of pure-ftp:
Add user ▼
pure-pw useradd
delete user ▼
pure-pw userdel
Modify User ▼
pure-pw usermod
View User Details ▼
pure-pw show
View all user settings ▼
pure-pw list
Generate data files ▼
pure-pw mkdb
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "CWP control panel can not delete FTP users? virtual account pure-pw command to solve", to help you.
Welcome to share the link of this article:https://www.chenweiliang.com/cwl-1859.html
Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!