Re: launching agents during install running as root instead of user context
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=laIOHbOP9FKNCyT4QspAeNf1oJ0kdG2UfpejutEwYxo=; b=PcbzXKwFAKfQpTwPkn1MF+iSfcDTh6EjxnN/YxbmF/Nu2whbeJI1HdL9Q8VFvB3tsW fsj7rEF2bC+4DMgUcrh03NArE21ctXO1CUq97Ftk9U2jTX2kvJI242sE7CFUmbka8s8H uNNMrqEfevYB3qAPYA6VQvvvuIBoRK3oVeWl8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=Bi8g0lX5Ey/zO+4W8WYbdHPKVMXywN+y44UbxoJsUwAMkTbpjy1pW7adSl11Ti7kTm prD3t52vFzUc8FkE34nWTYnjVvnF75pKfQgWH41EXxu8Lpvarp8z3enJMIjTb+5izPcW xKFouE6ZSS9oyVJL42XEKrUcytb96HqSjYhBM= On Nov 28, 2008, at 7:48 AM, Arjun SM wrote: Hi All, If you're using a script: _______________________________________________ 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'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? http://s.sudre.free.fr/Stuff/Installer/Installation_Scripts/ InstallationScripts-FAQ001.html This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev