From 6699ff1c172c96b3e83da3fe444cf705fc386a71 Mon Sep 17 00:00:00 2001 From: mbattista Date: Mon, 22 Mar 2021 16:15:01 +0000 Subject: [PATCH] nopasswd for sudo --- .m1k1o/xfce/Dockerfile | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.m1k1o/xfce/Dockerfile b/.m1k1o/xfce/Dockerfile index 743d3ae..4b7455c 100644 --- a/.m1k1o/xfce/Dockerfile +++ b/.m1k1o/xfce/Dockerfile @@ -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/* diff --git a/README.md b/README.md index 792291c..cbe0f1d 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Use following docker images: - `m1k1o/neko:latest` - for Firefox. - `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: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. Networking: