As of now, when we need sipX to execute something with root permissions, 
the standard trick is to write a C wrapper program that gets setuid 
root. A couple of examples of such tasks are - changing the system time 
and date, and executing system updates.

It works, but it's clunky and will result in more clunky wrapper 
programs as we add more functionality.

A friend of mine who works on the Fedora project linked me to a tool 
that might be a much better approach, called Oddjob:

        http://people.redhat.com/nalin/oddjob/oddjob.html

Oddjob is a daemon that executes privileged tasks on behalf of 
unprivileged applications. You communicate with it using D-Bus.

This might be something we want to integrate with sipX. Let me know your 
thoughts...

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to