tests: Make libpwquality less aggressive

So that our standard "foobar" password works.
This commit is contained in:
Martin Pitt 2020-06-15 07:12:44 +02:00
parent ebd03582ec
commit bbd0810e02

View File

@ -17,6 +17,9 @@ if ! rpm -q chromium-headless; then
dnf install -y chromium-headless
fi
# make libpwquality less aggressive, so that our "foobar" password works
printf 'dictcheck = 0\nminlen = 6\n' >> /etc/security/pwquality.conf
# create user account for logging in
if ! id admin 2>/dev/null; then
useradd -c Administrator -G wheel admin