You are not logged in.

#1 2008-02-18 17:57:20

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Why did I get a very long $PATH string?

Here is my $PATH

/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/opt/kde/bin:/opt/plt/bin:/usr/share/eclipse:/opt/java/bin:/opt/java/jre/bin:/opt/openoffice/program:/opt/NX/bin:/opt/qt/bin:/opt/plan9/bin:/opt/firebird/bin:/opt/glest/bin:/opt/grass/bin:/opt/maven/bin:/usr/share/netbeans/bin:/opt/qgis/bin:/opt/texlive/bin:/opt/torcs/bin:/opt/wildfire/bin:/usr/bin/

The weired part is that I didn't install many packages such as firebird, but the binary path is in there.

I checked /etc/profile ~/.bashrc ~/.bash_profile, but these weired path was mentioned in nowhere.

Can someone tell me where else the $PATH can be sourced?


BTW, My problem ONLY happens when I use Qingy to log into X.

If I use Qingy to log into a text-console, or login from a vc directly. My $PATH seems ok.

Offline

#2 2008-02-18 18:39:56

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Why did I get a very long $PATH string?

phabulosa wrote:

Can someone tell me where else the $PATH can be sourced?

You can do "grep -i 'export path=' /etc/profile.d/*" (and/or as root "grep r -i 'export path=' /etc/*") but it is definitely strange what you have all in the path.

phabulosa wrote:

BTW, My problem ONLY happens when I use Qingy to log into X.

Sorry, i don't know this. Perhaps you should to ask mother google first about it.:)

Offline

Board footer

Powered by FluxBB