TerryP you have read my mind
. Once i have changed the users default shell to bash. Updating bash remotely crashed at some point and couldn't log in anymore.
It was easy to recover because i had physical access to the box but that thought me to use the default shell and use the code you posted in the defaults shell dot file to change it at login.
all the best,
v