Windows Bash (WSL) - sudo: no tty present and no askpass program specified : <p>After following <a href="http://www.omgubuntu.co.uk/2016/08/upgrade-bash-windows-10-ubuntu-16-04-lts" rel="noreferrer">this tutroial</a> I get the following error when trying to run the commands as user or even sudo:</p>

<blockquote>
  <p>sudo: no tty present and no askpass program specified</p>
</blockquote>

<p>The comments from <a href="http://www.omgubuntu.co.uk/2016/08/upgrade-bash-windows-10-ubuntu-16-04-lts#post-2819669254" rel="noreferrer">Lurdan</a> in this article state that you need to run </p>

<pre><code>sudo -S &lt;YOUR_COMMAND&gt;
chmod 0666 /dev/tty
</code></pre>

<p><code>chmod</code> doesn't work but <code>sudo -S</code> does, but surely there's another fix?</p>
