Bug 9885 Passwords generated by command line scripts are weak
authorPeter Crellan Kelly <peter@catalyst.net.nz>
Thu, 21 Mar 2013 09:53:09 +0000 (22:53 +1300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 31 Mar 2013 01:39:43 +0000 (21:39 -0400)
commit58ef8feb1bb55977905cb787b9ee1066824bab10
tree1cf9571e83a4bb3685c2a68f2d7042194e95a63d
parente994b36a782938026fa63195cbb1f10e087b1057
Bug 9885 Passwords generated by command line scripts are weak

This changes the scripts so that:
- in koha-create, the zebra password and mysql passwords are set to 16 character "secure" passwords, ie generated with pwgen -s 16 1
- the patron password is set to a 12 character "memorable" password.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Looks good. I did not actually build, install and test new packages,
but i did test pwgen with the new arguments and the changes make
sense.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
QA signoff
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
debian/scripts/koha-create
debian/scripts/koha-reset-passwd