Hello,

Am Donnerstag, 28. September 2006 12:27 schrieb Frank Steiner:
> in SuSE 9.0 "su" resets the PATH and then sets it to some value
> for root. Especially, the "." entry (that the users had) disappeared.
>
> Calling "su" in SuSE 10.1 does not reset the path anymore, [...]

BTW: This change was done for 10.0 already.

> Can I revert to the old behaviour of su? Was resetting the path a
> feature of su, or of the shell scripts in /etc/?

http://suse-linux-faq.koehntopp.de/q/q-suse100-su_path.html (german)

Short answer: set ALWAYS_SET_PATH=yes in /etc/default/su


Regards,

Christian Boltz
-- 
Verstehen kann ich das Problem. Die meisten von uns hätten gerne
brandaktuelle *und* felsenstabile Software. Der Unterschied zwischen
Redmond und Pinguinhausen ist, daß erstere dir erzählen, daß man
beides haben könne. Stimmt aber nicht. [Ratti in suse-linux]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to