On Wed, Aug 31, 2011 at 03:14:08PM -0700, Lionel Dyck wrote:
> I haven't done it on Linux (yet) but on Windows I always put ;. in the
> PATH so that it would always search the current path when I issued a
> command - perhaps if I wasn't so fixated on the command line that wouldn't
> have been an issue.
> 
> That might be worth considering for Linux

You shouldn't do that there's the slightest possibility that you end up in an
untrusted path (where somebody can drop executable files) with cd and execute
something there (think of "ls").

That's why "." isn't in the PATH by default and normally shouldn't be.

Kind regards,
Philipp Kern
-- 
 .''`.  Philipp Kern                        Debian Developer
: :' :  http://philkern.de                         Stable Release Manager
`. `'   xmpp:[email protected]                         Wanna-Build Admin
  `-    finger pkern/[email protected]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to