mirror of
https://git.proxmox.com/git/proxmox-acme
synced 2025-04-28 15:46:11 +00:00
dns plugin: reset environment
in addition to switching to nobody:nogroup, to reduce things exposed to the dnsapi plugins Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
bd6d81d468
commit
f0ed07330c
@ -160,7 +160,7 @@ my $proxmox_acme_command = sub {
|
||||
|
||||
# for security reasons, we execute the command as nobody
|
||||
# we can't verify that the code of the DNSPlugins are harmless.
|
||||
my $cmd = ["setpriv", "--reuid", "nobody", "--regid", "nogroup", "--clear-groups", "--"];
|
||||
my $cmd = ["setpriv", "--reuid", "nobody", "--regid", "nogroup", "--clear-groups", "--reset-env", "--"];
|
||||
|
||||
# The order of the parameters passed to proxmox-acme is important
|
||||
# proxmox-acme <setup|teardown> $plugin <$domain|$alias> $txtvalue [$plugin_conf_string]
|
||||
|
Loading…
Reference in New Issue
Block a user