Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Where does sudo get the PATH ?
Date: Thu, 11 Oct 2012 17:26:34
Message-Id: CAA2qdGUNRk8Qw+4bzHLU_QH1EzdK1Ne5hgDSZ+tmGVBp8RZf8g@mail.gmail.com
In Reply to: [gentoo-user] Re: Where does sudo get the PATH ? by Nicolas Richard
1 On Oct 11, 2012 11:54 PM, "Nicolas Richard" <theonewiththeevillook@×××××.fr>
2 wrote:
3 >
4 > Pandu Poluan <pandu@××××××.info> writes:
5 > > A bit desperate, but try :
6 > >
7 > > grep -R "texlive/2011" /etc/*
8 >
9 > I tried that already
10 >
11 > youngfrog@geodiff-mac3 ~ $ sudo grep -r texlive/2011 /etc
12 >
13 > youngfrog@geodiff-mac3 ~ $ sudo grep -r texlive/2011 ~root
14 > /root/.bash_history:cd /usr/local/texlive/2011
15 > /root/.bash_history:grep texlive/2011 * -r
16 > /root/.bash_history:grep texlive/2011 . -r
17 > /root/.bash_history:grep texlive/2011 .* -r
18 >
19 > --
20 > N.
21 >
22 >
23
24 Hmmmmmm....
25
26 Maybe it's building the PATH not explicitly... something like :
27
28 PATH="$PATH;/usr/local/texlive/$SOME_VARIABLE/and/so/forth"
29
30 Try grepping for "texlive/\$"
31
32 Rgds,

Replies

Subject Author
[gentoo-user] Re: Where does sudo get the PATH ? Nicolas Richard <theonewiththeevillook@×××××.fr>