Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Kate and dolphin as root
Kate and dolphin as root
Hi,
I want to use kate and dolphin as root.
I know it may be insecure.
But it is not a productive system.
I need it to write and test scripts, that will be copied later on a productive system.
How can I bypass that restrictions?
I want to use kate and dolphin as root.
I know it may be insecure.
But it is not a productive system.
I need it to write and test scripts, that will be copied later on a productive system.
How can I bypass that restrictions?
- Hallvor
- Global Moderator
- Posts: 2029
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 139 times
- Been thanked: 206 times
Re: Kate and dolphin as root
I haven't done that in a long time, but I did run a few GUI applications with kdesu, e.g. kdesu dolphin in the past. I don't know if it still works. Do not run GUI applications with su.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: Kate and dolphin as root
Code: Select all
apt show kdesudo
Debian 10.2 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian
Re: Kate and dolphin as root
@Hallvor
No, kdesudo does not work with kate and dolphin anymore..
@kopper
Having an editor with syntax highlighting, mouse support, line numbers, 32bit colors, .... need more arguments?
However if you use vi for ten years, I probably cannot convince you..
No, kdesudo does not work with kate and dolphin anymore..
@kopper
Having an editor with syntax highlighting, mouse support, line numbers, 32bit colors, .... need more arguments?
However if you use vi for ten years, I probably cannot convince you..
- Hallvor
- Global Moderator
- Posts: 2029
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 139 times
- Been thanked: 206 times
Re: Kate and dolphin as root
At least it is possible to use Krusader. It has its own root mode.djevil1 wrote:@Hallvor
No, kdesudo does not work with kate and dolphin anymore..
@kopper
Having an editor with syntax highlighting, mouse support, line numbers, 32bit colors, .... need more arguments?
However if you use vi for ten years, I probably cannot convince you..
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
- roseway
- Posts: 1528
- Joined: 2007-12-31 22:50
- Location: Kent, UK
- Has thanked: 3 times
- Been thanked: 4 times
Re: Kate and dolphin as root
Code: Select all
/usr/lib/kde4/libexec/kdesu dolphin
I would make this easier by adding a link to kdesu in /usr/bin:
Code: Select all
# ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu
Eric
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Kate and dolphin as root
Kdesu doesn't work with Dolphin on KDE 5 any longer, for some odd reason. The icons turn out to be invisible for when you try that.
Just edit your script in your home folder as a regular user, then copy it in the terminal to its system location.
Well, OK, if you don't want that, you can use the Root Actions service menu package. It adds Root Actions right-click context menus that lets you do what you requested, and uses pkexec to work around the problems with the older tools. It's not in Debian, but is in MX 15/16 for Jessie and mx17 for Stretch:
http://mxrepo.com/mx/repo/pool/main/r/r ... rvicemenu/
Just edit your script in your home folder as a regular user, then copy it in the terminal to its system location.
Well, OK, if you don't want that, you can use the Root Actions service menu package. It adds Root Actions right-click context menus that lets you do what you requested, and uses pkexec to work around the problems with the older tools. It's not in Debian, but is in MX 15/16 for Jessie and mx17 for Stretch:
http://mxrepo.com/mx/repo/pool/main/r/r ... rvicemenu/
MX Linux packager and developer
Re: Kate and dolphin as root
@ roseway
No, kdesu does not work with kate or dolphin anymore
@stevepusser
Haven't tried the root actions menu yet, but I will..
because..
@hallvor
krusader seems to be a good alternative to dolphin and kate,( if not even much better), but will take some time to figure it out..
but thank you all very much!
No, kdesu does not work with kate or dolphin anymore
@stevepusser
Haven't tried the root actions menu yet, but I will..
because..
@hallvor
krusader seems to be a good alternative to dolphin and kate,( if not even much better), but will take some time to figure it out..
but thank you all very much!
- Hallvor
- Global Moderator
- Posts: 2029
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 139 times
- Been thanked: 206 times
Re: Kate and dolphin as root
Yes, running the full path does indeed work in Stretch.roseway wrote:Kdesu works fine with Dolphin (and other GUI programs) on Stretch here.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Kate and dolphin as root
Just allow root access, that'll learn it:wizard10000 wrote:wayland doesn't allow privilege escalation in the GUI
Code: Select all
xhost +local:
Warning: don't try this at home kids!
deadbang