Skip to content
Snippets Groups Projects
Commit 722b9a88 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

docker vnc: bash

parent c98a9701
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ EXPOSE 5912 ...@@ -18,6 +18,7 @@ EXPOSE 5912
RUN chmod 777 /usr/share/novnc/utils \ RUN chmod 777 /usr/share/novnc/utils \
&& useradd -m user \ && useradd -m user \
&& sed -i '/user/s/:x:/::/' /etc/passwd \ && sed -i '/user/s/:x:/::/' /etc/passwd \
&& chsh -s /bin/bash user \
&& echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER user USER user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment