finds the user's home dir. can't just assume it's `/home/xxx` since root it `/root` and jenkins is `/var/lib/jenkins` etc.