Re: setgid stuff
On Tue, Nov 23, 1999 at 02:47:31PM +0100, peter karlsson wrote:
> Peter S Galbraith:
>
> > Can debhelper do this? Yes, see the man page for dh_suidregister
>
> I can't figure it out. I have created a debian/suid file:
>
> ===[ cut ]===
> jwhois /usr/bin/jwhois root users 2755
> ===[ cut ]===
No. Do the following in debian/rules:
chmod 2755 /usr/bin/jwhois
# at some later point
dh_suidregister
# and later still
dh_fixperms
Now you have three possibilities for what to do next:
(1) Nothing. dh_suidregister will search for any files which have
their suid or sgid bits set and register them.
(2) Create a debian/suid file with the single line
/usr/bin/jwhois
(3) Specify this on the dh_suidregister command line, so replace the
line in debian/rules with:
dh_suidregister /usr/bin/jwhois
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: