We have a built-in linux product with an application that allows the user to change various settings through the menu system. These settings include IP address / DHCP and time.
Now we run this application as root, but this is incorrect, allowing the user to directly interact with the process running as root.
Which user should we use?
If itโs not root, how can we solve the problems with rights?
EDIT: The product does not have a graphical user environment in the classic Gnome / KDE style. The indicated menu system is implemented on the LCD panel of the product itself.
anorm source
share