Merge lp:~trapnine/maas/fix-1510224 into lp:~maas-committers/maas/trunk
Proposed by
Jeffrey C Jones
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeffrey C Jones | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 4478 | ||||
Proposed branch: | lp:~trapnine/maas/fix-1510224 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
133 lines (+102/-1) 2 files modified
src/maasserver/management/commands/changepasswords.py (+53/-0) src/maasserver/tests/test_commands.py (+49/-1) |
||||
To merge this branch: | bzr merge lp:~trapnine/maas/fix-1510224 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+276725@code.launchpad.net |
Commit message
New changepasswords command. Updates multiple MAAS passwords non-interactively from STDIN, just like chpasswd.
To post a comment you must log in.
Looks good. I have a few suggestions. Dealing with input encoding is important. There's a blocker in the tests where global state is mutated and not reset; more in the diff comments.