#How is it done, in LMDE, that I can run poweroff, and reboot without sudo?

1 messages · Page 1 of 1 (latest)

slow venture
#

Does this run without sudo> shutdown -r now

short agate
#

thanks for your reply! but could you please say something more about that? especially, how to configure that 😛

late stone
#

systemctl shutdown or systemctl reboot

short agate
#

understood. however, can we shorten this to shutdown and reboot, just like on Ubuntu, LM, LMDE etc?

late stone
#

you can always add alias "shutdown"="systemctl shutdown" and alias "reboot"="systemctl reboot" to your ~/.bashrc :)

raven rover
#

I think it is systemctl poweroff

late stone
#

close enough 🤷

short agate
#

well, those commands also don't work without sudo

short agate
#

that's exactly what I want, but perhaps i have some issues

short agate
#

well, I got the desired result by editing the sudoers file user ALL = NOPASSWD: /sbin/poweroff, /sbin/reboot and creating aliases to run reboot instead of sudo reboot. but i feel it's not the best solution