summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/shadow/files/add_root_cmd_options.patch
Commit message (Collapse)AuthorAgeFilesLines
* shadow-native: fix creation of home directoriesScott Garman2011-06-301-27/+98
| | | | | | | | | | | | Pseudo was recently changed so that when system() calls are made after a chroot(), the host binaries can no longer be found, breaking the system("mkdir -p") approach when useradd creates home directories. Instead, use mkdir(2) to create home directories with a helper function to ensure parent directories get created. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* shadow: add a -native recipe with customized utilitiesScott Garman2011-06-061-0/+1296
This adds a -native recipe for the shadow utilities. The custom --root option allows the the following utilities to be run within a chroot when invoked under pseudo: * useradd * groupadd * usermod * groupmod * userdel * groupdel * passwd * gpasswd * pwconv * pwunconv * grpconv * grpunconv They can then be used to manipulate user and group account information in target sysroots. useradd was also modified to create home directories recursively when necessary. Signed-off-by: Scott Garman <scott.a.garman@intel.com>