Archived
2
0

nopasswd for sudo

This commit is contained in:
mbattista 2021-03-22 16:15:01 +00:00
parent 2ad760c987
commit 6699ff1c17
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ RUN set -eux; apt-get update; \
# add user to sudoers # add user to sudoers
usermod -aG sudo neko; \ usermod -aG sudo neko; \
echo "neko:neko" | chpasswd; \ echo "neko:neko" | chpasswd; \
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
# clean up # clean up
apt-get clean -y; \ apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/* rm -rf /var/lib/apt/lists/* /var/cache/apt/*

View File

@ -67,7 +67,7 @@ Use following docker images:
- `m1k1o/neko:latest` - for Firefox. - `m1k1o/neko:latest` - for Firefox.
- `m1k1o/neko:chromium` - for Chromium Ungoogled (needs `--cap-add=SYS_ADMIN`). - `m1k1o/neko:chromium` - for Chromium Ungoogled (needs `--cap-add=SYS_ADMIN`).
- `m1k1o/neko:vlc` - for VLC Video player (needs `volumes` folder with local video files) - `m1k1o/neko:vlc` - for VLC Video player (needs `volumes` folder with local video files)
- `m1k1o/neko:xfce` - for an shared desktop / installing shared software (sudo-pw: `neko`) - `m1k1o/neko:xfce` - for an shared desktop / installing shared software
- `m1k1o/neko:base` - for custom base. - `m1k1o/neko:base` - for custom base.
Networking: Networking: