Stu is correct that the shell comes from /etc/passwd. Try telnet'ing into the Zaurus & you'll see.
The reason you get the Bash shell from Qtopia as user zaurus is that the file that starts Qtopia (/home/QtPalmtop/qpe.sh) sets the SHELL environment variable early on:
export SHELL=/bin/bash
With all due respect, in this case Stu is not. I'm not a Linux or Unix newbie, though I am very new to the Zaurus. The shell for zaurus as defined in /etc/passwd is /bin/sh (on my system). And I've already found the qpe.sh file and seen that the SHELL var is indeed set as /bin/bash there. But that in itself does not provide tab completion. If it did, and I then set the SHELL variable for root from the command line, or the .profile, root would have tab completion as well. But it doesn't. I have to actually start a bash shell as root by executing bash before tab completion works for it.
I have noticed that the Z does some weird things with the passwd file. And things that are normally easy to do in Unix/Linux, such as editing it manually and then refreshing shadow by doing a pwconv are not possible with the Z. There are also two instances of the passwd file, one in /home/etc/passwd (equiv. of /etc/passwd), and one in /root/etc/passwd. The latter does not even contain an entry for zaurus.
So no disrespect intended, and while I fully acknowledge that Stu is very learned on these devices while I am not, in this case it certainly appears as if there is something other than a passwd entry (or the SHELL var in qpe.sh), that is providing tab completion. My goal is to find out what
Regards,
gdog