site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Apr 13, 2007, at 10:56 AM, Brian Ray wrote: su bray -c "open http://kazavoo.com" I had thought of that, but su only takes a user name, not a uid. Thanks, Dave _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... On Apr 13, 2007, at 12:36 PM, Dave Camp wrote: However, I've discovered that since the script is running as root, open launches root's default browser (Safari), not the default browser of the real user (e.g. FireFox). One way might be to run something as a specific user is to use "su" see man page for su and open: Where the username of the person running the installer is bray. You can use the UID also. Is it safe to do su $USER? I was hoping there was a simple way to just drop back to the real uid (maybe I'm being safety paranoid). --- It's not denial. I'm just very particular about the reality I choose to accept. -Calvin This email sent to site_archiver@lists.apple.com