1 |
On 14-05-2007 21:43:58 +0200, Jorge Schrauwen wrote: |
2 |
> $ echo $PATH |
3 |
> /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 |
4 |
|
5 |
> 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' |
6 |
|
7 |
> this is what i get |
8 |
|
9 |
All include usr/sbin and sbin. Problem with ping is that that utility |
10 |
is not installed in prefix on OSX (it's in network_cmds, AAPL licenced) |
11 |
as it doesn't make sense anyway, since that tool needs to be executed by |
12 |
root (or setuid root) which you can't achieve as unprivileged user. |
13 |
|
14 |
What you miss (and what you might want to add yourself) is /usr/sbin and |
15 |
/sbin in your PATH. They are the non-prefixed, host OS ones, where the |
16 |
original root-owned, setuid files live. |
17 |
|
18 |
-- |
19 |
Fabian Groffen |
20 |
Gentoo on a different level |
21 |
|
22 |
-- |
23 |
gentoo-alt@g.o mailing list |