* Mark Hounschell <markh@compro.net> [04-13-18 14:36]:
Previously, in 13.2 and Leap the su command did not need the "-" to get the full --login PATH env variable. I forget when this changed. In Leap-15 it appears to have changed back to the MUCH older way. 13.2: #su # echo $PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
Leap 42.3: #su # echo $PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
Leap-15: #su # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin
# su - # echo $PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
Just curious if that was intended?
probably a local setting as I don't recall "su" ever defaulting to root environment. I always use "su - " sometimes adding <user>. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org