nopasswd for sudo
This commit is contained in:
parent
2ad760c987
commit
6699ff1c17
@ -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/*
|
||||||
|
@ -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:
|
||||||
|
Reference in New Issue
Block a user