Giving a non root user permission to set PowerLimit

Hi does anyone know i it is possible to elevated a users permissions to allow them to change the power management limit without being root/admin ?
Thanks

The many solutions to this problem:

  • sudo(8)/sudoers(5)
  • "command" daemon (running under root permissions), some remote API (usually socket(2) AF_UNIX or AF_INET (with "localhost" bind(2)/listen(2))) and "command" client
  • try to modify permissions (rwx file, selinux ...) to device files (/dev/nvidiactl, /dev/nvidia0) but this is not recommended
  • ...