Re: launching agents during install running as root instead of user context
Re: launching agents during install running as root instead of user context
- Subject: Re: launching agents during install running as root instead of user context
- From: Iceberg-Dev <email@hidden>
- Date: Fri, 28 Nov 2008 22:30:18 +0100
On Nov 28, 2008, at 7:48 AM, Arjun SM wrote:
Hi All,
I've built an install using Apple's PackageMaker utility.
It installs a user agent.
At the end of the install I would like to start the user agent
using launchctl.
However, since I had to elevate privileges during the install , I
end up starting the user agent as root.
Is there any way to un-elevate privileges during an install so that
launch agent starts in user context?
If you're using a script:
http://s.sudre.free.fr/Stuff/Installer/Installation_Scripts/
InstallationScripts-FAQ001.html
_______________________________________________
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