Message273698
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? |
|
Date |
User |
Action |
Args |
2016-08-26 09:49:01 | upendra-k14 | set | recipients:
+ upendra-k14, rhettinger, terry.reedy, ncoghlan, ned.deily, dstufft, lorenzogotuned |
2016-08-26 09:49:01 | upendra-k14 | set | messageid: <1472204941.57.0.163167014044.issue27051@psf.upfronthosting.co.za> |
2016-08-26 09:49:01 | upendra-k14 | link | issue27051 messages |
2016-08-26 09:49:01 | upendra-k14 | create | |
|