diff options
author | 2015-06-03 19:08:25 +0000 | |
---|---|---|
committer | 2015-06-03 19:08:25 +0000 | |
commit | f435b89cda8616ae6c13310f36e6a4f3b16fc56f (patch) | |
tree | 891f05cfdc908a5b9d5955c293f043eaeb3d98bd /pw/pwupd.h | |
parent | fe72eefbc64a4f8d14c5abd45c86151137f33967 (diff) | |
download | pw-darwin-f435b89cda8616ae6c13310f36e6a4f3b16fc56f.tar.gz pw-darwin-f435b89cda8616ae6c13310f36e6a4f3b16fc56f.tar.zst pw-darwin-f435b89cda8616ae6c13310f36e6a4f3b16fc56f.zip |
New pw -R rootdir option
This allows to set an alternate root directory in which the users/groups will be
manipulated
Requested by: gjb, ian
Tested by: gjb
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r-- | pw/pwupd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -71,6 +71,10 @@ extern struct pwf VPWF; #define GETGRGID(gid) PWF._getgrgid(gid) #define GETGRNAM(nam) PWF._getgrnam(nam) +#define PWF_REGULAR 0 +#define PWF_ALT 1 +#define PWF_ROOTDIR 2 + #define PWALTDIR() PWF._altdir #ifndef _PATH_PWD #define _PATH_PWD "/etc" |