On 2020-07-02 23:04:02 +0200, Christoph Anton Mitterer wrote:
> Directing the users to just set their locale on the remote .profile or
> using tricky with intermediate envvars is obviously also no real
> solution.

Note that using the remote .profile is not a solution as it is read
only by login shells, so that "ssh host command" would not get the
correct locale. The only possible solution is to pass LC_* and LANG
environment variables.

> Removing pam_env for ssh would mean users could in principle end up
> with no LANG set... (which would IMO still be better than what we have
> now).

Users should set LC_* and/or LANG variables on the local side and the
default server configuration should accept them.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to