Re: 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.
> 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...
Firstly, it should be setgid games, not setuid games. See section
5.10 of policy (version 3.0.0.0).
Secondly, dh_suidregister works by looking through your debian/tmp
tree for setuid/setgid files. So you build the package with the
required program being owned by root.games and having permissions
2755, and then dh_suidmanager will work perfectly.
HTH,
Julian
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Reply to:
- References:
- dh_suidregister
- From: "Christian T. Steigies" <steigies@physik.uni-kiel.de>