woody, nach KDE update ist $PATH anders.
Hallo,
bei einem fast jungfräulichen Woody (bisher nur Mozilla als Backport)
habe ich nun KDE 2.2, durch 3.1.4 ersetzt. Hier sie Quelle der
sources.list:
,----
| deb http://download.kde.org/stable/3.1.4/Debian/ woody main
`----
Soweit alles Super, ich hatte mit mehr Problemen gerechnet.
Nur: PATH hat sich anscheinend geändert:
,----[ echo$PATH (user) ]
| /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
`----
,----[ echo $PATH (root) ]
| /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
`----
Was mich am user-PATH stört, ist, das /local/bin hinten ist, und nicht
vorne.
Vor allem - ich verstehe nicht warum das so ist. Hier die /etc/profile
,----
| # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
| # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
| PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
|
| if [ "$BASH" ]; then
| PS1='\u@\h:\w\$ '
| else
| if [ "`id -u`" -eq 0 ]; then
| PS1='# '
| else
| PS1='$ '
| fi
| fi
|
| export PATH PS1
`----
Deutlich: /usr/local/bin ist _Vorne_
Ebenso in /etc/login.defs:
,----
| ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
`----
ich verstehe ienfach nicht, *warum* mein user nicht annähernd den Pfad
hat, wie in /etc/profile oder /etc/login.defs angegeben.
Heino
Reply to: