Handle sudo when re-deploying the shim

This add permissions, when using SUDO, for the sudo user to the /tmp/.salt folder. If this is not done (disclaimer there might be better ways), the scp of the thin client will fail.