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

Re: ping must run as root?!



On Tue, Feb 22, 2000 at 11:05:36AM +0100, Nils Jeppe wrote:
> Hmmm it works now. Maybe I caught ping while netbase was being
> upgraded? When the package is upgraded, does the setuid bit get erased for
> that duration?

/bin/ping is not setuid in the .deb, but instead chmodded / suidregistered
in the postinst. So in between dpkg unpacking the new .deb, and the postinst
finishing, ping will not be setuid.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG encrypted mail preferred.

 ``The thing is: trying to be too generic is EVIL. It's stupid, it 
        results in slower code, and it results in more bugs.''
                                        -- Linus Torvalds

Attachment: pgp1mMFYmYZe6.pgp
Description: PGP signature


Reply to: