Security Theater - sudo vs root

Because the FreePBX install does technical stuff that is not EXACTLY duplicated by using sudo. You may think that this is exactly the same:

sudo foo
sudo blah
sudo wibble

and

sudo -i
foo
blah
wibble

But it’s not. And the reason I keep saying ‘don’t use sudo’ is BECAUSE of that. Switch to root once, then do everything, then drop root.

2 Likes