pureftp配置

新建FTP账号:
useradd ftpuser
groupadd ftpgroup
mkdir /var/www/html/beanfun
chown -R ftpuser.ftpgroup  /var/www/html/beanfun
/usr/local/pureftpd/bin/pure-pw useradd beanfun -u ftpuser -g ftpgroup -d /var/www/html/beanfun -m
beanfun!@#

删除FTP账号:
/usr/local/pureftpd/bin/pure-pw userdel tyupdate -m
/usr/local/pureftpd/bin/pure-pw  mkdb  (修改账户的时候使用)

修改FTP密码:
/usr/local/pureftpd/bin/pure-pw passwd gamebar_jx -m
game123by
M4#3F0P
/usr/local/pureftpd/bin/pure-pw  mkdb

你可能感兴趣的:(pureftp配置)