[Solved]Super user File Manager

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
williepabon
Black ninja
Black ninja
Posts: 55
Joined: 07 Aug 2013, 02:42
Distribution: Ubuntu Linux 12.04 LTS
Location: Puerto Rico (USA)

[Solved]Super user File Manager

Post#1 by williepabon » 11 Aug 2013, 00:19

In the Razor-qt desktop (Porteus v2.0) there was an app that let you open the File Manager with root privileges, while you are logon as guest. Is there something similar with KDE4? Second question: What is the name of the command line editor in Porteus 2.1? Thanks.
wp
Last edited by williepabon on 11 Aug 2013, 22:59, edited 1 time in total.

User avatar
wread
Module Guard
Module Guard
Posts: 1064
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Super user File Manager

Post#2 by wread » 11 Aug 2013, 00:39

Hi willipabon!
Out of the box, KDE4 has no extra superuser File Manager, but I guess you can add it on.
The name of the CLI is KWrite.
:)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
francois
Contributor
Contributor
Posts: 4937
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Super user File Manager

Post#3 by francois » 11 Aug 2013, 03:50

wread wrote:Hi willipabon!
Out of the box, KDE4 has no extra superuser File Manager, but I guess you can add it on.
The name of the CLI is KWrite.
:)
@wread:
There is not enough explanations here. Could you provide more.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 4937
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Super user File Manager

Post#4 by francois » 11 Aug 2013, 04:06

Ok, I finally got it from some of Jay's threads on gnome-mate:
viewtopic.php?f=108&t=1834&start=15

Code: Select all

guest@porteus:~$ su - root -c dolphin


Should open in superuser mode. :D

Sorry, I am not able to turn it in a functional script. :( But maybe someone will be able to do so.

You could also easily change your desktop environment in the base folder for mate or xfce which have the superuser mode.
Voltaire: Le mieux est l'ennemi du bien.

williepabon
Black ninja
Black ninja
Posts: 55
Joined: 07 Aug 2013, 02:42
Distribution: Ubuntu Linux 12.04 LTS
Location: Puerto Rico (USA)

Re: Super user File Manager

Post#5 by williepabon » 11 Aug 2013, 13:30

francois wrote:Ok, I finally got it from some of Jay's threads on gnome-mate:
viewtopic.php?f=108&t=1834&start=15

Code: Select all

guest@porteus:~$ su - root -c dolphin


Should open in superuser mode. :D
francois:
When I run the code above, a bunch of stuff is output on the terminal, but finally Dolphin opens in root mode. Thanks.
Sorry, I didn't explain myself clearly, when I talked about a command line editor I was thinking in a text editor that runs from terminal, like vi or nano on Linux.
wp

PS:
Just to let you know that the code above also works for Kwrite. :)

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Super user File Manager

Post#6 by fanthom » 11 Aug 2013, 14:01

'dolphin - super user mode' should be under 'system' in kmenu. if it's not there (can't check right now as i'm at work) then i had to mess up something and will bring it back for next release.

btw. cli editors are vi (stripped version bundled into busybox) and mcedit.
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5455
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Super user File Manager

Post#7 by brokenman » 11 Aug 2013, 14:05

You could copy the file called /usr/share/applications/dolphin.desktop into /usr/share/applications/root-dolphin.desktop. Then open it and change the EXEC= line with your new root code.

The CLI in porteus is vi or mcedit.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 4937
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Super user File Manager

Post#8 by francois » 11 Aug 2013, 14:33

The stuf in the terminal is verbose mode concerning the functioning of dolphin. :lol:
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Super user File Manager

Post#9 by Hamza » 11 Aug 2013, 16:30

KDE4:

Code: Select all

kdesu /path/to/program
OTHERS:

Code: Select all

ktsuss /path/to/program
NjVFQzY2Rg==

User avatar
wread
Module Guard
Module Guard
Posts: 1064
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Super user File Manager

Post#10 by wread » 11 Aug 2013, 20:22

¡but if you open a konsole and tip kwrite, you will have a better text editor!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

Post Reply