November 2005
Beginner to intermediate
528 pages
24h 11m
English
To delete a user, use dscl’s delete command. Since delete recursively deletes everything under the specified directory, use this command with caution:
$ sudo dscl . delete /users/rothmanIf you want to also delete that user’s home directory, you’ll have to do it manually.
Be sure to delete the group you created for this user as well (“rothman” in this example), as shown in "Deleting a Group,” earlier in this chapter.
Read now
Unlock full access