Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kwschnautz

macrumors newbie
Original poster
Jul 23, 2011
9
2
I figure many people will eventually need this, so here it is!

Lion keeps apps open when you log out, and reopens when you log back in. In order to prevent terminal (or other apps) from reopening while making tweaks, I had to change the process slightly.

Follow the guide for making a custom default account in 10.5 (http://www.michaelsmac.com/modules.php?name=News&file=article&sid=394) but make a small modification....

1. Customize your space, logged in as Guest.
2. Once you've modified the guest account as desired, close all apps.
3. Be sure to delete things like browsing history (you were surely looking at that webpage for guidance, and had safari open.)
4. Next, switch users (don't log out) into your admin account.
5. Finally, now open terminal in YOUR account and do the last steps of that guide:
Code:
$ rm -R "/System/Library/User Template/English.lproj/Library"/
$ cp -R Library/ "/System/Library/User Template/English.lproj/Library"/

This will prevent the guest from having apps re-open upon login.
 
did you ever figure out a solution to your problem? i'm about to embark on the same journey on a MBA running Lion, but am not sure if this is going to be an issue or not.
 
I experienced the same key-chain issue until I changed the directory to Guest. The clue was that regardless of which key-chain option I selected, it was a mirror of my admin account's open programs and windows. What worked for me then was to re-do the previous 2 steps I had used in Guest:

sudo -s
Password: XXXXXXX

cd /Users/Guest

rm -R "/System/Library/User Template/English.lproj/Library"/
cp -R Library/ "/System/Library/User Template/English.lproj/Library"/

Good luck!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.