[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FAQ update suggestion for ssh-svnserve-location

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-09-21 14:56:28 CEST

On Wed, Sep 21, 2005 at 02:18:33PM +0200, Marcus Rueckert wrote:
> you dont need to fight with the pam_env module. just setting the path in
> .bashrc/.profile/.zshrc/.cshrc is enough. it is really this simple.

No, that (generally) won't work. OpenSSH doesn't run your shell if you
request a specific command, and so (generally) the PATH environment
variable is set to a hard-coded default.

['(generally)' because OpenSSH can also obtain the default user path at
runtime from a file, like /etc/login.conf on BSD, or from any GSSAPI
module. So it might work in your configuration.]

You may also be able to create an ~/.ssh/environment file, or add
'environment=' to your authorized_keys file, though both depend upon the
PermitUserEnvironment option being on, which it's not by default.

There's also ~/.ssh/rc (and a system-wide variant), but I don't think
that's actually sourced, so it wouldn't be able to affect the environment.

Incidentally, the </div> tag is misplaced for that FAQ entry.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 21 14:57:55 2005

This is an archived mail posted to the Subversion Dev mailing list.