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

Re: SECURITY PROBLEM: autofs [all versions]



On Fri, 7 Jul 2000, Christopher W. Curtis wrote:

> Herbert Xu wrote:
> > 
> > Josip Rodin <joy@cibalia.gkvk.hr> wrote:
> > >> No, everyone else has been trying to tell me that
> > >>
> > >> ~# chmod -x /sbin/portmap
> > >> ~# /etc/init.d/portmap restart
> > >> Stopping portmap daemon: portmap.
> > >> Starting portmap daemon: portmapstart-stop-daemon: Unable to start
> > >> /sbin/portmap: Permission denied
> > >> .
> > >>
> > >> is either "right"
> > 
> > > It's not wrong as in that it would warrant a bug report with a severity
> > > higher than wishlist.
> > 
> > It's not wrong at all.  In fact, doing a -x will only mislead people into
> > believing chmod -x actually works as a way of disabling something, which it
> > doesn't.
> 
> Then there should be no test at all because a -f would lead people to
> believe that removing (or renaming) the file is the correct way to
> disable something, which it isn't any more than chmod -x as it suffers
> the same problem.

man dpkg-divert

----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org>        Finger Print | KeyID
67 01 42 93 CA 37 FB 1E    63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA  3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----



Reply to: