Вопрос

I'm making an app that sends ARP packages. From the console,the program demands that I run it with super user rights using sudo -s.

Now I need to do an interface for the app using QT and I don't know how to give my app super user rights.

Это было полезно?

Решение

use gksudo or kdesu.
It allows graphical programs to be run as root.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top