Ravioli 🐧 on Twitter

“Linux users when they can't sudo #linuxmeme #linux #archlinux”

Twitter
@nixCraft Can you elaborate how sudoers file is modified without sudo?

@samurro @nixCraft The third picture uses `su`, which allows to change the current user, if permitted e.g. by password. The default user su switches to is root. The option -c directly executes the provided command without starting the default shell of the target user (or inside of the shell, idk).

su can be seen as an acronym for "substitute user" and sudo as "substitute user (and) do..."

@nixCraft ah, the "sudo make me a sandwich" version 2.0
@nixCraft Wouldn't work on any of our systems (current or since at least 2010): root password is locked (meaning `su` isn't usable).