Message273698
| 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? |
|