OpenDoas icon indicating copy to clipboard operation
OpenDoas copied to clipboard

Consider adding environment variables from PAM.

Open Duncaen opened this issue 8 years ago • 3 comments

Get environment variables from pam modules with pam_getenvlist or pam_getenv. Should doas keep all variables or only those that are specified in doas.conf by keepenv?

Duncaen avatar May 08 '16 14:05 Duncaen

Personally, I'd argue that keepenv is probably better, to prevent accidentally leaking variables that could have unintended side effects.

escondida avatar Jan 08 '20 17:01 escondida

Hi, I just wrote about problems that happen on NixOS because of this issue: https://github.com/NixOS/nixpkgs/issues/158988

Would it be possible to reconsider ?

PaulGrandperrin avatar Feb 10 '22 16:02 PaulGrandperrin

Maybe I can try writing a PR if you want :)

PaulGrandperrin avatar Feb 10 '22 16:02 PaulGrandperrin