Article 5C1E5 Privilege separation best practices

Privilege separation best practices

by
Turbocapitalist
from LinuxQuestions.org on (#5C1E5)
I have a light meter which has Python3 libraries which seem to require root access. I don't want the whole script to run as root, just the part which reads the light intensity. I wonder what are the established best practices for dealing with that.

Running a script on-demand just to read the meter is very sluggish and introduces a variable but massive amount of lantency into the workflow. So I am guessing something needs to be left running. How should other scripts and progrmas then poll the script which monitors the meter? Sockets? FIFO pipe? Others?latest?d=yIl2AUoC8zA latest?i=DfNIAzF2fcQ:YnUCEKGc2fM:F7zBnMy latest?i=DfNIAzF2fcQ:YnUCEKGc2fM:V_sGLiP latest?d=qj6IDK7rITs latest?i=DfNIAzF2fcQ:YnUCEKGc2fM:gIN9vFwDfNIAzF2fcQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments