Mailinglist Archive: opensuse (818 mails)

< Previous Next >
Re: [opensuse] different types of shell scripts

On Sat, Sep 24, 2011 at 03:58:46PM +0200, David Haller wrote:

On Sat, 24 Sep 2011, Lars Müller wrote:
On Sat, Sep 24, 2011 at 12:36:20AM +0200, David Haller wrote:
[ 8< ]
I'm not 100% sure if that's the 11.4 default, as this is an upgrade
from 11.1 via 11.2 and that file might have been kept.

grep CWD_IN_ /var/adm/fillup-templates/sysconfig.suseconfig

For openSUSE 11.4 and Factory.

Thank you!

So the default hasn't changed yet. I think it should. NOW! Let's have
a default of (implicitly)


with 12.2 at latest. Oh, what I don't remember[1] is at what position
"." got added to PATH if that variable was set to "yes".

Are you getting more and more lazy? Must be the age. ;)

From /etc/profile.d/

test "$val" = "yes" || continue
test $UID -ge 100 && PATH=$PATH:.

If last, just
get rid of it, if first, change it to "last" with 12.1. That stupidity
has stuck around far far too long already. Those who want to shoot
themselves can still use it by setting CWD_IN_USER_PATH to "yes" ;)

I suggest to keep it simple stupid and to change the default of

Oh, and BTW: I plead for removing the variable for root altogether.
root should _never ever_ have "." in his PATH.

@Rudi: As you added CWD_IN_USER_PATH only ten years back you might still
remember why these two settings are needed. ;)

Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >
Follow Ups