1、修改用户test的密码
[root@localhost bin]# ./pure-pw passwd test #修改密码
Password:
Enter it again:
[root@localhost bin]# ./pure-pw mkdb #生成数据库文件
[root@localhost bin]# ./pure-pw show test #查看用户信息 Login : test
Password : $$QLTs2O0C3ujD/Ud0$MmV.N7P7MiIA8alOx3hPU7vqNJNu8m89Z73x0MdCYwLe.Mct5FqFeH/hzkAZtBtP2IdcnPrfjcIii/KxhjMrU1
UID : (ftpuser)
GID : (ftpgroup)
Directory : /home/ftpuser/test/./
...
2、修改用户test的上传路径
[root@localhost bin]# pure-pw usermod test -d /var/www/web
[root@localhost bin]# pure-pw mkdb
[root@localhost bin]# pure-pw show test Login : test
Password : $$QLTs2O0C3ujD/Ud0$MmV.N7P7MiIA8alOx3hPU7vqNJNu8m89Z73x0MdCYwLe.Mct5FqFeH/hzkAZtBtP2IdcnPrfjcIii/KxhjMrU1
UID : (ftpuser)
GID : (ftpgroup)
Directory : /var/www/web/./
...