PINE64
Adding /usr/sbin to your $PATH is probasbly a good idea - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86)
+--- Thread: Adding /usr/sbin to your $PATH is probasbly a good idea (/showthread.php?tid=10149)



Adding /usr/sbin to your $PATH is probasbly a good idea - ab1jx - 06-09-2020

If it isn't already.  To check just type
echo $PATH
at a command prompt.  The last Ayufan Buster image I grabbed doesn't have it.  dpkg-reconfigure is there but not in your path so it doesn't work.  You could run it as /usr/sbin/dpkg-reconfigure except it also calls itself which won't work that way.

I just used it to set locales, it does a couple things as well like keyboard layouts, time zones.  To see what you're missing by not having it in your path do
ls /usr/sbin


RE: Adding /usr/sbin to your $PATH is probasbly a good idea - evilbunny - 06-09-2020

Most of the binaries in /usr/sbin are for root, and using sudo <command> should get those paths included