Page 1 of 1

[Solved]Super user File Manager

Posted: 11 Aug 2013, 00:19
by williepabon
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

Re: Super user File Manager

Posted: 11 Aug 2013, 00:39
by wread
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.
:)

Re: Super user File Manager

Posted: 11 Aug 2013, 03:50
by francois
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.

Re: Super user File Manager

Posted: 11 Aug 2013, 04:06
by francois
Ok, I finally got it from some of Jay's threads on gnome-mate:
http://forum.porteus.org/viewtopic.php? ... &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.

Re: Super user File Manager

Posted: 11 Aug 2013, 13:30
by williepabon
francois wrote:Ok, I finally got it from some of Jay's threads on gnome-mate:
http://forum.porteus.org/viewtopic.php? ... &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. :)

Re: Super user File Manager

Posted: 11 Aug 2013, 14:01
by fanthom
'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.

Re: Super user File Manager

Posted: 11 Aug 2013, 14:05
by brokenman
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.

Re: Super user File Manager

Posted: 11 Aug 2013, 14:33
by francois
The stuf in the terminal is verbose mode concerning the functioning of dolphin. :lol:

Re: Super user File Manager

Posted: 11 Aug 2013, 16:30
by Hamza
KDE4:

Code: Select all

kdesu /path/to/program
OTHERS:

Code: Select all

ktsuss /path/to/program

Re: Super user File Manager

Posted: 11 Aug 2013, 20:22
by wread
¡but if you open a konsole and tip kwrite, you will have a better text editor!