title: How can I write a chef recipe to create a new user and password in the Nodes automatically?
body: <p>I'm new to chef. Kindly help! I have tried this</p>
  
  <pre><code>user "newuser" do
    password: xyz
  end
  </code></pre>
  
  <p>and</p>
  
  <pre><code>user 'newuser' do
    comment 'A random user'
    uid '1234567'
    gid '1234567'
    home '/home/saxuser'
    shell '/bin/bash'
    password 'newpassword'
  end 
  </code></pre>