diff options
author | mtm <mtm@FreeBSD.org> | 2008-01-27 10:15:36 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-01-27 10:15:36 +0000 |
commit | eae3f7d4dcdeb004fbb823f1e0c9430217fdb688 (patch) | |
tree | 769e86a979be1a6aeaa4b6d92e0fc23cdafd5d51 /usr.sbin/adduser/adduser.8 | |
parent | c2d1050fbac3414e1d700ac06dac673fbce6d181 (diff) | |
download | FreeBSD-src-eae3f7d4dcdeb004fbb823f1e0c9430217fdb688.zip FreeBSD-src-eae3f7d4dcdeb004fbb823f1e0c9430217fdb688.tar.gz |
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 'usr.sbin/adduser/adduser.8')
-rw-r--r-- | usr.sbin/adduser/adduser.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index 2df836a..fa164e4 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/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 |