Commit b521b121 authored by BAIRE Anthony's avatar BAIRE Anthony Committed by LETORT Sebastien

unlock the root account before running a sandbox

Fedora images come with their root account locked.
This prevents opening a ssh session.
parent 979954ef
......@@ -723,6 +723,10 @@ export PATH="$PATH:/.toolbox/bin"
touch /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
""".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