Mercurial > moin > 1.9
changeset 5935:6f201a3b1b24
account resetpw: improve docs/help
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Thu, 24 Jan 2013 14:25:48 +0100 |
parents | 8f485584a170 |
children | 2d3352c547bc |
files | MoinMoin/script/account/resetpw.py |
diffstat | 1 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/script/account/resetpw.py Wed Jan 23 16:08:15 2013 +0100 +++ b/MoinMoin/script/account/resetpw.py Thu Jan 24 14:25:48 2013 +0100 @@ -1,6 +1,6 @@ # -*- coding: iso-8859-1 -*- """ -MoinMoin - disable a user account +MoinMoin - change or reset the password of a user account @copyright: 2006-2013 MoinMoin:ThomasWaldmann, 2008 MoinMoin:JohannesBerg @@ -31,15 +31,21 @@ [newpw-options] see below: 1. To change JohnSmith's password: - moin ... account resetpw --name JohnSmith new-password + moin ... account resetpw --name JohnSmith JohnsNewSuperSecretPassword 2. To change the password for the UID '1198872910.78.56322': - moin ... account resetpw --uid 1198872910.78.56322 new-password + moin ... account resetpw --uid 1198872910.78.56322 TheNewPassword 3. To invalidate the password of all users and notify them via e-mail, giving verbose progress information: moin ... --verbose account resetpw --all-users --notify - (be careful: if you have many users, this will generate many e-mails) + + Please note: + - if you have many users, this will generate many e-mails + - if a user does not have an e-mail address in his profile, he can not + get notified + - disabled user profiles will get the password reset, but won't get + notified (they can't be used any more anyway). """ def __init__(self, argv, def_values):