On 12/09/2020 14.13, Dave Howorth wrote:
On Fri, 11 Sep 2020 23:47:04 +0200 "Carlos E. R." <> wrote:
On 11/09/2020 23.26, Dave Howorth wrote:
On Fri, 11 Sep 2020 22:39:39 +0200 "Carlos E. R." <> wrote:
Of course, my path contains other things, but it is not setup by the user, unless it is on another file:
/home/cer/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin:/usr/sbin
I mean, the "not me" means that I did not set it up, or I don't remember where. Not in my home, I grepped for "sbin/". Not in /etc/default. Probably not in /etc/sysconfig/*
That's very strange. Why does /usr/sbin appear twice? Something's seriously borked there. Also, on my system there is no usr/lib/mit/bin directory, FWIW. And no KDE of course.
Does a new user on your system get /usr/sbin added to their path? Ordinary users are definitely not supposed to have it.
It must be something done many years ago. All users I tried have that path, but with a single /usr/sbin er@Telcontar:~> su - cer-g Password: cer-g@Telcontar:~> echo $PATH /home/cer-g/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin cer-g@Telcontar:~> logout cer@Telcontar:~> su - Password: Telcontar:~ # su - maria maria@Telcontar:~> echo $PATH /home/maria/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin maria@Telcontar:~> logout Telcontar:~ # logout cer@Telcontar:~> echo $PATH /home/cer/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin:/usr/sbin cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)