Skip to content

Commit

Permalink
Update install-runtime-packages.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Oct 18, 2024
1 parent dac4cf8 commit 23cdf51
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docker/build_scripts/install-runtime-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,6 @@ if [ "${BASE_POLICY}" == "manylinux" ]; then
echo "/usr/local/lib" > /etc/ld.so.conf.d/00-manylinux.conf
ldconfig
else
if [ ! -f /etc/pam.d/chsh ]; then
cat <<EOF > /etc/pam.d/chsh
#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_shells.so
account required pam_permit.so
password include base-password
EOF
fi
# set the default shell to bash
chsh -s /bin/bash root
useradd -D -s /bin/bash
Expand Down

0 comments on commit 23cdf51

Please sign in to comment.