]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
LXC: add securetty related note in Device nodes
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 25 Nov 2013 06:47:53 +0000 (14:47 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Nov 2013 16:50:05 +0000 (16:50 +0000)
Tell user how to resolve the problem that fail to log in
the container.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
docs/drvlxc.html.in

index ca488f7869442d975133c3cbdb8e6bb2a26d6bf4..d5a441018461253cc7055cde85bc8925afe0c493 100644 (file)
@@ -163,6 +163,14 @@ first console will be <code>/dev/tty1</code>, with further consoles
 numbered incrementally from there.
 </p>
 
+<p>
+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.
+</p>
+
 <p>
 Further block or character devices will be made available to containers
 depending on their configuration.