Can't add a user, exists. Can't delete does not exist.

Dave Walker dave at mudsite.com
Mon Jul 18 02:47:03 UTC 2005


Scott Henson wrote:

> Dave Walker wrote:
>
>> Ok I don't know how I got into this but something is broken.  A user 
>> was having account problems so I was going to just re-create the 
>> account.  I deleted the princ from Kerberos, and tried deluser 
>> the_username.  I got:
>>
>>
>
> What you need to do is 'getent passwd'
> That command will tell you what the system sees as far as users go.  
> If you see your user in there, something other than /etc/passwd is 
> providing that user.  You can check what is providing that user by 
> /etc/nsswitch.conf.   Check the passwd line.  For a normal system it 
> will have compat and files.  If anything else is on that line then 
> youll have to remove the user from there.  If your using kerberos, you 
> might see ldap on there.   Other than that, I'm not sure why you would 
> be getting that error.
>
>

It does show the users in there... however my nsswitch.conf:
passwd: files

So, I got nothin.

--
Dave





More information about the ubuntu-users mailing list