Re: FindFolder/sudo puzzle
Re: FindFolder/sudo puzzle
- Subject: Re: FindFolder/sudo puzzle
- From: Bruce Carter <email@hidden>
- Date: Sat, 24 May 2008 23:24:43 -0400
On May 24, 2008, at 10:34 PM, Bill Coderre wrote:
Apple frequently uses su -c ${USER}, which is very close to the same
thing.
We use su instead of sudo because (if I recall correctly) sudo can
be configured to require keyboard confirmation to work, and that
would screw up a postflight script in at least some cases.
But yes, for all the kinds of scripts you write, su -c ${USER} is
reliable and should keep working for quite some time.
Should anything be read into the fact that the -c option is no longer
listed on the man page for su in Leopard?
--
Bruce Carter, Senior Systems Engineer http://www.nd.edu/~bcarter/
Center for Creative Computing, University of Notre Dame, Notre Dame,
IN 46556
_______________________________________________
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