🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.admin
Article #4088

Re: Unable to use Useradd due to UID error - Please help

#4088
From: Philip Brown
Date: Fri, 10 Mar 2000 00:00
26 lines
2105 bytes
On Fri, 10 Mar 2000 17:12:36 GMT, alowance@my-deja.com wrote:
>It sounds like you are trying to assign a UID that is already taken.
>You need to grep for UID 100 in your passwd file or ypmatch it in
>passwd.byuid if you are using NIS.  This will return who is assigned the
>UID 100.  If you want to use useradd and assign a different UID use
>the -u flag.  However, it should assign a number not already in use.
>Hope this helps.

no, the original poster is just trying to use the defaults. But useradd
is not giving the appropriate error message.
I hit this when I "tighten up" permissions on some firewall boxes. useradd
no longer works, unless you manually specify the UID with -u.
probably becuase useradd is using some interesting getxxxxent calls that I
dont remember right now, and needs somewhat lax permissions in places to
dothis.

Similar to
"pkgadd wont run if user nobody does not have permission to write to...
[?]"


-- 
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]
S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D
The word of the day is mispergitude
Technical Details
Message-ID: <slrn8cin3s.pms.phil+s3@shell3.ba.best.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <vO8y4.51708$Pa1.1325518@news6.giganews.com> <8abadu$n2k$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 105c75,421528a2f28284dc
X-Google-Attributes: gid105c75,public
X-Google-Thread: 11035d,421528a2f28284dc
X-Google-Attributes: gid11035d,public
X-Google-Thread: 1020c6,421528a2f28284dc
X-Google-Attributes: gid1020c6,public
X-Google-Thread: 10158f,421528a2f28284dc
X-Google-Attributes: gid10158f,public
From: phil+s3@bolthole.no-bots.com (Philip Brown)
Subject: Re: Unable to use Useradd due to UID error - Please help
Date: 2000/03/10
Message-ID: <slrn8cin3s.pms.phil+s3@shell3.ba.best.com>
X-Deja-AN: 595828345
References: <vO8y4.51708$Pa1.1325518@news6.giganews.com> <8abadu$n2k$1@nnrp1.deja.com>
X-Trace: nntp1.ba.best.com 952720508 217 bolthole@206.184.139.134
Organization: Phil's Software
User-Agent: slrn/0.9.6.2 (FreeBSD)
Reply-To: phil+s3@bolthole.no-bots.com
Newsgroups: comp.unix.admin,comp.unix.solaris,git.unix.solaris,hun.comp.os.solaris