On Sun, May 06, 2007 at 09:45:17PM +0100, Woogie wrote: > The reason that "echo" works while other commands doesn't is that > "echo" is a part of your shell Yes - known as a "shell built-in" function. > Check the contents of $LD_LIBRARY_PATH - it's a "considered harmful" Clearly, your shell-under-sshd is not finding your loadable libraries. One way to fix it is to explicitly set LD_LIBRARY_PATH. But, I think LD_LIBRARY_PATH is meant for libs in weird locations, so there must be another way to configure where the system loadable libraries are. I wish I knew what it was ... Or, maybe it's an sshd config item having to do with libraries. Or PAM. A quick grep through my /etc (caveat: I'm running Debian, not ubuntu) for '/lib' shows up sestatus.conf as a possibility for your problem (although this may be way off base, I know nothing about selinux). cheerio, bjb