Sample Header Ad - 728x90

how to make desktop file ask for sudo password through gui

0 votes
0 answers
974 views
I want to run an app that needs sudo to run. I do not want to run it through terminal but through its desktop file or by clicking on a file associated with the program. is there anyway to have it ask for sudo through gui like some system utilities do? I know muon package manager does when you want to upgrade in it. additionally I need the sudo timeout to be kept like it is in terminal or for the password to timeout immediately so not to pose a security risk.
Asked by stacking and exchanging woohoo (63 rep)
Feb 6, 2023, 08:01 PM