Y
Hacker News
new
|
ask
|
show
|
jobs
by
0xmohit
3541 days ago
One might have sudo privileges configured via /etc/sudoers (It's the default on AWS EC2 instances!)
1 comments
icebraining
3541 days ago
Yes, but you still need to call "sudo poweroff", not just "poweroff".
link
avhon1
3540 days ago
See user chainsaw10. Anecdotally, on my vanilla Arch systems, I can run "poweroff" without being root, and without sudo, and the computers will end all processes and turn off.
link