OpenSSH
[Top] [All Lists]

Re: support of locale

To: openssh-unix-dev@mindrot.org
Subject: Re: support of locale
From: Carson Gaspar <carson@taltos.org>
Date: Tue, 23 Jan 2007 16:37:23 -0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <45B69035.5030207@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <s5b5d8f2.078@sos.state.or.us> <45B69035.5030207@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061025 Thunderbird/2.0b1pre Mnenhy/0.7.4.0
Darren Tucker wrote:
> Cynthia K MULLIS wrote:
>> When I ssh to a server, the locale information is set to "C" regardless
>> of the settings in the /etc/default/init. 
> 
> OpenSSH's sshd does not parse /etc/default/init, so unless your shell 
> does then you won't see them.
> 
> I don't know what normally parses it on Solaris, but if it's a PAM 
> module then enabling PAM might help.

It's parsed by "init", oddly enough ;-)

If you change /etc/default/init, you need to reboot (sadly, there is no 
way to get init to re-read the config file). Then init will have the new 
settings, and all children of init will inherit them.

I haven't looked at the source to see if sshd will pass said environment 
along to its children or not.

-- 
Carson
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>