May I ask why the tce-* commands (i.e. tce-load, tce-run, ....) can't be run as root?
This seems like it is/was a fairly conscious decision.
When running with the default setup this isn't really a problem, but it is a problem if you want to restrict yourself (or another user) slightly.
I can replace
tc ALL=NOPASSWD: ALL
This will require the user "tc" to enter a password before executing a program as root.
This makes the originally mentioned scripts nearly impossible to use.
sudo tce-run <my_app>
will result in:
don't run this as root
And if I do
I have to enter the password over and over and over and over.......
Actually, the script I'm really concerned about is tce-load.
I suppose that I could comment out line 27 in it and the remove every occurrence of "sudo".Is this a bad idea?
P.S. I'm running tinycore 4.1