tests: Make libpwquality less aggressive
So that our standard "foobar" password works.
This commit is contained in:
parent
ebd03582ec
commit
bbd0810e02
@ -17,6 +17,9 @@ if ! rpm -q chromium-headless; then
|
|||||||
dnf install -y chromium-headless
|
dnf install -y chromium-headless
|
||||||
fi
|
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
|
# create user account for logging in
|
||||||
if ! id admin 2>/dev/null; then
|
if ! id admin 2>/dev/null; then
|
||||||
useradd -c Administrator -G wheel admin
|
useradd -c Administrator -G wheel admin
|
||||||
|
Loading…
Reference in New Issue
Block a user