When i ssh to my ubuntu server, i get logged in to my user's home folder.
But when i do su otheruser
and enter the password, i get logged in as the otheruser but the home directory stays for the previous user.
How to automatically switch to the logged user's home dir?