error in user.add

Auke Kok auke.kok at planet.nl
Wed Apr 23 22:31:12 GMT 2003


On Wed, 2003-04-09 at 20:28, Hendrik Visage wrote:
> On Wed, Apr 09, 2003 at 08:17:57PM +0200, Hendrik Visage wrote:
> > 
> > /bin/sh ./mkinstalldirs /usr/bin
> > /usr/bin/install -c isc-config.sh /usr/bin
> > useradd: user bind exists
> 
> Rather use "getent group $GROUP" and "getent passwd $USERNAME"
> in user.add as getent is part of glibc which is quite crucial
> for "most" linux systems :)
> 
> su-2.05b# lvu from bin/id
> coreutils-5.0:/bin/id
> sh-utils-2.0:/bin/id
> -su-2.05b# lvu from bin/getent
> glibc-2.3.1:/usr/bin/getent
> 
> Hendrik

useradd is now moved into a separate lib file (useradd.lunar) that still
uses bin/id. Perhaps I'll move it to getent once, but the code as it is
shouldn't produce this error anymore.

thx for the hint.

sofar

-- 
Auke Kok <auke.kok at planet.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dbguin.lunar-linux.org/pipermail/lunar/attachments/20030423/494403f8/attachment.bin


More information about the Lunar mailing list