mirror of
https://github.com/linuxserver/docker-baseimage-rdesktop.git
synced 2026-02-20 08:39:58 +08:00
sudoers update to support changing the user pid and gid
This commit is contained in:
parent
1a32aed494
commit
b914f4e6b1
@ -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/* \
|
||||
|
||||
@ -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/* \
|
||||
|
||||
@ -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/* \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user