From bbfb7a744256671cf853fdd45298c6781e0084e8 Mon Sep 17 00:00:00 2001 From: Dennis Chen Date: Mon, 31 Jul 2017 09:41:35 +0000 Subject: [PATCH] pkg/getty: Add ARM 'ttyAMA0' console into securetty We need to add 'ttyAMA0' console used on ARM64 platform into securetty file to make it's possible to log into the system as root. Also it will dismiss the below warning message before login: "getty: cmdline has console=ttyAMA0 but does not exist in /etc/securetty; will not be able to log in as root on this tty ttyAMA0." 'ttyAMA1' is also added order to handle some system happens have that one instead of 'ttyAMA0' Signed-off-by: Dennis Chen --- pkg/getty/etc/securetty | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/getty/etc/securetty b/pkg/getty/etc/securetty index 57f40c9e2..c604870ce 100644 --- a/pkg/getty/etc/securetty +++ b/pkg/getty/etc/securetty @@ -28,6 +28,8 @@ hvsi1 # ARM "AMBA" serial ports ttyAM0 ttyAM1 +ttyAMA0 +ttyAMA1 # s390 and s390x ports in LPAR mode ttysclp0