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

Re: SECURITY PROBLEM: autofs [all versions]



Christopher W. Curtis 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" or that a test -x is not 'better'.
> 
> Christopher

You, voluntarily and knowingly, remove the x permission bits of
/sbin/portmap.
And the shell tells you that permission is denied.
Hey, it's perfectly right.

--
Bernard ISAMBERT (isambert@sib.fr)



Reply to: