On Sat, Sep 28, 2002 at 08:27:23AM +0100, Colin Watson wrote:
> I disagree that this is a security risk. I want to override
> system-provided executables, hence ~/bin is at the start of my $PATH. If
> my user account gets hacked into, all bets are off; it's pointless to
> worry about what somebody
On Sat, Sep 28, 2002 at 05:44:58PM +1000, Russell wrote:
> Colin Watson wrote:
> > I think a more sensible rule is to only put directories in $PATH that
> > are at least as trusted as the relevant account. Thus, /usr/bin and so
> > on are always fine, ~/bin is only fine for the owning user, and .
On Saturday 28 September 2002 00:44, Russell wrote:
>
> Why is ./ in the path bad? If someone hacked in, couldn't they
> set the path to anything they wanted?
mostly because you just never know what you will find in '.'. Being forced to
type ./foo helps you be aware of where you are and what yo
Once upon a time Russell said...
> Colin Watson wrote:
> >
> > I think a more sensible rule is to only put directories in $PATH that
> > are at least as trusted as the relevant account. Thus, /usr/bin and so
> > on are always fine, ~/bin is only fine for the owning user, and . is
> > never a good
Colin Watson wrote:
>
> On Sat, Sep 28, 2002 at 03:15:42AM -0400, Andy Saxena wrote:
> > On Thu, Sep 26, 2002 at 01:55:40PM -0500, Kent West wrote:
> > > I'm using bash. "echo $PATH" reports:
> > >
> > > ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> >
> > Putting ~/bin first in you
On Sat, Sep 28, 2002 at 03:15:42AM -0400, Andy Saxena wrote:
> On Thu, Sep 26, 2002 at 01:55:40PM -0500, Kent West wrote:
> > I'm using bash. "echo $PATH" reports:
> >
> > ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>
> Putting ~/bin first in your $PATH is a security risk. Conside
Andy Saxena wrote:
>On Thu, Sep 26, 2002 at 01:55:40PM -0500, Kent West wrote:
>
>
>>I'm using bash. "echo $PATH" reports:
>>
>>~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>>
>>
>>
>
>Putting ~/bin first in your $PATH is a security risk. Consider that if
>your user account go
On Thu, Sep 26, 2002 at 01:55:40PM -0500, Kent West wrote:
> I'm using bash. "echo $PATH" reports:
>
> ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>
Putting ~/bin first in your $PATH is a security risk. Consider that if
your user account got hacked into, somebody could place a mo
8 matches
Mail list logo