Skip to content

Commit 23cdf51

Browse files
committed
Update install-runtime-packages.sh
1 parent dac4cf8 commit 23cdf51

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docker/build_scripts/install-runtime-packages.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,6 @@ if [ "${BASE_POLICY}" == "manylinux" ]; then
138138
echo "/usr/local/lib" > /etc/ld.so.conf.d/00-manylinux.conf
139139
ldconfig
140140
else
141-
if [ ! -f /etc/pam.d/chsh ]; then
142-
cat <<EOF > /etc/pam.d/chsh
143-
#%PAM-1.0
144-
auth sufficient pam_rootok.so
145-
auth sufficient pam_shells.so
146-
account required pam_permit.so
147-
password include base-password
148-
EOF
149-
fi
150141
# set the default shell to bash
151142
chsh -s /bin/bash root
152143
useradd -D -s /bin/bash

0 commit comments

Comments
 (0)