Skip to content

Commit fd62990

Browse files
committed
use pamtester to ensure correct user pw
1 parent a35f0b8 commit fd62990

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/prepare-integration.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ create_user() {
2121
}
2222

2323
# mkpasswd requires whois package
24-
apt-get install -y whois
24+
apt-get install -y whois pamtester
2525

2626
create_user
27+
28+
pamtester -v login ${TESTUSER} authenticate << EOF
29+
$(echo ${TESTPASSWD})
30+
EOF

0 commit comments

Comments
 (0)