[LUNI] userdel, useradd madness

Trev Peterson trev at advanced-reality.com
Wed Jul 25 17:55:45 CDT 2007


If you delete her you should not have any user with uid 515.  You can
test this by doing an useradd without the -u 515.  If it works then
there is some config file that still has the uid 515.  Alternatively it
could be the  /var/yp/<NISDOMAIN>/passwd.byname or passwd.byuid files
make it appear that kellie exists in NIS so (adduser checks NIS as well
as /etc/passwd).  Assuming this is a small network you may want to stop
the NIS server then add kellie (with the -u 515) and then restart it.

Hope this helps,

	Trev

On Wed, 2007-07-25 at 14:59 -0700, Richard Reina wrote:
> Hi David,
> 
> Thanks for the quick response.  I'm not sure I follow you.  There is only one user, kellie.  I deleted her and need to add her back and I was hoping I could do so with the same UID.  Are you saying I should not?
> 
> Thanks,
> 
> Richard

-- 
Trev Peterson
Advanced Reality
Email: trev at advanced-reality.com
Phone: +1 847 406 9018




More information about the luni mailing list