Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hello I am running ubuntu 11.10 and access it via ssh with putty. My problem is that when I log in I get the prompt

[email protected]:~$

and my arrow keys do what the y are supposed to. When I try to login in as another user account I made all I get is this as the prompt it never says the directory or anyting

$

Also when ever I try to use the left, right, up or down arrow I get a character like this

^[[A

Is this a bug in putty or did I just not set the account up right?

share|improve this question

2 Answers 2

This is because of the used shell . Try to type bash after you get logged. If it wirks, then set bash as the default interpreter for your user.

share|improve this answer

This happens if you created the user with the command

    useradd

You then need to create the users home directory and copy the files from /etc/skel into it. They are .bash_logout .bashrc and .profile

If you use

    adduser 

this is all done automatically.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.