dh_suidregister
Hi,
how do I use dh_suidregister correctly?
I was trying (using dh_make and co) with
dh_suidregister usr/bin/moon-buggy
but the the file is installed as root.root, which is bad AFAIK.
I couldnt find any option to set to change the user/group.
>From the potential packages README:
* Moon-buggy supports shared score files. As explained in
moon-buggy's manual, you may want to make moon-buggy a setuid
program. This can be done with the `--with-setuid' option. If
you use
--with-setuid=games
then the user `games' owns the `moon-buggy' executable and the
setuid bit is set.
CAUTION: this introduces potential security risks. I tried to
minimise these, but nevertheless do *not* choose the user `root'
instead of `games'. And remember: moon-buggy comes with no
warranty.
So I want the binary to be suid games and not root. Can it be done with
dh_suidregister or do I have to create the postinst by hand (shiver)?
Or should I just leave out the suid bit? No shared score files then...
Ciao,
Christian.
Reply to: