site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com _______________________________________________ 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... 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 This email sent to site_archiver@lists.apple.com
participants (1)
-
Bruce Carter