Y
Hacker News
new
|
ask
|
show
|
jobs
by
nicebill8
2326 days ago
There's likely a way to get root without having to read the password each time, this is just what I managed to hack together. If anyone has any ideas/suggestions I would be happy to fix this ASAP!
2 comments
georgebarnett
2326 days ago
Allow the script to run under sudo without a password.
link
smaccona
2326 days ago
Looks like the author already addressed this - the README now has instructions on configuring /etc/sudoers to run the script without requiring the user’s password. See
https://github.com/bradleymackey/turbo-boost-disable/issues/...
although
https://github.com/bradleymackey/turbo-boost-disable/issues/...
points out another security hole with that approach.
link
neilalexander
2326 days ago
You could do this as a launchd service, which will run as root and will happen automatically with startup. No sudo nor brew required.
See /Library/LaunchDaemons and launchctl.
link