I've done that.  It doesn't work.  Part of the useradd man page talks about
the -n option to bypass this annoying quirk with RedHat.  If the useradd
allowed the -n option with the -D option, it'd be fairly easy.

For now, I just made an alias to useradd and adduser to /usr/sbin/useradd
-n, but I wish there was an actual config option, either in
/etc/default/userdadd or /etc/login.defs.

-Cameron Mandrake

On 10/15/02 2:33 PM, "Tom Pollerman" <[EMAIL PROTECTED]> wrote:

> On Tue, 15 Oct 2002 11:25:49 -0700
> Cameron Mandrake <[EMAIL PROTECTED]> wrote:
> 
>> How do I disable the automatic creation of groups for each user and
>> just default to group 100 (users)?
>> 
>> /etc/default/useradd has...
>> 
>> GROUP=100
>> HOME=/home
>> INACTIVE=-1
>> EXPIRE=
>> SHELL=/bin/bash
>> SKEL=/etc/skel
>> 
>> I know I can just specify the group in the command line, but I
>> should be able to change the defaults and have them work.
>> 
>> Anyone have any ideas?
>> 
>> 
>  When  invoked with the -D option, useradd will either dis­
>      play the current default values,  or  update  the  default
>      values from the command line. Try your new group defaults
>      there.
>      See 'man useradd.'
> 
>                               Regards,
> 
>                                 Tom
> 
> 

--
Cameron J. Mandrake, Administrator
dragon.org 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to