[Koha-bugs] [Bug 31560] koha-create fails with error pwgen invalid option -- 'r'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 14 14:43:52 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31560

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Tested under Debian 11
mysqlpwd=$(pwgen -s -y -r ":'&\\<>/" 16 1); echo $mysqlpwd
@q-rMH4xPF8XXmxx

Tested under Debian 10
root at shadow:/usr/share/koha# mysqlpwd=$(pwgen -s -y -r ":'&\\<>/" 16 1); echo
$mysqlpwd
`=EYqf_TWTu8x"yx
root at shadow:/usr/share/koha# mysqlpwd=$(pwgen -s -y -r ":'&\\<>/" 16 1); echo
$mysqlpwd
vi4O!M8FIzY6n%yU

So it works for me. Just noticing a few characters in the first D10 password
that could be excluded also.

D10
apt list --installed | grep pwgen
pwgen/now 2.08-1 amd64 [installed,local]

D11
pwgen/now 2.08-2 amd64 [installed,local]

Your pwgen version is lower. You did not specify the distro you are working
with. Maybe an idea to switch to Debian 11?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list