LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2017, 03:42 AM   #61
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404

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.
 
Old 12-20-2017, 03:45 AM   #62
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
how long have you used Ubuntu?
 
Old 12-20-2017, 03:45 AM   #63
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
No, I do not think the difference is generated by the SystemD usage.

Rather, I will consider that is about the Linux-PAM usage.

Last edited by Darth Vader; 12-20-2017 at 04:15 AM.
 
Old 12-20-2017, 03:48 AM   #64
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Quote:
Originally Posted by solarfields View Post
how long have you used Ubuntu?
Around 5 years. And one of the reasons I preferred in the end the Slackware is because Ubuntu has no root account, at least not by default.

And doing system wide commands over sudo and sudoedit is rather inconvenient, in my humble opinion.

But I will say it again: Ubuntu does not ask me for the password every time.

Last edited by LuckyCyborg; 12-20-2017 at 04:21 AM.
 
1 members found this post helpful.
Old 12-20-2017, 03:49 AM   #65
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
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.
 
Old 12-20-2017, 03:50 AM   #66
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Quote:
Originally Posted by Didier Spaier View Post
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.
You managed to use kate over "su" under Plasma?
 
Old 12-20-2017, 03:53 AM   #67
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
You managed to use kate over "su" under Plasma?
No, that was KDE4. But TBH I don't remember having ever used kate as root anyway, so forget it, and sorry for the off topic

Last edited by Didier Spaier; 12-20-2017 at 03:54 AM.
 
Old 12-20-2017, 03:55 AM   #68
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 12-20-2017, 03:58 AM   #69
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Didier Spaier View Post
No, that was KDE4. But TBH I don't remember having ever used kate as root anyway, so forget it, and sorry for the off topic
It is not off topic, Didier.

And in the KDE4 nothing stops you to use Kate or KWrite as you like as root. Sure, not over "su", as @LuckyCyborg legit wondered.

But using "kdesu" instead, you will manage that well.

Last edited by Darth Vader; 12-20-2017 at 04:00 AM.
 
Old 12-20-2017, 04:47 AM   #70
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,233

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Quote:
Originally Posted by Darth Vader View Post
It is not off topic, Didier.

And in the KDE4 nothing stops you to use Kate or KWrite as you like as root. Sure, not over "su", as @LuckyCyborg legit wondered.

But using "kdesu" instead, you will manage that well.
I agree, it's easy to use kdesu, or create a launcher that will use kdesu, gslapt use kdesu for exemple.
 
Old 12-20-2017, 04:53 AM   #71
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
@Darth Vader

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.
 
Old 12-20-2017, 05:00 AM   #72
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by gmgf View Post
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.
 
Old 12-20-2017, 05:07 AM   #73
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by LuckyCyborg View Post
However, I think you can mark the thread as solved. He's not joking, he's rather dead off seriously instead.
Yeah, on that POV I agree.
 
Old 12-20-2017, 05:11 AM   #74
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,233

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Quote:
Originally Posted by Darth Vader View Post
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.
Do not worry I always use what I want, as I want.
 
2 members found this post helpful.
Old 12-20-2017, 05:15 AM   #75
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,550

Rep: Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404Reputation: 3404
Quote:
Originally Posted by Darth Vader View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kate crashes whenever i su as root vitalstrike82 Slackware 4 01-29-2014 12:49 AM
LXer: Kate/KDevelop October Sprint: What's new in Kate LXer Syndicated Linux News 0 11-24-2012 10:20 PM
LXer: Getting Started With the Kate Text Editor: Kate For Coders LXer Syndicated Linux News 0 04-01-2009 11:40 PM
Kate Is Not Working, Kate editor is not starting in Redhat 9 apur Linux - General 4 05-11-2004 09:52 AM
Using Kate editor as root? guitarnix Linux - Newbie 3 09-18-2003 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration