sudoers update to support changing the user pid and gid

This commit is contained in:
thelamer 2022-02-09 11:07:03 -08:00
parent 1a32aed494
commit b914f4e6b1
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ RUN \
echo "**** cleanup and user perms ****" && \
echo "abc:abc" | chpasswd && \
usermod -s /bin/bash abc && \
echo '%abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \

View File

@ -65,7 +65,7 @@ RUN \
echo "**** cleanup and user perms ****" && \
echo "abc:abc" | chpasswd && \
usermod -s /bin/bash abc && \
echo '%abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \

View File

@ -65,7 +65,7 @@ RUN \
echo "**** cleanup and user perms ****" && \
echo "abc:abc" | chpasswd && \
usermod -s /bin/bash abc && \
echo '%abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
echo 'abc ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/abc && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \