I have never had to deal much with BASH setup under Debian Linux, but this time, somebody has given me a server that acts weird.
When I log on as root, everything works as I am used to: I see a normal prompt telling me who/where I am, pressing the UP key displays previously typed commands, etc.
But when I log on as a created user, the prompt is "$", the UP key displays the characters ^[[A and when I try to change the prompt by typing PS1="\u@\h:\w\$ " the prompt literally becomes \u@\h:\w\$ - i.e. \u is not replaced by user name, etc.
Looking at the etc/profile and the etc/bash.bashrc files does not give me any clues. And I have I tried Google'ing to no avail.
Can anybody point me in the right direction? A step-by-step guide to which files to look at and what they should could be helpful. Another approach could be to reset a user's bash settings (without having to delete and restore the user).