title: Use sudo with password as parameter
body: <p>I would like to run sudo with my password as parameter so that I can use it for a script. I tried</p>
  
  <pre><code>sudo -S mypassword execute_command
  </code></pre>
  
  <p>but without any success. Any suggestions?</p>