Re: How can I "un-sudo" in postflight?
2 dec 2013 kl. 20:40 skrev Mitchell J Laurren-Ring <lists@rynosoft.com>:
How do execute something from postflight as "not root", preferably the installing user?
Here’s the script I use to launch commands for every currently logged in console user in the correct bootstrap context: https://github.com/MagerValp/Scripted-Mac-Package-Creation/blob/master/scrip... Details, read carefully: https://lists.macosforge.org/pipermail/launchd-dev/2011-January/000890.html -- Per Olofsson, IT-service, University of Gothenburg _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Per Olofsson