Re: [patch] document useradd behavior when run without the -g option

Tomasz Kłoczko <[email protected]> Sun, 11 Jun 2006 23:56:54 +0200 (CEST)
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1931556109-1150063014=:31655
Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8BIT

On Sun, 11 Jun 2006, Mike Frysinger wrote:

> On Sunday 11 June 2006 16:21, Tomasz K³oczko wrote:
>> But Mike .. full control on this functionality is avalaible NOW by passing
>> -K USERGROUPS_ENAB={yes,no} option.
>
> the useradd code in cvs at the moment has partial support for the -n
> option ... my patch "merely" fixes it so it actually works
>
> side note: the name 'USERGROUPS_ENAB' could probably do with being truncated
> to simple 'USERGROUPS' since the value itself implies whether it is being
> enabled

Point taken .. if you want fill free prepare patch for above.

For now I see another thing/bug which must be done for make coherent 
current PUG support.
Current userdel does not removes user main group if it not used by another 
user. Example:

# getent passwd test; getent group test
#
# useradd test; userdel test; getent passwd test; getent group test
test:x:38313:

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie maj± problemów, tylko sobie sami je stwarzaj±*
-----------------------------------------------------------
Tomasz K³oczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*
--0-1931556109-1150063014=:31655
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline