Kali linux in VirtualBox

Ardenzio

New Member
Credits
22
Hello Forum,
I'm alinux beginner. I've installed a VirtualBox with a kali Linux image. In the linux shell with the root priviledge I've created two new user. When i digit su user, i become the user, but the shell works slightly different for this user. I cannot use the arrow key to repeat previosu command and the tab autocomplete is not working.
Can someone explain me the reason beyond this behaviour and if is possible to have same keyboyard featurs as root user?
 


Ardenzio

New Member
Credits
22
Ok, i found the solution. I post just in case some begineer may need it. Every new user has by default shell sh. But if i wnat to use the same shell with the same command and features as root, i have to use the bash shell.
To see user shell, use : getent passwd user
To change user shell, use: chsh -s /bin/bash/ user
Hope someone can find this usefule.
 


Staff online

Members online


Latest posts

Top