Security question

C de-Avillez hggdh2 at ubuntu.com
Tue Dec 17 20:43:23 UTC 2013


On Tue, Dec 17, 2013 at 1:40 PM, Rashkae <ubuntu at tigershaunt.com> wrote:

>
> Allright, fair point.  But to clarify, I'm not suggesting removing ~/bin
> from the default PATH.  However, it should be added to the end of the path,
> not prepended to the system /bin /sbin.
>
>
This is an user choice. ~/bin is *empty* when a new user is created. How it
is going to be used is up to the user. I see no security issue in having it
at the beginning of $PATH -- in fact, I use it to override program calls
when I want to do something different (it is not always you can just alias,
or rename, a command call). Of course, I could as well create a -- say --
~/mybin, add it to the beginning of $PATH, and keep ~/bin at the end. But I
think this would just give me more work with minimal, if at all, gain.

OTOH, if you do something like that, you *have* to know what you are doing,
and collect the pieces when it breaks.

So... YMMV.

Cheers,
-- 
..hggdh..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20131217/937dc253/attachment.html>


More information about the ubuntu-users mailing list