From 8bf1940ea46309dd76d82d777dc642d0b56bafed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Jun 2016 14:45:33 +0200 Subject: asciicast #2 --- share/doc/asciicast/temp.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 share/doc/asciicast/temp.sh diff --git a/share/doc/asciicast/temp.sh b/share/doc/asciicast/temp.sh new file mode 100644 index 0000000..818b84f --- /dev/null +++ b/share/doc/asciicast/temp.sh @@ -0,0 +1,13 @@ +# Let's attach a console to the example container. +# +# Note: we did not create a user in the container, +# logging in as root over a pseudo-terminal is +# considered insecure by pam and will fail. +cnt console -n example.net +# Let's disable pam_securetty.so for demonstration purpose only. +vi /var/lib/machines/example.net/etc/pam.d/login +# Now login as root will work. +cnt console -n example.net + +# Let's check network access. +ping -c3 open-infrastructure.net -- cgit v1.2.3