Dne 23.8.2010 16:17, Guido Berhoerster napsal(a):
* Jan Matejek
[2010-08-23 15:26]: Dne 20.8.2010 12:08, Bernhard M. Wiedemann napsal(a):
try adding to /etc/bash.bashrc alias sudo='PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH sudo'
then 'sudo yast2' works
ouch! this is so much of a kludge that it hurts. i mean, this is exactly what
Yes it is, and there is absolutely no need for such kludges at all. It has been pointed out almost a week ago that you can either set secure_path in /etc/sudoers or modify PATH in /etc/profile.
well, in that case, why did you even suggest such horrible thing? ;) (for the record, i did solve my problem by modifying /etc/profile as suggested. i still think that the modification should be there by default, but oh well) regards m. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org