[EMAIL PROTECTED] writes: > I got suspicious when echo $0 says "-sh", yet I looked and saw that / > bin/sh -> bash*. Maybe ssh is sneakily running sh from somewhere > despite the bash symlink? Is there a better way of getting a straight > answer on what shell is running, and whether it ran .bashrc?
Entry for you in /etc/passwd may say /bin/sh and maybe ssh/login is simply honoring it. When the same bash binary is started as "sh" it changes behaviour.
