Quantcast
Channel: Tab Autocomplete for New User - Server Fault
Viewing all articles
Browse latest Browse all 6

Tab Autocomplete for New User

$
0
0

I added a new linux user by doing a

useradd -d /var/www/mywebsite.com -m newuser
passwd newuser

I tested the account by logging into the server with the following command

ssh newuser@mywebsite.com

After login, the shell doesn't let me do tab autocomplete. For example, I would type /var/www/myweb{tab}, but the tab button only enters a space into the shell. Also, pressing the up and down arrow keys does not give me the most recent shell commands entered.

Everything works perfectly when I ssh login as root. But it doesn't work when I ssh login as newuser.

Did I miss something?

Thanks


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles



Latest Images