launching agents during install running as root instead of user context
launching agents during install running as root instead of user context
- Subject: launching agents during install running as root instead of user context
- From: "Arjun SM" <email@hidden>
- Date: Fri, 28 Nov 2008 12:18:46 +0530
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?
Thanks in advance
Arjun M
_______________________________________________
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