@francis sudo had some proper bad security holes a couple of years back - that's when I switched to `doas`. Probably why people suggest it these days too.
@zimpenfish I installed it to make cutting and pasting from some instructions easier and it kept telling me it didn’t like the commands and I was root. Lost the will to live.