Revoke sudo permissions when logging out