Re: How do I drop elevated privileges in postflight?
Re: How do I drop elevated privileges in postflight?
- Subject: Re: How do I drop elevated privileges in postflight?
- From: Brian Ray <email@hidden>
- Date: Fri, 13 Apr 2007 12:56:58 -0500
On Apr 13, 2007, at 12:36 PM, Dave Camp wrote:
However, I've discovered that since the script is running as root,
open launches root's default browser (Safari), not the default
browser of the real user (e.g. FireFox).
One way might be to run something as a specific user is to use "su"
see man page for su and open:
su bray -c "open http://kazavoo.com"
Where the username of the person running the installer is bray. You
can use the UID also.
hth,
Brian Ray
email@hidden
http://kazavoo.com/blog
_______________________________________________
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