On Tue, Dec 11, 2012 at 05:39:08PM +0200, Manolis Tzanidakis wrote:

> Hey there
> 
> On Tue (11/12/12), Martijn van Duren wrote:
> > 
> > On my new install I found that it is possible to set environment
> > variables via the login.conf file. When trying I found out that those
> > variables aren't honored if I log in via ssh. Setting the variables via
> > setusercontext in a test-application and via the login command does
> > work.
> > Am I somehow missing a setting in sshd_config that ignores these
> > settings or do I need to report this as a bug?
> 
> Check 'AcceptEnv' and 'PermitUserEnvironment'in sshd_config(5).
> They're both set to off, by default.

These options apply to different mechanisms than login.conf.

        -Otto

Reply via email to