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