Get Root access in Linux?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tbonejo@gmail.com

    #1

    Get Root access in Linux?

    Does anyone know how to call for the root prompt before launching your
    app?
    Kinda like synaptic or the superuser file manager does?

    Thanks,

    Tom

  • Diez B. Roggisch

    #2
    Re: Get Root access in Linux?

    tbonejo@gmail.c om wrote:
    [color=blue]
    > Does anyone know how to call for the root prompt before launching your
    > app?
    > Kinda like synaptic or the superuser file manager does?[/color]

    That is Windowmanager/Desktop dependand. For KDE, you can e.g. create links
    to applications that instruct the KDE to first acquire root privileges. As
    gnome and KDE try to become more cooperative especially in config-issues,
    you might be lucky and can use one mechanism for both.

    However, this is neither a python nor a general unix thing. For better
    answers, try and search the KDE/gnome resources.

    Diez

    Comment

    • Harlin Seritt

      #3
      Re: Get Root access in Linux?

      sudo is something of a quick fix.

      Harlin Seritt

      Comment

      • tbonejo@gmail.com

        #4
        Re: Get Root access in Linux?

        I was thinking you can do a shell call or something and pass the info
        for root access.

        Comment

        • wittempj@hotmail.com

          #5
          Re: Get Root access in Linux?

          Then you have root access in that shell only, and not in the 'mother'
          python process. I guess Harlins suggestion is the nest: run with sudo

          Comment

          • Malte Dik

            #6
            Re: Get Root access in Linux?

            quote:
            [color=blue]
            > Does anyone know how to call for the root prompt before launching your
            > app?
            > Kinda like synaptic or the superuser file manager does?[/color]


            Do you mean something like "kdesu" for KDE?

            Comment

            Working...