View Single Post
Posts: 13 | Thanked: 0 times | Joined on Aug 2007
#4
Originally Posted by TA-t3 View Post
You should be able to do this if you set the executable to suid root (NB: Won't work for scripts). I haven't tested this on an IT but it's standard Unix/Linux:

In xterm (once):
sudo gainroot
chown root /path/to/executable
chmod u+s /path/to/executable

After this the executable should run as root (unless it's a script).
NB:NB:NB: These kind of tricks lets you open to all kind of security problems, but should be ok unless you let someone else get access to your device (beware of networks).
Yeah, that one I knew, and should have said I want to explicitly avoid. It's a big security risk. And being as the point of this device is to access networks, that seems to be a double "don't do this".