Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with a box that uses LDAP for user authentication. However, I need to add a local user to run some services and I don't want non-person users junking up the LDAP directory. Does anyone know the command/options I would use to accomplish this?

share|improve this question
up vote 0 down vote accepted

On most systems (including Linux), useradd and adduser only support local users (and ditto for userdel, usermod, groupadd, groupdel, groupmod, addgroup). Use any of these tools.

share|improve this answer
... well that was easier than I thought. For some reason I was thinking that these tools would also be linked to LDAP. – Joshc1107 Feb 2 '12 at 13:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.