useradd now creates groups too

Mark A. Olbert Mark at arcabama.com
Tue Sep 30 08:51:49 PDT 2008


Sounds like the answer is to set up an aliased command, mapping useradd -n to useradd.

- Mark

-----Original Message-----
From: lfs-support-bounces at linuxfromscratch.org [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of Mike McCarty
Sent: Tuesday, September 30, 2008 8:37 AM
To: LFS Support List
Subject: Re: useradd now creates groups too

Valter Douglas Lisbôa Jr. wrote:
> Em Tuesday 30 September 2008 11:04:06 Valter Douglas Lisbôa Jr. escreveu:
>> Em Monday 29 September 2008 09:47:35 Jeremy Henty escreveu:
>> I try to find by man, but it's poorly documented, I did  think for a while
>> that /etc/defaults/useradd could change this behaviour, but no. My file
>> have GROUP=100 and 100 is the GID of group users and it always create a new
>> group if the -u is nor expecified.
>>
>> I try a strings on /usr/sbin/useradd searching a possible parameter
>> on /etc/login.defs, but no clear hint how to change it by this way. Going
>> to source code...
>>
>> --
>> Valter Douglas Lisbôa Jr.
>> Sócio-Diretor
>> Trenix - IT Solutions
>> "Nossas Idéias, suas Soluções!"

Is that "Our Ideas, your Solutions"?

>> www.trenix.com.br
>> contato at trenix.com.br
>
> The patch completelly ignore the GROUP= on /etc/defaults/useradd, to be truth,
> almost  the whole patch code is about ignore this and does not have any
> options to change the behaviour, neither in /etc/login.defs.

I use a version of Fedora, and started to reply, but forebore
until now. I saw nothing in my /etc/defaults/useradd. The
man page documents the "-n" option to prevent the creation
of a user specific group.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3483 (20080930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 3483 (20080930) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the lfs-support mailing list