Trying to remove a user with userdel xyz I get:

no crontab for xyz
userdel: cannot remove entry 'xyz' from /etc/passwd

So I executed getent passwd xyz and a record is returned. I thought that this is a ldap user so I followed the steps described here but did not help. Any idea how to remove this user?

  • 1
    ldapmodify can be tricky to get right, or there might be permissions problems on LDAP; can you show exactly how you poked the LDAP server and what it said? – thrig Nov 9 '16 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.