From 6pm (NZ time) join us in our chat page to listen to the NZTechPodcast live recording.

Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1497 posts

Uber Geek

Trusted
Subscriber

Topic # 113029 3-Jan-2013 08:25 Send private message

How do I ensure my personal credentials, i.e. Apple ID, purchases and the associated credit card are completely removed from a Mountain Lion install?

Create new topic

This is a filtered page: currently showing replies marked as answers. Click here to see full discussion.

2967 posts

Uber Geek

Subscriber

  Reply # 739585 3-Jan-2013 08:51 Send private message

The Apple ID is only used to verify the licence during installation and isn't stored after that.

The best way to "tidy up" a fresh installation is convoluted because you can't delete the last remaining user from inside the GUI. You don't absolutely have to do this, but if you want the system to boot to the original Setup Assistant then here's how you do it:

Edit: Step 0: Deauthorise your iTunes account if you haven't already! It's done by hardware serial number so you can still do this after reformatting if you forgot about it.

1. Boot into single-user mode by holding Cmd-S at the chime.
2. When prompted, type "/sbin/fsck -fy" and "/sbin/mount -uw /" as requested.
3. Type the following commands.

launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
dscl . -list /groups GroupMembership | grep Mac

You may get an error (which can be ignored) but should get a list of groups that the user "Mac" is a member of.

4. Remove the user from each group by typing this command for each group:

dscl . delete /groups/GROUPNAME GroupMembership Mac (you may get another error which can be ignored)

5. Clean up the user account:

dscl . delete /groups/Mac (this one may not exist)
dscl . delete /users/Mac
rm /private/var/db/dslocal/nodes/Default/users/Mac.plist (this may also not exist)
rm -rf /Users/Mac

6. Finally, restore the Setup Assistant and reboot:

rm /private/var/db/.AppleSetupDone
reboot

7. Once the system comes back up, it should boot into the Setup Assistant. Press Cmd-Q and select to shut down. It'll continue to boot into the Assistant, just like a brand-new machine :)

Create new topic



Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

A new project coming to Geekzone
Created by freitasm, last reply by SaltyNZ on 21-May-2013 15:49 (234 replies)
Pages... 14 15 16


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by heavenlywild on 21-May-2013 15:53 (1497 replies)
Pages... 98 99 100


Orcon, Is this for real or a scam??
Created by old3eyes, last reply by mattwnz on 21-May-2013 13:20 (15 replies)

$200 Smart Phone!? Ideas..
Created by antaeusa, last reply by ajobbins on 21-May-2013 17:51 (29 replies)
Pages... 2


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)

Changeover issue: dial up
Created by Zigg, last reply by Virgil on 21-May-2013 17:50 (13 replies)

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by lokhor on 21-May-2013 09:14 (5528 replies)
Pages... 367 368 369


A reason not to shop at dick smith
Created by dsnz1, last reply by eXDee on 20-May-2013 20:41 (86 replies)
Pages... 4 5 6



Geekzone Jobs »
Most recent NZ jobs in technology:

Contract Developer needed ASAP!!!
Posted 21-May-2013 17:27

Business Analyst - Billing Systems
Posted 21-May-2013 17:27

Senior Business Analyst - Insurance
Posted 21-May-2013 17:27

Service Design Specialist
Posted 21-May-2013 16:27

Software Sales Superstar
Posted 21-May-2013 16:27

Change and Release Lead
Posted 21-May-2013 16:27

Design Lead - Marketplace
Posted 21-May-2013 16:27


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.