generic-poky/meta/recipes-extended/shadow/files
José Bollo 39858da230 shadow: 'useradd' copies root's extended attributes
The copy of extended attributes is interesting for
Smack systems because it allows to set the security
template of the user's home directories without
modifying the tools (useradd here). But the version
of useradd that copies the extended attributes doesn't
copy the extended attributes of the root. This can make
use of homes impossible! This patch corrects the issue
by copying the extended attributes of the root directory:
/home/user will get the extended attributes of /etc/skel.

The patch is submitted upstream (see
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html)

The existing patch specific to open-embedded is updated:
  0001-useradd.c-create-parent-directories-when-necessary.patch

Also, attr are activated for native tools.
This is needed when users are created during image creation.

(From OE-Core rev: eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc)

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17 16:53:05 +00:00
..
pam.d shadow: remove reference to locale env files from login and su 2013-12-09 18:01:43 +00:00
0001-Disable-use-of-syslog-for-sysroot.patch shadow: Disable syslog for more commands 2016-04-15 06:59:43 +01:00
0001-Do-not-read-login.defs-before-doing-chroot.patch shadow: Make useradd work correctly with --root again 2014-09-16 22:13:51 +01:00
0001-useradd-copy-extended-attributes-of-home.patch shadow: 'useradd' copies root's extended attributes 2017-03-17 16:53:05 +00:00
0001-useradd.c-create-parent-directories-when-necessary.patch shadow: 'useradd' copies root's extended attributes 2017-03-17 16:53:05 +00:00
allow-for-setting-password-in-clear-text.patch shadow: 'useradd' copies root's extended attributes 2017-03-17 16:53:05 +00:00
check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch shadow: enable support for subordinate IDs 2014-11-04 10:27:12 +00:00
commonio.c-fix-unexpected-open-failure-in-chroot-env.patch shadow: upgrade from 4.1.4.3 to 4.2.1 2014-07-17 12:36:18 +01:00
fix-installation-failure-with-subids-disabled.patch shadow: upgrade from 4.1.4.3 to 4.2.1 2014-07-17 12:36:18 +01:00
login.defs_shadow-sysroot shadow-sysroot: new recipe for useradd.bbclass support 2011-06-28 13:55:40 +01:00
login_defs_pam.sed shadow: upgrade to 4.1.4.3 to fix security vulnerability 2011-03-01 07:27:31 -08:00
securetty shadow: securetty: Add Xilinx Zynq SoC 2015-01-29 15:36:47 +00:00
shadow-4.1.3-dots-in-usernames.patch shadow: recipe and patch cleanup 2011-06-06 15:58:41 +01:00
shadow-relaxed-usernames.patch shadow: use relaxed usernames 2016-09-16 15:24:02 +01:00
shadow-update-pam-conf.patch shadow: update pam related configure files 2011-07-27 12:02:42 +01:00
usermod-fix-compilation-failure-with-subids-disabled.patch shadow: upgrade from 4.1.4.3 to 4.2.1 2014-07-17 12:36:18 +01:00