Changes between Version 18 and Version 19 of UserGuidelines/Admin
- Timestamp:
- 07/27/12 21:34:01 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/Admin
v18 v19 22 22 Find user & remove the 'Pending' flag 23 23 24 === Reset password from CLI === 25 If you have CLI access to an instance, but don't know the password for an admin login then you can reset a password: 26 {{{ 27 w2p 28 import hmac 29 import hashlib 30 alg = hashlib.sha512 31 hmac_key = auth.settings.hmac_key 32 password = hmac.new(hmac_key, "newpassword", alg).hexdigest() 33 table = db.auth_user 34 db(table.email == "myemail@domain.com").update(password = password) 35 }}} 36 24 37 == See Also == 25 38 * SysAdmin