[issue36046] support dropping privileges when running subprocesses

Patrick McLean report at bugs.python.org
Tue Feb 19 20:24:18 EST 2019


New submission from Patrick McLean <chutzpah at gentoo.org>:

Currently when using python to automate system administration tasks, it is useful to drop privileges sometimes. Currently the only way to do this is via a preexec_fn, which has well-documented problems. It would be useful to be able to pass a user and groups arguments to subprocess.popen.

----------
components: Library (Lib)
messages: 336033
nosy: patrick.mclean
priority: normal
severity: normal
status: open
title: support dropping privileges when running subprocesses
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36046>
_______________________________________


More information about the Python-bugs-list mailing list