diff options
author | Mike Makonnen <mtm@FreeBSD.org> | 2008-01-27 10:15:36 +0000 |
---|---|---|
committer | Mike Makonnen <mtm@FreeBSD.org> | 2008-01-27 10:15:36 +0000 |
commit | 970a7093f041ded08b1f94659794c893f1bc44c2 (patch) | |
tree | a90ff81907235ed7caba2581578f5dcbc8fb5022 /adduser/adduser.8 | |
parent | 20ce971e8c7349d735f7e0bddc4742c35047ead6 (diff) | |
download | pw-darwin-970a7093f041ded08b1f94659794c893f1bc44c2.tar.gz pw-darwin-970a7093f041ded08b1f94659794c893f1bc44c2.tar.zst pw-darwin-970a7093f041ded08b1f94659794c893f1bc44c2.zip |
Add the -M command-line option, which will set home directory permissions.
Works both in interactive or batch mode. This is a heavily modified version
of the patch submitted in the PR.
PR: bin/105060
MFC after: 1 week
Diffstat (limited to 'adduser/adduser.8')
-rw-r--r-- | adduser/adduser.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 2df836a..fa164e4 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -37,6 +37,7 @@ .Op Fl CDENShq .Op Fl G Ar groups .Op Fl L Ar login_class +.Op Fl M Ar mode .Op Fl d Ar partition .Op Fl f Ar file .Op Fl g Ar login_group @@ -239,6 +240,9 @@ Please note that the message file can reference the internal variables of the .Nm script. +.It Fl M Ar mode +Create the home directory with permissions set to +.Ar mode . .It Fl N Do not read the default configuration file. .It Fl q |