On Sun, 13 Sep 2020 12:07:29 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 13/09/2020 12.03, Dave Howorth wrote:
On Sat, 12 Sep 2020 20:33:04 +0200 "Carlos E. R." <> wrote:
On 12/09/2020 19.39, Per Jessen wrote:
Dave Howorth wrote:
/home/cer/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin:/usr/sbin
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.
User paths, looking back at some older systems -
12.3 - /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games 10.3 - /opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin 11.3 - /usr/lib/mpi/gcc/openmpi/bin:/home/per/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games 11.0 - /home/per/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin 15.1 - /home/per/bin:/usr/local/bin:/usr/bin:/bin (without X).
Does a new user on your system get /usr/sbin added to their path? Ordinary users are definitely not supposed to have it.
I'm intrigued by that /mit/ path, but it has obviously gone away, so it is of purely archeological interest.
I still have it. The directory comes from "krb5-client...rpm"
I would expect /usr/sbin/ to be added somewhere by a local user profile, but it's just a hunch.
But it is not local user profile, as all users get it, and grep doesn't find it at home.
Have you actually tried adding a new user?
Ok, will do.
cer@Telcontar:~> su - new Password: new@Telcontar:~> echo $PATH /home/new/bin:/usr/local/bin:/usr/bin:/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sbin new@Telcontar:~> new@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:~>
The only difference is no duplicated /usr/bin.
At least it starts to establish where the problem arises. How did you add the 'new' user? YaST or command-line? I suspect /usr/sbin/useradd.local might be a place to start looking for where the sbin is injected. Or maybe one of the files in /etc/skel/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org