[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debmake suid programs



On Thu, 7 Nov 1996, Lars Wirzenius wrote:

liw >I use the following command to build a Debian package:
liw >
liw >	dpkg-buildpackage -rsua

Ok. I have not noticed that feature of dpkg-buildpackage yet.

liw >sua is a small wrapper around sudo to get around quoting issues:
liw >
liw >	#!/bin/sh
liw >	sudo $*
liw >
liw >I don't have to type my password (_not_ the root password, by
liw >the way) more than once one in a while. This works fine with
liw >the package I converted to the older version of debmake I have.

Does this cover the environment issues? I.e. is PGPPASS passed through all
of this and is the user enviroment preserved? Is sudo changing the real
usedid to root or only the effective userid?

--- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ ---
PGP Public Key  =  FB 9B 31 21 04 1E 3A 33  C7 62 2F C0 CD 81 CA B5 

Attachment: pgp3XvjND6W8l.pgp
Description: PGP signature


Reply to: