Score:0

How to make custom appplications use native graphical password promt when using sudo privileges

eg flag

I was creating some "apps" for simple utilities that I would like to have on my desktop (i.e battery charging threshold on compatible devices, a proxy settings manager) but some of the scripts needed to fulfill the tasks require some sudo privileges. I've seen that some native Ubuntu (like partitions manager or drivers update center) programs do raise a graphical password prompt to allow them for using sudo privileges. Is there a way so my scripts could raise the same prompt?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.