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

Re: Bug#1774: <paths.h>: _PATH_DEFPATH contains `.'

On Sat, 28 Oct 1995, Ian Jackson wrote:
> #define _PATH_DEFPATH        "/usr/local/bin:/usr/bin:/bin:."
> This should read "/usr/local/bin:/bin:/usr/bin", without the "."
> entry.  Quite apart from the security implications, teaching new users
> always to run their programs with "./foo" will stop them getting very
> confused when they call their programs "test" :-).

While we're at it, would it be appropriate to have xdm also set this as
the default path? 

At the moment it does not, instead dumping in such things as /usr/ucb. 

"I'm a dinosaur.  Somebody's digging my bones."

Reply to: