How to delete users on mac snow leopard

If you chose the option to completely remove the user account and the users Home folder, any and all files and apps in that users home directory will be deleted.

  • How to Delete a User Account in Mac OS X?
  • Delete users accounts from command line in - Mac OS X Hints.
  • macos - How can I delete a Mac OS X Snow Leopard user account from Command Line? - Super User.
  • save youtube videos to mac.
  • rc model plane simulator mac.
  • best melting cheese for mac n cheese.
  • How to Delete a User Account in Mac OS X Snow Leopard!

While deleting a user is permanent, you can always create a new user account on a Mac at anytime, though if the intention is simply to allow basic guest usage like internet access, then setting up the Guest User account on Mac OS X is often a better idea. Enjoy this tip?

How to Delete a User Account in Mac OS X

Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:. Its taking hours and hours!! Is this normal?? Any other ideas on this?

Helpful answers

You have to be logged in as another admin user to delete any other admin user. So backup first. Any suggestions? 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.

How to Delete User Accounts from an Old Mac

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??

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.

Create and delete users in macOS

HTH, -K. Lost your password? Powered by the Parse. More Mac Sites: Macworld MacUser iPhone Central. 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 By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service.

You want to use the program dscl to manage users on Mac OS X. The University of Utah Mac Managers group submitted an excellent script to CodeSnippets that does all the checks and work you're looking for. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies.

Hint Options

Home Questions Tags Users Unanswered. Ask Question.