Tab completion not working in Ubuntu

I setup Webmin on Ubuntu Server 8.04 using the debian apt-get repository then installed VirtualMin GPL the the Webmin interface. Everything works great besides one problem I keep on running into.

If I create a new virtual server in VirtualMin GPL with shell access and log into the shell with that user, tab completion doesn’t seem to work for that user. If I su into root, tab completion works again, but exiting back to the virtual server user and it stops working.

If I hit tab key when trying to do tab completion, it just puts my cursor out to the next tab. Also probably related is that my left and right arrow keys don’t work either. When pressing on them, left gives me ^[[D and right gives me ^[[C written to the screen. This also is fixed when I switch to root.

Maybe I’m missing something very obvious here, but I can’t seem to figure out how to fix this. If anyone else has ideas, they would be much greatly appreciated.

The users are getting /bin/sh instead of /bin/bash as their shell.

Change it in the Custom Shells page (I think it can also be changed in the Users and Groups module, but that’ll effect non-Virtualmin users made in Webmin, as well).