Trivial fix for bug #36660
Sergio Visinoni
piffio at arklinux.org
Wed Dec 4 12:57:52 GMT 2002
Hi all,
the trivial attached patch fixes the bug reported at:
http://bugs.kde.org/show_bug.cgi?id=36660
This will set the proper env for the root user (!root
users shouldn't have /sbin:/usr/sbin etc.. dir in
their PATH), simply calling "su -" instead of "su".
There is any reason to not do so?
greetings,
sergio
-------------- next part --------------
--- kdebase/konsole/other/su.desktop.piffio Tue Dec 3 00:31:08 2002
+++ kdebase/konsole/other/su.desktop Tue Dec 3 00:31:12 2002
@@ -93,7 +93,7 @@
Comment[zh_CN]=æ°å»º Root æ§å¶å°
Comment[zh_TW]=æ°å¢ Root äž»æ§å°
Comment[zu]=Ikhonsoli Yempande Entsha
-Exec=su
+Exec=su -
Schema=BlackOnLightYellow.schema
#Schema=Linux.schema
#VGA
--- kdebase/konsole/other/su.kdelnk.piffio Tue Dec 3 00:31:16 2002
+++ kdebase/konsole/other/su.kdelnk Tue Dec 3 00:31:19 2002
@@ -101,7 +101,7 @@
Comment[zh_CN]=Root æ§å¶å°
Comment[zh_TW]=Root äž»æ§å°
Comment[zu]=Ikhonsoli Yempande
-Exec=su
+Exec=su -
Schema=/opt/kde/share/apps/konsole/Linux.schema
#VGA
Font=6
More information about the kde-core-devel
mailing list