On 13/09/2020 12.02, Dave Howorth wrote:
On Sat, 12 Sep 2020 19:39:19 +0200 Per Jessen <> wrote:
Dave Howorth wrote:
I would expect /usr/sbin/ to be added somewhere by a local user profile, but it's just a hunch.
The standard place is /etc/profile:
if test "$UID" = 0 ; then test -d /opt/kde3/sbin && PATH=/opt/kde3/sbin:$PATH PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH fi
if test "$UID" = 0 ; then test -d /opt/kde3/sbin && PATH=/opt/kde3/sbin:$PATH PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH fi for dir in /usr/X11/bin \ /usr/X11R6/bin \ /var/lib/dosemu \ /usr/games \ /opt/bin \ /opt/kde3/bin \ /opt/kde2/bin \ /opt/kde/bin \ /usr/openwin/bin \ /opt/cross/bin do test -d $dir && PATH=$PATH:$dir done I see this comment: # # You may use /etc/initscript, /etc/profile.local or the # ulimit package instead to set up ulimits and your PATH. # cer@Telcontar:~> l /etc/initscript ls: cannot access '/etc/initscript': No such file or directory cer@Telcontar:~> cer@Telcontar:~> l /etc/profile.local ls: cannot access '/etc/profile.local': No such file or directory cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)