Deleting Mac OS X users remotely with dscl
by Robert Daeley
I had occasion recently to need to remotely delete a user — let’s call him “George” — on a Mac OS X box that is running the Client version of Tiger. I have ssh access to that machine and, since I keep meaning to learn how to do it, I decided to take the time to make a few notes on the process for the next such occasion.
4 Comments
| NetInfo user 2006-04-28 02:34:37 |
Nice review - but what about the OTHER groups which George may be a member of? You state "I happen to know that George is in only two groups: handmodels and george" - but what if George was an administrative user? In this case, he would also be a member of the "admin", "appserveradm" and "appserverusr" groups.
|
| Laurent Pertois 2006-04-28 03:54:05 |
Try this :
|
| Charles Albrecht 2006-04-28 09:53:59 |
% id -G -n george |
| nidel 2006-04-28 10:48:41 |
Take a look at http://www.ubergeeks.com/~jmalone/software/
|
