pure-pw passwd avec mysql
This commit is contained in:
parent
c117356f09
commit
927ccf5c57
|
@ -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…
Reference in New Issue