Thanks, Daniel. I would be looking for 60000-64999, assuming my package eventually made it into debian, I suppose it would need to have a 'globally allocated' uid. The idea is simply not to give users executing an R script on the machine root access.
Regarding, reSIProcate, it's cdbs based? Would the postinst script be the same format if I use dh? Based on Lucas Nussbaum's tutorial (http://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf) I thought that dh would be the way to go for new packages. -Whit On Tue, Apr 24, 2012 at 8:42 AM, Daniel Pocock <[email protected]> wrote: > >> I've read the package tutorials several times, but I'm having trouble >> finding out how to create a new user during the install (I don't want >> the daemon to run as root). >> >> Can someone point me in the right direction? > > Two suggestions: > > a) think about what type of user you want: > > http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2 > > b) look inside an existing package (e.g. reSIProcate, see debian/control > and debian/repro.postinst) > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > Archive: http://lists.debian.org/[email protected] > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAMi=pg4rj5t4zulc_e0fpcfzoqkwt7xlicrqvbqfxfji_+v...@mail.gmail.com

