In the work I'm doing on packaging buildd, I would need to have some programs setuid buildd (and setuid rbuilder and setuid wanna-build). I can easily create the user in postinst if it does not exist, but that means I then need to change the ownership of all files that should be owned by buildd etc, and then set the setuid bit on all necessary binaries.
Is there a standard way to do this, when you do not know the UID in advance? I guess it's not possible to do this at build time? Is postinst the best place for this, or is there a better way? Thanks, Roger -- Roger Leigh ** Registration Number: 151826, http://counter.li.org ** Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848 available on public keyservers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]