Re: How can I "un-sudo" in postflight?
Re: How can I "un-sudo" in postflight?
- Subject: Re: How can I "un-sudo" in postflight?
- From: Per Olofsson <email@hidden>
- Date: Tue, 03 Dec 2013 08:06:46 +0000
- Thread-topic: How can I "un-sudo" in postflight?
2 dec 2013 kl. 20:40 skrev Mitchell J Laurren-Ring <email@hidden>:
> 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/scripts/postinstall
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden