On macOS you need to do that quite a couple of times. Changing settings, installing stuff to run in the background, install stuff to open open login, etc. So it is there.
Furthermore a lot of programs and guides for linux are written to make it easy so they use sudo but you don’t always have to run it as root. But not doing so usually requires more steps. So linux is more restricting but to circumvent that, people use sudo a bit too much.
On macOS you need to do that quite a couple of times. Changing settings, installing stuff to run in the background, install stuff to open open login, etc. So it is there. Furthermore a lot of programs and guides for linux are written to make it easy so they use
sudo
but you don’t always have to run it as root. But not doing so usually requires more steps. So linux is more restricting but to circumvent that, people usesudo
a bit too much.