nerab/pwm — Issue #8: pwm passwd
Author: nerab
Created: 2012-03-07 21:39:32+00:00
State: open

`pwm passwd [NEW_MASTER_PASSWORD]`

Changes the master password to `NEW_MASTER_PASSWORD`. If `NEW_MASTER_PASSWORD` is present, no confirmation further password asked is requested. If `NEW_MASTER_PASSWORD` is not present, pwm will read two lines from STDIN, treating the first line as new password and the second line as password confirmation. The command will only succeed if both lines are the same.