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

Re: packaging help



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 <daniel@pocock.com.au> 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 debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4F969FB9.7080709@pocock.com.au">http://lists.debian.org/[🔎] 4F969FB9.7080709@pocock.com.au
>


Reply to: