X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/f6d5bfbfb6fe8ba3b182d2089e4b3e452d721cbd..20929a4bb15d04607a63dc41ee257643f1c9181a:/adduser/adduser.8?ds=sidebyside diff --git a/adduser/adduser.8 b/adduser/adduser.8 index ab5b364..f23ecff 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 7, 2006 +.Dd September 15, 2012 .Dt ADDUSER 8 .Os .Sh NAME @@ -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 @@ -128,9 +129,8 @@ they can safely run with a umask of 002 instead of the usual 022 and create files in their home directory without worrying about others being able to change them. .Pp -For a shared area you create a separate UID/GID (like cvs or ncvs on freefall), -you place each person that should be able to access this area into that new -group. +For a shared area you create a separate UID/GID, you place each person +that should be able to access this area into that new group. .Pp This model of UID/GID administration allows far greater flexibility than lumping users into groups and having to muck with the umask when working in a shared @@ -212,7 +212,7 @@ This option makes .Ar login_group the default. .It Fl G Ar groups -Additional groups. +Space-separated list of additional groups. This option allows the user to specify additional groups to add users to. The user is a member of these groups in addition to their login group. .It Fl h @@ -239,6 +239,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 @@ -392,7 +395,7 @@ and this field is empty, its contents will be used as a password. This field will be ignored if the -.Fl p +.Fl w option is used with a .Cm no or