[SOLVED] Plasma 5: Executing Kate as root is not possible? Eric, you are kidding, right?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am not in measure to comment about the righteous of this code snippet, also I am not a KDE or Plasma user, but I imagined a simple experiment good to be made in XFCE as typical user:
Code:
SUDO_EDITOR=mousepad sudoedit <file>
I am pretty sure that while using Ubuntu, you will be asked first time only for the password, but while using Slackware you are asked for password every time. Really inconvenient, though.
And looks like there is at least a fundamental difference between Ubuntu and Slackware. The difference in behavior is because of the SystemD usage?
Last edited by LuckyCyborg; 12-20-2017 at 04:20 AM.
As an aside, geany is good enough for me, although the syntax highlighting of kate may be slightly better in some cases (I don't remember exactly, as I haven't used kate since a very long time).
Also, to avoid polluting a regular user's home I become root with su - whenever I want to use a text editor as root.
As an aside, geany is good enough for me, although the syntax highlighting of kate may be slightly better in some cases (I don't remember exactly, as I haven't used kate since a very long time).
Also, to avoid polluting a regular user's home I become root with su - whenever I want to use a text editor as root.
As an aside, geany is good enough for me, although the syntax highlighting of kate may be slightly better in some cases (I don't remember exactly, as I haven't used kate since a very long time).
Also, to avoid polluting a regular user's home I become root with su - whenever I want to use a text editor as root.
Personally, I am a legit user of the Sublime Text Editor, brilliant editor for programming. And I appreciate it well.
The main reason for me to favor Kate instead, is because apparently Kate is capable to handle visible more files opened simultaneous, for the same memory consumption.
Last edited by Darth Vader; 12-20-2017 at 04:14 AM.
However, I think you can mark the thread as solved. He's not joking, he's rather dead off seriously instead.
I understand that is unbelievable for after 20 years usage of Slackware to see the mighty root having its own actions limited, "for his own protection".
I seen some calling that "Windows like ideas of trying to protect users from themselves", you can also (legit?) call that "babysitting", however looks like Slackware does not trust its users anymore and jumped (or is ready to jump) in the "babysitting" bandwagon, even it may or may not been prepared to proper doing it.
So, enjoy your favorite Pampers and be happy!
Last edited by LuckyCyborg; 12-20-2017 at 04:56 AM.
I agree, it's easy to use kdesu, or create a launcher that will use kdesu, gslapt use kdesu for exemple.
Meanwhile, under Eric's Plasma you cannot use "kdesu" to launch KWrite or Kate, because they will complain about the root usage.
Ironically, you are still able to launch GParted via "kdesu" and mess as your heart like with the partitions or to launch the GSlapt and to remove half of the operating system, just only doing some clicks.
Heck! You can even open a root Konsole via "kdesu", and to give to OS a final order like
Code:
rm -rf /
BUT NOPE, the Kate is more dangerous.
Last edited by Darth Vader; 12-20-2017 at 05:05 AM.
Meanwhile, under Eric's Plasma you cannot use "kdesu" to launch KWrite or Kate, because they will complain about the root usage.
Ironically, you are still able to launch GParted via "kdesu" and mess as your heart like with the partitions or to launch the GSlapt and to remove half of the operating system, just only doing some clicks.
Heck! You can even open a root Konsole via "kdesu", and to give to OS a final order like
Meanwhile, under Eric's Plasma you cannot use "kdesu" to launch KWrite or Kate, because they will complain about the root usage.
Ironically, you are still able to launch GParted via "kdesu" and mess as your heart like with the partitions or to launch the GSlapt and to remove half of the operating system, just only doing some clicks.
Heck! You can even open a root Konsole via "kdesu", and to give to OS a final order like
Code:
rm -rf /
BUT NOPE, the Kate is more dangerous.
You forget about the soma, that little audio player.
I guess that for some very serious reasons, they are afraid that listening to BBC Radio while having root powers, could make you to issue "the final order" ...
Last edited by LuckyCyborg; 12-20-2017 at 05:18 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.