Re: Running cmd as logged in user from admin script
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On 7 Mar 2008, at 9:31 AM, Alexander Cohen wrote: su $USER -c "/path/to/command" If it's an application: su $USER -c "open /Applications/MyApplication.app" — F _______________________________________________ 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... I have an installer that has a script that runs after the install. The installer is run with admin privileges. From the script, i need to run a cmd as the currently logged in user. Is there a way to do that ? This email sent to site_archiver@lists.apple.com
participants (1)
-
Fritz Anderson