#How is it done, in LMDE, that I can run poweroff, and reboot without sudo?
1 messages · Page 1 of 1 (latest)
thanks for your reply! but could you please say something more about that? especially, how to configure that 😛
systemctl shutdown or systemctl reboot
understood. however, can we shorten this to shutdown and reboot, just like on Ubuntu, LM, LMDE etc?
you can always add alias "shutdown"="systemctl shutdown" and alias "reboot"="systemctl reboot" to your ~/.bashrc :)
I think it is systemctl poweroff
close enough 🤷
well, those commands also don't work without sudo
that's exactly what I want, but perhaps i have some issues
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