/home/user/bin

Sean Sieger sean.sieger at gmail.com
Sun Jul 17 18:22:58 UTC 2005


Are there possible security risks to having ~/bin referenced by the
PATH environment variable? Pardon the naivete, the question just popped
into my mind as I read,

     "Why not simply invoke the script with scriptname? If the directory
     you are in ($PWD) is where scriptname is located, why doesn't this
     work? This fails because, for security reasons, the current directory
     is not by default included in a user's $PATH. It is therefore necessary
     to explicitly invoke the script in the current directory with a
     ./scriptname."       --Mendel Cooper
-- 
Sean Sieger





More information about the ubuntu-users mailing list