How to delete users on mac snow leopard

You can either delete your user accounts or rebuilt OS X from scratch if you have the original discs that came with your Mac. Deleting user accounts however.
Table of contents

It probably deletes too many entries. Also, the only thing needed to be modified on your script is "username", right, to the temp user I want to delete? Two simple changes to address the two issues of your script the hardcoded user name and script name: You can get the short ID user name with the command: And note that if you change the name of the script you'll need to change the script line that deletes itself - use wallybear's suggestion to make it painless.

Put it in the root level of the hard drive, reboot into single user mode, and type "sh userreset. The script will run then delete itself and shut the machine down when it's finished. For our needs the hardcoding is fine but I certainly prefer to have a more flexible solution. As you can see I'm trying to keep the script flexible enough to use with all the OS's we're likely to need it with.

Thanks for the help! Regarding the "id" command, man states that "The id command appeared in 4. Not a problem for I'm not sure it's worth the trouble - starting to wonder if listing the user directory might be easier! I recently wanted to do this but kept running into problems, even with the other hints here at the site.

One problem was that while I was able to successfully delete the temp user account and the AppleSetupDone file, even after rerunning the setup upon restart the OS does not set the first user to User ID Nilness, did you check to see if your hint here resets the User ID to upon rerunning of the setup routine?

Just checked this on a In And for the poster who asked why it matters, if you're recovering data or trying to rebuild the user accounts from another drive it's MUCH easier to make sure the user ids match up from the start. This seems to work except I'm looking to have iWork '09 installed first, do software updates system-wide, and then delete the user account.

I can't seem to find a way to make this work as after restarting Pages, Numbers, and Keynote all say: To restore the missing files, use the iWork Installer to reinstall iWork. I saved the scipt as "script. How can I run this script from the command line??

can i remove a user account on snow leopa… - Apple Community

Take a Look here: At the top, the hint says this must all be run from single user mode. I've found there is an alternative: Run it via ssh on a Mac that you're sure is at the login screen with nobody logged in locally. The dscl commands certainly do fail if you're logged into the GUI, but work fine over ssh, which is great news for those of us trying to support Macs that are hundreds of miles away that we can't put into single user mode.

HTH, -K. Lost your password? Powered by the Parse. More Mac Sites: Macworld MacUser iPhone Central.

How to Delete User Accounts from an Old Mac

I work at an Apple authorized service provider, and many times we need to do a new OS X install, create a temporary user account, run all the updates, then delete the user account and get the machine back to "new" condition, i. The process in Here's a process I've come up with and tested twice. It's not as elegant as just deleting the whole netinfo database, but it still seems to accomplish what I need.

Hopefully someone more knowledgeable can improve it! To delete a user from the command line in Boot into single user mode.

Hint Options

Hold Command-s at startup. Check the filesystem: The following comments are owned by whoever posted them. This site is not responsible for what they say. Anybody ever try deleting the whole dslocal on Leopard?

  • How to Delete a User Account in Mac OS X.
  • minecraft lan server tutorial mac;
  • mac os x vmware image amd.
  • How to Delete a User Account in Mac OS X Snow Leopard - dummies;
  • How to Delete a User Account in Mac OS X.

Is this normal?? Any other ideas on this? You have to be logged in as another admin user to delete any other admin user.

Edit, Add, And Delete Users With Terminal

So backup first. Any suggestions? Name required. Mail will not be published required.

How to Delete a User Account in Mac OS X Snow Leopard

All Rights Reserved. Reproduction without explicit permission is prohibited. Enter your email address below: Posted by: ONTn says: June 9, at 5: Shanna says: July 17, at Raffy says: July 19, at 9: