fenrus75 / powertop

The Linux PowerTOP tool -- please post patches to the mailing list instead of using github pull requests
http://www.01.org/powertop
GNU General Public License v2.0
1.07k stars 131 forks source link

powertop keeps asking for sudo when run with sudo #117

Closed terminaldweller closed 1 year ago

terminaldweller commented 1 year ago

When I run powertop with sudo I get the following message:

PowerTOP 2.15 must be run with root privileges.
exiting...
powertop -V

PowerTOP version 2.15

I have doas setup as well. powertop works as expected with doas. I'm on void linux. I dont know what info is required to make this issue actionable. please let me know what I kind of debug info I need to provide.

terminaldweller commented 1 year ago

false alarm. it fails because i have aliased sudo to sudo(sudo with a space). it works fine without the sudo+space alias. i apologize.