Command not found - Missing path to /sbin on Debian GNU/Linux - LinuxConfig.org

Starting with Debian 10 buster the way how the su command is used has been changed. By default execution of the su command no longer provides you with expected user environmental variables.
This is a companion discussion topic for the original entry at https://linuxconfig.org/command-not-found-missing-path-to-sbin-on-debian-gnu-linux
1 Like

Thanks for this! It helped me solve the issue in seconds.

I was so used to NOT to use the - with su that first I thought it is a bug :grinning:

I couldn’t work out what was wrong, I also thought it might be a bug and was about to initiate a script to run to modify PATH each time - really useful information, thanks!