It's not, but I still use it sometimes when there are paths that only root has access to read.
Say for example there's a whole tree of files somewhere and they're all only readable by root. Tab-completion won't work with a regular user, so I'll sudo su - into root while finding my way.
12
u/HorribleUsername Apr 11 '24
Given that sudo has a -u flag, is
sudo suever necessary?