holandes22/dmtcore — Issue #6: Task - Find a way to securely run commands
Author: holandes22
Created: 2012-01-27 09:08:58+00:00
State: open

Have a harcoded list of allowed commands.
Prepending sudo to every allowed cmd, and adding the app user to the sudoers.
A problem is that some commands are dynamic (e.g. we add a device argument at the end of the str/list) so we need to find a way
to know if the cmd belongs to the authorize cmds, before the dynamic arg was added.