[maemo-developers] [maemo-developers] RFC: install applications that require root privileges at some point
From: Jochen Eisinger jochen at penguin-breeder.orgDate: Sun Oct 23 02:09:16 EEST 2005
- Previous message: [maemo-developers] First Impression
- Next message: [maemo-developers] vpnc, Was: RFC: install applications that require root privileges at some point
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [maemo-developers] First Impression
- Next message: [maemo-developers] vpnc, Was: RFC: install applications that require root privileges at some point
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]