On Fri, 2006-09-29 at 10:31 +0200, Frank Steiner wrote: > Patrick Shanahan wrote > > > * Frank Steiner <[EMAIL PROTECTED]> [09-28-06 10:58]: > >> You can activate it for normal users (and/or root) via > >> /etc/sysconfig/suseconfig We have it for normal users, but I want it > >> to disappear when I su, like it happend with SuSE 9.0. > > > > Then add "." to $PATH via the user's .profile or .bashrc, and root will > > not know about it. > > He will, that's the point actually: when su'ing to root, the current > PATH is kept!
Which is the correct way that it works. If you want to use root's env when you su then you need to use "su -". su without the "-" means to use the current user env (including $PATH). > It's not resetted anymore, Never was, even in 9.0. If you check the login var's you'll find it probably never was set for anyone from the start which is the default at install time. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
