6 Mar
2023
6 Mar
'23
20:17
Hi, I'd like to have a few extras variables in a sudo session for a special user or group. I created a new file "mygroup" in /etc/sudoers.d/ with these contents: Defaults exempt_group = mygroup Defaults:%mygroup env_keep="PERL5LIB DISPLAY XAUTHORITY" Is this the correct way to do this? Thx! Bye. Michael.