Article View: comp.unix.admin
Article #4087Re: Unable to use Useradd due to UID error - Please help
From: alowance
Date: Fri, 10 Mar 2000 00:00
Date: Fri, 10 Mar 2000 00:00
26 lines
1869 bytes
1869 bytes
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. In article <vO8y4.51708$Pa1.1325518@news6.giganews.com>, "Matthew J. Salerno" <Msalerno@tengines.com> wrote: > Please let me know how I can get useradd to work. Every time I attemt to > add a new user I get the following error : > UX: useradd: ERROR: uid 100 is already in use. Choose another. > > I know that there are other ways to add users, but all of my scripts use > useradd. Please help. > > Thanks, > > Matt > > Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<8abadu$n2k$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<vO8y4.51708$Pa1.1325518@news6.giganews.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: 1020c6,421528a2f28284dc X-Google-Attributes: gid1020c6,public X-Google-Thread: 11035d,421528a2f28284dc X-Google-Attributes: gid11035d,public X-Google-Thread: 10158f,421528a2f28284dc X-Google-Attributes: gid10158f,public From: alowance@my-deja.com Subject: Re: Unable to use Useradd due to UID error - Please help Date: 2000/03/10 Message-ID: <8abadu$n2k$1@nnrp1.deja.com> X-Deja-AN: 595747309 References: <vO8y4.51708$Pa1.1325518@news6.giganews.com> X-Http-Proxy: HTTP/1.1 wst-cl[AC300101] (NONE [uScMs f p eN:t cCMi p s ]), 1.0 x31.deja.com:80 (Squid/1.1.22) for client 199.43.48.21 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Mar 10 17:12:36 2000 GMT X-MyDeja-Info: XMYDJUIDalowance Newsgroups: comp.unix.admin,comp.unix.solaris,git.unix.solaris,hun.comp.os.solaris X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I)