On Sat, May 21, 2022 at 03:19:09PM +0200, to...@tuxteam.de wrote: > Less typing, more general. Nobody's trying to dissuade you of doing > "sudo bash" or "sudo su" or...
I'm definitely trying to dissuade people from doing the latter. It's one of those horrible memes that has spread maliciously for a decade or two, to the extent that many people actually think it's correct, because they've seen it so often. "sudo bash" isn't bad. It's the simplest and clearest way to choose the shell you want to use after the privilege change, just in case the user account you're switching to has something like /bin/true listed as its shell, etc.