I made an alias to shut down my arch linux computer. It runs
sudo shutdown -h -P now. I run it and am asked for my password and then it shuts down and powers off. Is there a way I can get this to run without it needing root privileges to run?
You can use