]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - adduser/adduser.8
Add support for the special shell nologin.
[pw-darwin.git] / adduser / adduser.8
index 4daa77e377e0cb8bad083087369bda112cf32ee8..ebd1c8d3e7e9f84dc2e021479da143315b57aa80 100644 (file)
@@ -39,6 +39,7 @@
 .Op Fl L Ar login_class
 .Op Fl d Ar partition
 .Op Fl f Ar file
+.Op Fl g Ar login_group
 .Op Fl k Ar dotdir
 .Op Fl m Ar message_file
 .Op Fl s Ar shell
@@ -189,10 +190,17 @@ If an error is encountered while processing an account, it will write a
 message to standard error and move to the next account.
 The format
 of the input file is described below.
+.It Fl g Ar login_group
+Normaly,
+if no login group is specified,
+it is assumed to be the same as the username.
+This option makes
+.Ar login_group
+the default.
 .It Fl G Ar groups
 Additional groups.
-By default, the user name is used as the login group.
 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
 Print a summary of options and exit.
 .It Fl k Ar directory
@@ -232,6 +240,8 @@ argument must be the base name of the shell,
 the full path.
 It must exist in
 .Pa /etc/shells
+or be the special shell
+.Em nologin
 to be considered a valid shell.
 .It Fl u Ar uid
 Use UIDs from