title: chpasswd is unknown command when called in cronjob?
body: <p>I am curious about the following:</p>
  
  <p>I have a bash script, which is executed once in a month through a cronjob. The following line is giving an error "unknown command" when ran through the cronjob:</p>
  
  <pre><code>echo $P | chpasswd
  </code></pre>
  
  <p>When I execute the bash script directly, it is working properly.</p>
  
  <p>Anyone with an idea?</p>