diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-03 19:08:25 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-03 19:08:25 +0000 |
| commit | f1cacd691c6b62757f4a0168eded3d8672a06b13 (patch) | |
| tree | 564c42a9fa9e4ce076cbe45dcc7e3020e1194eaa /pw/pwupd.h | |
| parent | 8f462098108bd06c25d0d54f3ff624a3f7103a82 (diff) | |
| download | pw-darwin-f1cacd691c6b62757f4a0168eded3d8672a06b13.tar.gz pw-darwin-f1cacd691c6b62757f4a0168eded3d8672a06b13.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" |
