I am not totally new to debian but i am having newbie issues at the moment, so there is a rather long story. Let me begin with the short version:
[short-ish version]
On xfce, inside an instance of urxvt -> tmux -> zsh:
Code: Select all
> su
*********
> echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/f/bin
> whoami
root
Code: Select all
login: root
password: ******
> echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin
> whoami
root
I checked my zshrc, and tmux config (and i don't have a urxvt config at the moment), but I do not set the PATH anywhere.
[long version]
I installed Debian through the current netinstall (stable), instead of upgrading to testing from a clean install I installed tmux, zsh, urxvt and changed my default shell to zsh (via chsh -s). After that i upgraded to testing by changing my sources list (according to https://wiki.debian.org/DebianTesting, How to upgrade to Debian (next-stable) Testing). And by running apt-get update, apt-get upgrade and apt-get dist-upgrade. The dist-upgrade failed and there has been a reboot inbetween the apt-commands. The failure indicates that ldconfig, aswell as start-stop-deamon is missing. After reading some stuff I found out that my PATH variable does not contain /sbin anymore, which seems weird to me. I dont set the PATH variable myself.
[Question]
Any ideas where the path variable could be set and where i might correct this issue?
I sifted through the results on the forum already but could not find this issues anywhere. If this has been discussed before just point me in the direction please
Kind regards,
Flo