Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: serversetup --deleteUser?




On Oct 30, 2004, at 12:48 PM, Todd O'Bryan wrote:

But I don't see any way to delete a user. Am I missing it, or is this impossible to do from the command line (I know how to do it from Workgroup Manager.)?


I'd use dscl.

dscl -u -p /LDAPv3/127.0.0.1 -destroy /Users/username



or for the local domain

sudo dscl . -destroy /Users/username



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >serversetup --deleteUser? (From: "Todd O'Bryan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.