Home > OS >  Linux distribution, how to realize the graphical sudo?
Linux distribution, how to realize the graphical sudo?

Time:09-29

Ubuntu, Fedora, CentOS operating in some programs, will pop up enter the administrator password UI
And then to administrator privileges to run their own program

How to implement this function?
Let users to use the command line sudo and then enter the password not realistic

I know there is gksu this tool, but I want to do a himself

CodePudding user response:

Should be achieved by qt,

CodePudding user response:

reference 1st floor zhgure response:
should be achieved by qt,

.
I said is mechanism

CodePudding user response:

Dbus service can solve the problem of permissions, you can have a look at some of my personal projects, https://github.com/zhuyaliang/group-service is to create a dbus, mainly use dbus manage Linux user group, https://github.com/zhuyaliang/time-admin is the use of dbus graphical application of the management of the local time, you said the pop-up user authorization is to give dbus service authorization,
  • Related