Summary: Delete an empty entry from nis+ passwd table

From: David Knight <knight_at_atmos.albany.edu>
Date: Mon Jun 13 2011 - 17:43:37 EDT
Thanks to a tip from Sal Serafino, I was able to delete the
empty entry using:

nistbladm -r uid='' passwd


> Hi,
> 
> Somehow, long ago, our nis+ passwd table got an empty entry.
> it has no name:passwd:uid:gid:gcos:home:shell values at all.
> It just reads
> :x:::::
> 
> How do I get rid of this entry?
> 
> One thought is:
> %% nisaddent -d passwd > /tmp/passwd
> %% vi /tmp/passwd
> %% nisaddent -r -f /tmp/passwd passwd
> 
> But I'm afraid that might break passwords.
> 
> It is causing problems when trying to convert to using ldap.
> 
> Thanks
> DAvid
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jun 13 17:44:07 2011

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST