cfs-tools / cfs-basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.
Other
28 stars 4 forks source link

Add the capability for the GUI to start the cFS with elevated privileges #4

Closed dmccomas closed 1 year ago

dmccomas commented 2 years ago

When "Start cFS" is clicked it runs the cFS with the user privileges. There are situations when elevated privileges are required. For example, on a Raspberry Pi when accessing a device file.

The current workaround is run the cFS in a terminal window and enable telemetry from the Basecamp "Quick Cmd" dropdown menu. The disadvantage with this workaround is that the cFS Process Window is not updated. All of this information is displayed in the terminal window used to run the cFS. In addition the cFS Image name is not displayed.

dmccomas commented 1 year ago

Created new entries in basecamp.ini that allow users to enable the cFS to be started using elevated privileges. The ini file contains teh password so users are not prompted each time they start the cFS.