Skip to content

Commit bda8c1d

Browse files
authored
Install cracklib-runtime package to bring in the cracklib dictionary file (#24496)
1 parent 234884c commit bda8c1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

files/build_templates/sonic_debian_extension.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,10 @@ fi
283283
# Install SONiC Device Data (and its dependencies via 'apt-get -y install -f')
284284
install_deb_package $debs_path/sonic-device-data_*.deb
285285

286-
# package for supporting password hardening
287-
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install libpam-pwquality
286+
# package for supporting password hardening (cracklib-runtime is explicitly specified
287+
# here because it is technically considered a recommended package, and recommended
288+
# packages aren't installed by default here.)
289+
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install libpam-pwquality cracklib-runtime
288290

289291
# Install pam-ldap, nss-ldap, ldap-utils
290292
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install \

0 commit comments

Comments
 (0)