Can't run as non-root user
anthonywong opened this issue · 3 comments
anthonywong commented
Since dptfxtract
is binary only I want to run it as a non-root user, like this:
- As root, use
acpidump
andacpixtract
to retrieve ACPI tables - As a non-root user, use
dptfxtract
to generate thermald config file. - As root, copy thermald config file over to
/etc/thermald
However, dptfxtract is required to be run as root even when I run dptfxtract *.dat -o $OUTPUT
.
Vaesper commented
The readme explicitly states this usecase but the binary does not allow it.
thinrope commented
@spandruvada Can you at least comment why you decided to close this issue?
This utility, supplied as a binary blob, should not require root privileges from the start. It doesn't even print help or version info without root!
$ dptfxtract -h
You must be root to run this tool!
spandruvada commented
Anything done in this utility now done in open source in thermald (even with more features). So try without running this utility.