Let sudo work without a tty