←back to thread

466 points CoolCold | 1 comments | | HN request time: 0.202s | source
Show context
ccorcos ◴[] No.40220178[source]
Can someone explain what this is / how it works to someone who has done a considerable amount of programming but lacks this kind of operating system level knowledge?

I was under the impression that ‘sudo’ was baked into the entire system. Like ‘cd’ or ‘ps’. How exactly can you just swap out sudo? Does that involve swapping out chmod as well?

replies(8): >>40220205 #>>40220206 #>>40220219 #>>40220224 #>>40220238 #>>40220277 #>>40220342 #>>40222121 #
tommica ◴[] No.40220206[source]
Pretty sure `sudo` is an application that you can remove, it just comes pre-installed in many distros.
replies(1): >>40220234 #
1. gattilorenz ◴[] No.40220234[source]
Not only that, but it became commonly included only about 20 years ago. I spent my first years with Linux calling ‘su’ instead.

I still run some very old distribution (e.g. RedHat 6.2) on a Pentium 1 laptop, and I downloaded the source of sudo and compiled it on it, since the sources were not even included in the extended CD set.