diff options
author | Mike Makonnen <mtm@FreeBSD.org> | 2003-03-20 16:36:03 +0000 |
---|---|---|
committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-03-20 16:36:03 +0000 |
commit | c03e082693d66d2ac6afdfcd84602edf77b466d5 (patch) | |
tree | 18310d589691d71bfb2f01d96a54ebac30f818a1 /adduser/adduser.8 | |
parent | e5f96223fdef6911fdc8c7324635681d33f14049 (diff) | |
download | pw-darwin-c03e082693d66d2ac6afdfcd84602edf77b466d5.tar.gz pw-darwin-c03e082693d66d2ac6afdfcd84602edf77b466d5.tar.zst pw-darwin-c03e082693d66d2ac6afdfcd84602edf77b466d5.zip |
Add a -g option to specify a default login group.
Approved by: markm (mentor)(implicit)
Diffstat (limited to 'adduser/adduser.8')
-rw-r--r-- | adduser/adduser.8 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 4daa77e..69b5141 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -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 |