Security Concern

Nathan England nathan at paysonlinux.org
Fri Mar 6 21:28:35 GMT 2009


Hello Hello,

I realize this is bad form, but regardless it works. I have my user setup as 
part of the wheel group, so sudo automatically elevates me when I use it. I 
have several files that I will access and make changes to with my root user, 
and occassionaly I use kwrite as my user running under sudo to access those 
files as well.

I decided to create a shortcut on my desktop, so I clicked the kmenu, typed in 
kwrite and then right clicked it and select 'add to panel'. It did so, then I 
edited the icon settings and changed it to execute 'sudo kwrite' 

It all works well, but when I tried to open kwrite, NOT from my panel shortcut 
which opens sudo kwrite, but from the kmenu I found it had edited my short 
cuts globally and it always opens kwrite in sudo mode...

Is this to be expected, or is this a bug as the system is not creating a "new" 
shortcut but rather a pointer to the real one???? 

Any thoughts, besides how stupid I may be for doing it this way...;-)

Nathan
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list