From 6616582cf68d219374fb9e400622e23ba2ba2fa8 Mon Sep 17 00:00:00 2001 From: Gao feng Date: Mon, 25 Nov 2013 14:47:53 +0800 Subject: [PATCH] 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 --- docs/drvlxc.html.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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.