From: Gao feng
Date: Mon, 25 Nov 2013 06:47:53 +0000 (+0800)
Subject: LXC: add securetty related note in Device nodes
X-Git-Tag: v1.2.0-rc2~7
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6616582cf68d219374fb9e400622e23ba2ba2fa8;p=thirdparty%2Flibvirt.git
LXC: add securetty related note in Device nodes
Tell user how to resolve the problem that fail to log in
the container.
Signed-off-by: Gao feng
---
diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in
index ca488f7869..d5a4410184 100644
--- a/docs/drvlxc.html.in
+++ b/docs/drvlxc.html.in
@@ -163,6 +163,14 @@ first console will be /dev/tty1
, with further consoles
numbered incrementally from there.
+
+Since /dev/ttyN and /dev/console are linked to the pts devices. The
+tty device of login program is pts device. the pam module securetty
+may prevent root user from logging in container. If you want root
+user to log in container successfully, add the pts device to the file
+/etc/securetty of container.
+
+
Further block or character devices will be made available to containers
depending on their configuration.