At 7:53 PM -0500 1/30/07, Kanwar Ranbir Sandhu wrote: >On Mon, 2007-01-29 at 10:34 +1100, Cameron Simpson wrote: ... >> I normally try to avoid full pathnames to executables - things will just >> break if the system layout is changed. Do you type full paths at your >> shell prompt? Rarely I would hope:-) Scripts are no different. > >I originally left the full path out, but then put it back in because I >thought it would make it _more_ reliable. The paths aren't ever going >to change on this box, unless it comes from upstream. ... Full paths decrease reliability, but increase security. The security comes from knowing which binary is being used, even if PATH is modified to include the current directory, or some other such hackery. -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>