Is there a way to bypass account setup?

Hi!

I am wondering if there's a way to bypass account setup on OS X. I would like to be able to go into new machines and help set them up for customers by installing programs and running OS X updates, but then reseal the machine so when they get the unit it will still prompt them to set up an account and register the machine. Is there a good way to do this? I know you can do Apple-Q to quit, but then the machine just shuts down and you cannot do anything with it. I was thinking Target firewire disk mode would work except I don't know how to run OS X updates for the target drive that way.

Thanks.

all models Mac OS X (10.4.3)

Posted on Jun 22, 2006 7:25 AM

Reply
8 replies

Jun 23, 2006 12:55 AM in response to Niel

Since the OP has to create an admin account to install the other software, doesn't he also have to either change or delete the current netinfo database, as described in http://docs.info.apple.com/article.html?artnum=107210? Using either

mv /var/db/netinfo/local.nidb /var/db/netinfo/local.nidb.bad or

mv /var/db/netinfo/local.nidb

Additionally, what happens to the original users account? Is it eliminated when a new netinfo database is created and the .applesetupdone file is removed? I haven't had the pleasure of going through the drill, but I'm curious about these seemingly finer points. Anyone?

Jun 22, 2006 7:38 AM in response to Jill Beckman

You are right in that if it were me, I would agree. I wouldn't want anyone else doing anything to my machine! 🙂

However it definitely is something they want -- we already open up the machines and install RAM for people, at their request. It would only be for people who requested the service, and we already get many people asking us to install Office or other things for them. I just thought it would be nice if they could set up their own account.

Mostly (obviously) it's for people who don't know that much about computers and want everything done for them so they can just start using the computer right away. Also I would NEVER open a machine or even slightly crack the seal unless it was something someone asked me to do. 🙂

Mac OS X (10.4.6)

Mac OS X (10.4.6)

Jun 22, 2006 9:16 AM in response to macjack

That's the really long way... there's another way, albeit one that leaves the account you created active. If that's not an issue to them (just name it admin or something, and unless they're turning on fast user switching, they'll probably have on autologin and will never see it), here's the deal:

Restart the computer in Mac OS X single user mode by holding Command-S
at startup.
Mount the computer's drive for read/write access. To do so, type the
following command at the command prompt, and then press Enter:

mount -uw /

Remove the file that identifies that the initial run of the "Mac OS X
Setup Assistant" has been completed, with this command at the command
prompt, followed by Enter:

rm /var/db/.applesetupdone

Restart the computer by entering this command, followed by Enter.

reboot

The Mac OS X Setup Assistant screen should appear after the reboot,
just as it does when you start up a brand new computer or upgrade to a
new version of Mac OS X.

Jun 23, 2006 5:50 PM in response to baltwo

When you delete the applesetupdone file, the netinfo database is left untouched - when it starts the assistant back up, it creates a new admin account, and uses the next user ID available.

So, for example, if you had two people set up before (accounts 501 and 502), they would still be there - after the setup is re-done, the new admin / owner of the computer is user 503. You can then go and delete the old accounts once you're logged in and set up.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there a way to bypass account setup?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.