Install package libpam-tmpdir
sudo apt install libpam-tmpdir
At login, the directory /tmp/user/$UID
will be created for the user and permissions set such that no other users have access to this directory.
Sources: https://unix.stackexchange.com/questions/192409/per-user-tmpfs-directories/192426#192426