title: Azure Batch error : "sudo: no tty present and no askpass program specified"
body: <p>I'm new to Azure Batch and I'm stuck on an error that I can't seem to solve.<br />
  I followed this tutorial <a href="https://github.com/Azure-Samples/azure-batch-samples/tree/master/JavaScript" rel="nofollow noreferrer">https://github.com/Azure-Samples/azure-batch-samples/tree/master/JavaScript</a> to test Azure Batch but the service is not running and I have this error when I look in the &quot;preparation tasks&quot; menu : &quot;sudo: no tty present and no askpass program specified&quot;</p>
  <p>The problem occurs when the command &quot;sudo sh startup_prereq.sh &gt; startup.log&quot; of the sample.js file is executed.
  According to the different comments on internet, it will be necessary to provide a user and password to pass it but I don't know how to do it.</p>
  <p>Do you have any idea how I can solve this problem?</p>
  <p>Thanks</p>