From c03e082693d66d2ac6afdfcd84602edf77b466d5 Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Thu, 20 Mar 2003 16:36:03 +0000 Subject: Add a -g option to specify a default login group. Approved by: markm (mentor)(implicit) --- adduser/adduser.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'adduser/adduser.8') 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 -- cgit v1.2.3-56-ge451