Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2021 14:52:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256233] security/doas: target user's login class gets ignored
Message-ID:  <bug-256233-7788-dk3IKyYlle@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256233-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256233-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256233

--- 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 "do=
as
-S".

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256233-7788-dk3IKyYlle>