I discovered that on Ubuntu 8.04 that I would get this error if:

1) /bin/sh was a symbolic link to /bin/bash
2) /etc/passwd had /bin/sh defined as the shell for the user I was logged in
as.

If I changed /etc/passwd to reference /bin/bash directly it went away.

Reply via email to