Revoking sudo after command is run