[maemo-developers] [maemo-developers] RFC: install applications that require root privileges at some point

From: Jochen Eisinger jochen at penguin-breeder.org
Date: Sun Oct 23 02:09:16 EEST 2005
Hi,

is there some recommended way to install an application that requires
root privileges at some point (either during installation or at runtime)?

what about this: a program like 'runasroot' (maybe over sudo) with an
syntax like this:

sudo /usr/sbin/runasroot \
	/var/lib/install/usr/sbin/vpnc-connect \
	/var/lib/install/usr/share/vpnc/vpnc-connect.sig

where vpnc-connect.sig is a digital signature for vpnc-connect. If the
signature is valid (i.e. signed by some trusted authority) and matches
the binary, it is executed.

this way it was possible to package applications like ipsec clients, or
kernel modules, etc..

comments?

kind regards
-- jochen

More information about the maemo-developers mailing list