[Bug 256233] security/doas: target user's login class gets ignored

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Jun 2021 14:52:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256233

--- Comment #14 from jsmith@resonatingmedia.com ---
I think you make a good point about the LANG variable being an exception.
Virtually every other environment variable is discarded or set to the target
user. I've reverted this change.

Now if the user wants to switch languages when switching users they can set
LANG in the doas.conf file. Otherwise doas will use the system default
(normally) or use the target's language if simulating a full login with "doas
-S".

I've made this change upstream and reverted the doas.conf manual page to match.

-- 
You are receiving this mail because:
You are the assignee for the bug.