shadow: set correct entries for pseudo terminals in /etc/securetty
authorAndreas Müller <schnitzeltony@googlemail.com>
Wed, 8 Jan 2014 09:46:46 +0000 (10:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Jan 2014 15:16:50 +0000 (15:16 +0000)
commit5ea1052828657ccce8f2c125b7ba98eb9763eb37
treee4c44e3c2ed32ef1e46aa02b61806214e24cada4
parent6206faa701ab0b77e136ea82d6b280f87b005ad3
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>
meta/recipes-extended/shadow/files/securetty