[patch] document useradd behavior when run without the -g option
Mike Frysinger <[email protected]> Fri, 7 Apr 2006 20:27:16 -0400
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Organization | wh0rd.org |
| Message-ID | <[email protected]> |
a user submitted a bug that useradd behaved "incorrectly" when run with the -G option but not the -g option ive attached a patch for the useradd(8) manpage which spells out the behavior of useradd when the -g option is omitted -mike
shadow-useradd-no-gid-option.patch
(text/x-diff, 604 B)
2006-04-07 Mike Frysinger <[email protected]> * man/useradd.8.xml: Document behavior when -g is not specified. --- man/useradd.8.xml +++ man/useradd.8.xml @@ -41,6 +41,12 @@ will update system files and may also create the new user's home directory and copy initial files. </para> + <para> + When invoked without the <option>-g</option> option, the + <command>useradd</command> command automatically creates a new group + account with the same name as the new user account and sets that as + the user's initial login group. + </para> </refsect1> <refsect1 id='options'>