Browse Source

pure-pw passwd avec mysql

master
pdiogoantunes 4 years ago
parent
commit
927ccf5c57
  1. 9
      HowtoPureFtpd.md

9
HowtoPureFtpd.md

@ -3,7 +3,14 @@
## Changer mot de passe compte
~~~{.bash}
$ pure-pw passwd user
$ pure-pw passwd USER
~~~
### Si base MySQL
~~~{.bash}
# mysql -e 'SELECT User,Password FROM BASEPURE.users WHERE Status="1" AND (Ipaddress = "*" OR Ipaddress LIKE "\R");' | cut -d' ' -f2 | grep USER
# mysql -e "UPDATE BASEPURE.users SET Password=MD5('hawbOng\ocov6') WHERE User='USER';"
~~~
## Lister les sessions en cours

Loading…
Cancel
Save