l...@gnu.org (Ludovic Courtès) writes:

> (This is due to the Guix setup where by default nothing would be found
> in $PATH; patch attached.

That's a pretty non-standard environment...

Processes spawned for a user by lshd get a pretty trimmed down initial
environment, with PATH set to /bin:/usr/bin or something close. If
standard unix tools aren't found there, then I think you'd need to
either

* have the shell startup files setup a working path (ssh "shell" is
  implemented by spawning a login shell, and "exec" by starting a shell
  with -c command-line-string).

* Or some option to lshd to let child processes inherit PATH or set it
  to a specific value. Not sure if it's appropriate to use that when
  running the tests, though. There's a related hack to inherit HOME in
  some circumstances.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
lsh-bugs mailing list
lsh-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

Reply via email to