Skip to main content
6 events
when toggle format what by license comment
Aug 7, 2022 at 18:09 comment added larsks The downside to this is that it allows you to write arbitrary content to the target file (which maybe is just fine for your use case).
Aug 7, 2022 at 15:23 comment added Hans Chen @Cestarian good suggestion and done.
Aug 7, 2022 at 15:22 history edited Hans Chen CC BY-SA 4.0
added 117 characters in body
Aug 6, 2022 at 22:39 comment added Cestarian This works, although you might want to clarify your answer to be to add "username ALL = NOPASSWD: /bin/tee /sys/devices/system/cpu/intel_pstate/no_turbo" to sudoers (since adding tee by itself without args is too easily exploitable)
Aug 6, 2022 at 22:38 vote accept Cestarian
Mar 11, 2023 at 12:00
Aug 6, 2022 at 21:21 history answered Hans Chen CC BY-SA 4.0