Results 1 to 2 of 2

Thread: Dynamically getting root privileges for an app

  1. #1
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Dynamically getting root privileges for an app

    Is there a way for an app to get root privileges while being executed (I mean something like kcm stuff in KDE...) ??? And possibly a crossplatform one...
    Current Qt projects : QCodeEdit, RotiDeCode

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Dynamically getting root privileges for an app

    At least under Unix world - no. You'd have to gain the rights before starting the app (meaning you can get root priviledges for a subprocess, but not for the base process).

Similar Threads

  1. Mac installation issue with .profile
    By jcr in forum Installation and Deployment
    Replies: 18
    Last Post: 7th October 2006, 06:34
  2. Dynamically adding tabs
    By larry104 in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2006, 20:27
  3. 4.1.4 built from source, qmake fails with Hello World
    By Mookie in forum Installation and Deployment
    Replies: 6
    Last Post: 27th June 2006, 23:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.