summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2014-01-08 10:46:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-10 15:16:50 +0000
commitb4f7995e9a7f6f5ce54297ff0ab9b81d6bbbff40 (patch)
treedd37e2b8d7fe2f8b58f2983788ab4b3aeb865671
parent41d7758f3bdd3011483553c5aa8966965da904ba (diff)
downloadpoky-b4f7995e9a7f6f5ce54297ff0ab9b81d6bbbff40.tar.gz
shadow: set correct entries for pseudo terminals in /etc/securetty
In commit 10cdd66fe800cffe3f2cbf5c95550b4f7902a311 Author: Ming Liu <ming.liu@windriver.com> Date: Thu Jul 18 10:04:22 2013 +0800 libpam: add a new 'nullok_secure' option support to pam_unix 'null_ok_secure' option was fixed. Since that commit 'su' stopped working in pseudo terminals (created in X environments) for root-accounts with empty password. Background: The PAM configuration for 'su' includes 'common-auth' which uses 'nullok_secure' option for pam_unix. (From OE-Core rev: d28eba07553020bf9bfb1419663c1d18ab36ab66) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/shadow/files/securetty16
1 files changed, 4 insertions, 12 deletions
diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow/files/securetty
index 467fc04398..0b1629f143 100644
--- a/meta/recipes-extended/shadow/files/securetty
+++ b/meta/recipes-extended/shadow/files/securetty
@@ -124,18 +124,10 @@ tty62
124tty63 124tty63
125 125
126# Local X displays (allows empty passwords with pam_unix's nullok_secure) 126# Local X displays (allows empty passwords with pam_unix's nullok_secure)
127:0 127pts/0
128:0.0 128pts/1
129:0.1 129pts/2
130:1 130pts/3
131:1.0
132:1.1
133:2
134:2.0
135:2.1
136:3
137:3.0
138:3.1
139 131
140# Embedded Freescale i.MX ports 132# Embedded Freescale i.MX ports
141ttymxc0 133ttymxc0