mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
nopasswd for sudo
This commit is contained in:
@ -8,6 +8,7 @@ RUN set -eux; apt-get update; \
|
||||
# add user to sudoers
|
||||
usermod -aG sudo neko; \
|
||||
echo "neko:neko" | chpasswd; \
|
||||
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
|
||||
# clean up
|
||||
apt-get clean -y; \
|
||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||
|
Reference in New Issue
Block a user