Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | shadow-native: fix creation of home directories | Scott Garman | 2011-06-30 | 1 | -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 utilities | Scott Garman | 2011-06-06 | 1 | -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> |