Using fakeroot for execution.

Hi,

i was wondering if it is safe to run orocos-executables using fakeroot instead
of being superuser. Since we do not want to allow our users to become
superuser but still let them execute orocos-executables on the robots i was
trying some things. Using fakeroot is was able to execute some tests, but i
was wondering if anyone knows some side-effects or problems?

Ruben

Using fakeroot for execution.

On Tuesday 24 April 2007 16:18:39 Ruben Smits wrote:
> Hi,
>
> i was wondering if it is safe to run orocos-executables using fakeroot
> instead of being superuser. Since we do not want to allow our users to
> become superuser but still let them execute orocos-executables on the
> robots i was trying some things. Using fakeroot is was able to execute
> some tests, but i was wondering if anyone knows some side-effects or
> problems?

Fakeroot will only cheat upon the user id and will bypass the uid == 0 check.
For RTAI applications, there is a function 'rt_allow_nonroot_hrt' but I don't
know if that will help much. Also, the user should have an option such that
the RTT does not check for uid == 0.

Peter