In article <caejnuhyotsjve2gcwtkvt51+q1is0rhtr_wyy423n3g9a8s...@mail.gmail.com>, Ottavio Caruso <ottavio2006-usenet2...@yahoo.com> wrote: >On Fri, 12 Jun 2020 at 11:14, Johnny Billquist <b...@update.uu.se> wrote: > >> However, most users by default don't have /sbin and /usr/sbin in their >> path, so you need to add that, or else run the programs using an >> explicit path. >> > >How's that possible? > >oc@NetBSD:/home/oc$ grep sbin /etc/skel/.profile >PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin >PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin >oc@NetBSD:/home/oc$ grep sbin /etc/skel/.cshrc >set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R7/bin,pkg/{,s}bin,games} \
The skeleton files are usually used to populate home directories. What does echo $PATH say for you or echo $path? What do your dot files contain? What is your shell? christos