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! It's not resetted anymore, like in 9.0. So whenever a user, that has "." in his patch, types "su", root will have the same PATH (plus some more that are added from global profile). I need the current PATH of the user typing "su" to be deleted, then re-initialized for root via /etc/profile etc. cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
