Hello everyone,
i just switched from archlinux to artixlinux with openrc.
since you cant shutdown without root access ive configured visudo to not require a password when im shutting down.
In my i3 config i wrote sudo openrc-shutdown -p to power off
But is this actually the correct way to do it?
Wasnt really finding anything on the wikis about that.
No, it is definetely wrong.
You should use the following:
loginctl poweroff
Oh thanks, just got a bit confused since the normal poweroff command links to openrc-shutdown
Well, I routinely use poweroff. Sue me! 8)
how can i make it work without root?