hi,
i have a little problem with our application...
i have installed bash (and sh, of cource) in my /system/bin/
on my terminal emulator, i have configured bash has the
default shell. works ok, except when i type "su" command.
in this case, the shell is changed to "sh" even if i try to pass
"-" to the "su" command ("-" param is to use the previous
environment).
i have tried the (standard) "-s" parameter for forze the /system/bin/bash
but is not supported (in your source).
PLEASE, add the "-s" parameter to your source to forze the
shell modificacion.
if i try to pass "-c bash" to "su" command, works fine, but
is uggly
Code:
bash-1.4 $ ls -l /system/bin/sh /system/bin/bash
-rwxr-xr-x root shell 91064 2010-03-04 11:33 sh
-rwxr-xr-x root shell 1521072 2010-05-14 11:33 bash
bash-1.4 $ su
sh # exit
bash-1.4 $ su -
sh # exit
bash-1.4 $ su -s /system/bin/bash
Permission Denied
bash-1.4 $ su -s /system/bin/sh
Permission Denied
bash-1.4 $ su -c bash
bash-1.4 #