cross-platform virus

Peter Garrett peter.garrett at optusnet.com.au
Mon Apr 10 13:09:36 BST 2006


On Mon, 10 Apr 2006 21:25:52 +1000
Sasha Tsykin <stsykin at gmail.com> wrote:

> > Is this really in the $PATH by default?  That seems like a problem.
> > 
> > Lee
> > 
> > 
> It is. If you have a ~/bin directory it is in your path.

Your confidence is impressive :) , but ..  I fear your facts are not quite
in order ... From my post (immediately above yours in this thread)

<quote>

In .bash_profile it seems to be commented out by default ( checked on a
"new" user on my system)

# set PATH so it includes user's private bin if it exists
#if [ -d ~/bin ] ; then
#    PATH=~/bin:"${PATH}"
#fi


</quote>


Also note this in /etc/profile:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "`id -u`" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"
else
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
fi




Peter
-- 

Linux User #343161 



More information about the sounder mailing list