Results 1 to 7 of 7

Thread: Krusader root mode in Gnome

  1. #1

    Default Krusader root mode in Gnome

    Does anyone know how to start up Krusader in root mode when using Gnome? If I run it from the "Krusader Root Mode" icon, it does not ask for the root password and opens up in standard mode.
    I do not want to run my gnome session in root mode, since firefox will not run in root mode.
    Thanks for your consideration.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Krusader root mode in Gnome

    I see that the command used in KDE to start krusader is:

    Code:
    krusader -caption "%c" %i %m
    The description says root mode, but it only happens because the KDE menu option "Run as A Different User" is selected and set for root. In KDE this would have the same result as changing the command to:

    Code:
    kdesu krusader -caption "%c" %i %m
    And then not run as a different user. So, is there an equivalent in gnome for kdesu which is like the terminal command su. I can suggest a script file that can do this for you if you like. Keep in mind if you can not execute a run command using krusader and get it to run as a normal user, it may not work at all under Gnome.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Krusader root mode in Gnome

    try gnomesu krusader

    it is best to *never* log into Gnome as root...and never under any
    circumstance run Firefox as root..

    more: you should never log into KDE/Gnome/XFCE or any other *nix-like
    graphical user interface desktop environment as root..

    doing so 1) opens you up to several different security problems, 2)
    too many too easy ways to damage your system no matter how careful
    your actions (example: just browsing in your home directory while
    logged into KDE/Gnome/etc as root can lock you out later as yourself
    due to permissions damage), 3) and, anyway logging into KDE/etc as
    root is *never* required to do any and all administrative duties..

    so, always log in as yourself, and "become root" by using a root
    powered application (like YaST, File Manager Superuser Mode) or using
    "su -", sudo, kdesu, or gnomesu in a terminal to launch whatever tool
    is needed (like Kwrite to edit a config file)...read more on all that
    here:

    http://en.opensuse.org/SDB:Login_as_root
    http://docs.kde.org/stable/en/kdebas...uide/root.html
    http://tinyurl.com/ydbwssh
    http://tinyurl.com/6ry6yd

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Krusader root mode in Gnome

    So DenverD, if we changed the menu command to:

    Code:
    gnomesu krusader -caption "%c" %i %m
    In Gnome, this would run krusader as a root user?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Krusader root mode in Gnome

    jdmcdaniel3 wrote:
    > So DenverD, if we changed the menu command to:
    > --------------------
    > gnomesu krusader -caption "%c" %i %m
    > --------------------
    > In Gnome, this would run krusader as a root user?


    i have no idea what those trailing switches do, but i just tried

    gnomesu krusader

    and that launched a root powered Krusader here, and it should there
    UNLESS gnomesu is issued in a root terminal...(assuming you have Gnome
    basics installed, if not try kdesu krusader :-)

    try it with the switches, and see if it works....i certainly wouldn't
    _expect_ it to harm anything!!

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Krusader root mode in Gnome

    jdmcdaniel3 wrote:
    > So DenverD, if we changed the menu command to:
    >
    >
    > Code:
    > --------------------
    > gnomesu krusader -caption "%c" %i %m
    > --------------------
    > In Gnome, this would run krusader as a root user?
    >
    > Thank You,
    >
    >

    WAIT, i didn't read your question closely enough....and, now see your
    "menu command" and i see that that (without gnomesu) what you wrote IS
    the menu command...then if i look at

    Code:
    man krusader
    hmmmm...i look at it and conclude it was written by some MS
    developers, or at least some who decided there is no good reason to
    conform to the way man pages are usually written for *nix-like
    operating systems..

    by that, i mean i see a "-caption" switch in use, but not documented
    in the man..

    btw, i used Norton Commander in DOS and File Commander in Warp and
    therefore LOVE Midnight Commander in an openSUSE terminal/konsole and
    have no need for the click-click cycle wasting GUI version...pop a
    console, type mc and go..

    if it doesn't find an mc try

    zypper in mc

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  7. #7
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Krusader root mode in Gnome

    DenverD, the command string is a direct copy from the KDE default, so I don't know for sure just what that does either. Some file mangers that are multipurpose do need these options to go into the right mode though. As for Midnight Commander, I also use it and was a user of Norton Commander many moons ago. More often than not, I fire up mc when I have managed to blowup my GUI though.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •