Hi there! I have an issue with useradd. If I type
useradd -m -d /home/test/ -u 2012 test
and I log in as the respective user (su test), it seems that the PS1 variable is empty (it shows only $) and the arrow keys don't work as they should. They type ^[[A, ^[[B, ^[[C or ^[[D. Can you please tell me how to fix the problem and make the respective user behave normally, as if it would have been created by the adduser command?