Why does 'poweroff' fail when I'm root but works with 'sudo'?
I've noticed that the command 'sudo poweroff' successfully shuts down my system, but when I try to use just 'poweroff' as root, it fails because it can't find…
I've noticed that the command 'sudo poweroff' successfully shuts down my system, but when I try to use just 'poweroff' as root, it fails because it can't find…
I've noticed something interesting: when I use 'sudo poweroff', it shuts down the system just fine. However, if I'm already logged in as root and try to run…