diff options
author | Colin Watson <cjwatson@debian.org> | 2005-01-04 13:43:07 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-01-04 13:43:07 +0000 |
commit | 223df7b73954457eed7c9689d76d86bdaaa288b4 (patch) | |
tree | 33e34876adb05732c1206ce0f04f12af68ac0ce4 /debian/openssh-server.postinst | |
parent | a663f4b1305fe471ad10ca9959ad522d42341d13 (diff) |
Pass LANG and LC_* environment variables from the client by default, and
accept them to the server by default in new installs, although not on
upgrade (closes: #264024).
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r-- | debian/openssh-server.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst index 1da6cdfc5..15e43f1a4 100644 --- a/debian/openssh-server.postinst +++ b/debian/openssh-server.postinst | |||
@@ -256,6 +256,9 @@ KeepAlive yes | |||
256 | #MaxStartups 10:30:60 | 256 | #MaxStartups 10:30:60 |
257 | #Banner /etc/issue.net | 257 | #Banner /etc/issue.net |
258 | 258 | ||
259 | # Allow client to pass locale environment variables | ||
260 | AcceptEnv LANG LC_* | ||
261 | |||
259 | Subsystem sftp /usr/lib/sftp-server | 262 | Subsystem sftp /usr/lib/sftp-server |
260 | 263 | ||
261 | UsePAM yes | 264 | UsePAM yes |