this could be a setting path in .bashrc vs .profile .. or .cshrc vs .login
or something like that....
different files get parsed depening on what type of shell it is .. login
or non-interactive ...
On Tue, 20 Mar 2001 bscanlan at irish-times.com wrote:
> On Tue, Mar 20, 2001 at 03:44:49PM +0000, Jerry Connolly wrote:
> > This is almost certainly the problem though. Make sure that whatever shell
> > your user is using has the PATH set in a place that will be called even if
> > the shell is not interactive. sshrc perhaps. (If you've got to the stage
> > that you can run 'which scp', then it's interactive).
>> I found OpenSSH very ignoring of what I set in my PATH when it was looking
> for scp - I ended up having to set /usr/local/bin as part of the ./configure
> option --with-default-path, even though my prefix was /usr/local.
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!