Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Panicof1907

macrumors newbie
Original poster
Dec 19, 2020
26
1
Hello guys, I'm not the best unix navigator, so bare with me here.

For various reasons, I am finding myself needing to use 'sudo' a lot in the terminal for installing packages and other things. Quite often I am getting this:

"sudo: setrlimit(8): Invalid argument"

After doing some research, I have found others who had this same issue on Macs and claimed the culprit was that sudo being out of date.. especially with version 1.8.29

I did sudo -V and sure enough, I also have 1.8.29

What I am confused on, is how to update the sudo command itself? I am on Macos 10.13.6 and there is no further version to update to on my hardware anymore.

I don't seem to see a simple method of doing this, unless I am over-thinking it?
 
  • Like
Reactions: Fereous
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.