Insufficient privileges?

Mark Hattam mark at dxradio.demon.co.uk
Mon Apr 18 17:37:29 PDT 2011


On 18 Apr 2011, at 19:24, Robert J. Hansen wrote:

> On 4/18/2011 2:15 PM, John B Brown wrote:
>> However, claiming the sky will fall if you chose what you want in 
>> your computer is ridiculous! Recompile fixes a myriad of "Apple
>> knows best" crap.
> 
> And also sets the stage for future problems.
> 
>> Or did you invest in that expensive CS degree to stop thinking?
> 
> This seems unnecessarily combative.
> 
> First understand the problem, understand the consequences of your
> solution, then decide whether to try applying the fix.  That seems to be
> good counsel here.
> 
> I have no horse in the race: whether someone else wants to replace
> Apple's sudo with their own makes not a whit of difference in my life.
> And so, I'll refrain from giving advice except to say that yes,
> replacing Apple-provided binaries with your own can cause major problems
> with upgrades.  The risk of this happening must be weighed against the
> inconvenience of using Apple's sudo.  If the risk calculation is in
> favour of replacing sudo, then replace it: otherwise, don't.
> 
> I don't understand what's so difficult.


Why not just do
sudo port install sudo
and get the 1.7.4p2 version as (presumably) /opt/local/bin/sudo which would be run preferentially to /usr/bin/sudo assuming your path is set up the usual way?

Having said that, Apple's sudo version works fine for me.

Mark




More information about the macports-users mailing list