Gentoo Archives: gentoo-alt

From: Jorge Schrauwen <jorge.schrauwen@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] /gentoo/etc/profile
Date: Mon, 14 May 2007 19:54:27
Message-Id: 43e40e000705141253o50df51deid3c610996170a44@mail.gmail.com
In Reply to: Re: [gentoo-alt] /gentoo/etc/profile by Fabian Groffen
1 what would be the prefured spot to do so?
2 $EPREIFX/etc/profile (update it)
3 ~/.profile
4 ~/.bashrc
5
6 ?
7
8 On 5/14/07, Fabian Groffen <grobian@g.o> wrote:
9 > On 14-05-2007 21:43:58 +0200, Jorge Schrauwen wrote:
10 > > $ echo $PATH
11 > > /gentoo/usr/bin:/gentoo/bin:/gentoo/opt/bin:/gentoo/usr/sbin:/gentoo/sbin:/gentoo/usr/powerpc-apple-darwin8/binutils-bin/20070412:/gentoo/usr/powerpc-apple-darwin8/gcc-bin/4.0.1:/usr/bin:/bin
12 >
13 > > PATH='/gentoo/opt/bin:/gentoo/usr/sbin:/gentoo/sbin:/gentoo/usr/powerpc-apple-darwin8/binutils-bin/20070412:/gentoo/usr/powerpc-apple-darwin8/gcc-bin/4.0.1'
14 >
15 > > this is what i get
16 >
17 > All include usr/sbin and sbin. Problem with ping is that that utility
18 > is not installed in prefix on OSX (it's in network_cmds, AAPL licenced)
19 > as it doesn't make sense anyway, since that tool needs to be executed by
20 > root (or setuid root) which you can't achieve as unprivileged user.
21 >
22 > What you miss (and what you might want to add yourself) is /usr/sbin and
23 > /sbin in your PATH. They are the non-prefixed, host OS ones, where the
24 > original root-owned, setuid files live.
25 >
26 > --
27 > Fabian Groffen
28 > Gentoo on a different level
29 >
30 > --
31 > gentoo-alt@g.o mailing list
32 >
33 >
34
35
36 --
37 ~Jorge
38 --
39 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] /gentoo/etc/profile Fabian Groffen <grobian@g.o>