Commit 20dcae51 authored by LETORT Sebastien's avatar LETORT Sebastien
Browse files

Merge branch 'fix-root-account-locked-in-sandbox' into 'django'

unlock the root account before running a sandbox

See merge request !181
parents 979954ef b521b121
Pipeline #91296 failed with stages
in 43 seconds
...@@ -723,6 +723,10 @@ export PATH="$PATH:/.toolbox/bin" ...@@ -723,6 +723,10 @@ export PATH="$PATH:/.toolbox/bin"
touch /root/.Xauthority touch /root/.Xauthority
chmod 600 /root/.Xauthority chmod 600 /root/.Xauthority
# unlock the root account in /etc/shadow
# (needed at least on Fedora)
usermod --unlock root
exec /.toolbox/bin/sshd -D exec /.toolbox/bin/sshd -D
""".format(prepare=prepare)] """.format(prepare=prepare)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment