It's impossible to tell with the amount of info you provided. That's why there's a 'bashbug' script alongside bash to generate a useful bug report template.
Provide: - bash version: bash --version - OS name and version: uname -a - The contents of the run.sh file - If possible also the su version (in my case it doesn't have a version flag, but it's part of the login package). - The output of running said script, with 'set -x' enabled You might not be running bash at all, since you didn't explictly called /bin/bash, instead letting su run /bin/sh, which could be dash, or any other shell. -- Eduardo Bustamante https://dualbus.me/