This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author upendra-k14
Recipients dstufft, lorenzogotuned, ncoghlan, ned.deily, rhettinger, terry.reedy, upendra-k14
Date 2016-08-26.09:49:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472204941.57.0.163167014044.issue27051@psf.upfronthosting.co.za>
In-reply-to
Content
I facing problems in running the GUI application with root or elevated privileges. I earlier used gksudo for linux. It turns out be a not very general solution as all linux distros don't have gksudo.

Therefore, how to manage user permissions or group permissions. I want my program to run temporarirly with elevated permissions in order to install, update or uninstall python packages.

I am using subprocess. Is it possible to run subprocess with elevated privileges and again reset the permissions when the shell process ends?
History
Date User Action Args
2016-08-26 09:49:01upendra-k14setrecipients: + upendra-k14, rhettinger, terry.reedy, ncoghlan, ned.deily, dstufft, lorenzogotuned
2016-08-26 09:49:01upendra-k14setmessageid: <1472204941.57.0.163167014044.issue27051@psf.upfronthosting.co.za>
2016-08-26 09:49:01upendra-k14linkissue27051 messages
2016-08-26 09:49:01upendra-k14create