[Bug 256233] security/doas: target user's login class gets ignored
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 256233] security/doas: target user's login class gets ignored"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Jun 2021 23:33:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256233 --- Comment #9 from bugs.freebsd@scourger.nl --- I think it would be better to default to using the target user's language (per login.conf), and only copy the language from the caller when it's explicitly specified in setenv (or when keepenv is used). The fix also doesn't catch the "doas -u bob -S" usecase. Simulating a full login should always result in the target user's language, but it never does. It results in either the caller's language, or when that isn't defined it still defaults to the C locale. -- You are receiving this mail because: You are the assignee for the bug.