cross-platform virus
Sasha Tsykin
stsykin at gmail.com
Mon Apr 10 14:39:24 BST 2006
Peter Garrett wrote:
> 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
I upgrade my releases directly, and I routinely keep files such as this
when I change or reinstall distributions. It is possible I have kept it
for a while. In which case, my mistake and I apologise. It is also
possible that it was not commented out in a previous release of Ubuntu.
Sasha
More information about the sounder
mailing list