AutoStatic wrote:There are different ways to do this. The easiest I guess would be to add the cpupower to your sudoers file (if your system has one) and allow a user to run it without having to issue a password:Editing the sudoers file is done with the visudo command. Not sure if the sudoers syntax is correct though. There are other ways like using PolicyKit or changing the permissions on cpupower itself (which I wouldn't recommend).Code: Select all
yourusername ALL=(ALL) NOPASSWD: /path/to/cpupower
thanks a lot,
I'll try that out later