Move sudo to provider