title: Users created to Ubuntu by Puppet cannot connect by SSH
body: <p>I am trying to add new user to Ubuntu Server 14.04 with the latest version Puppet.</p>
  
  <p>I use the following code:</p>
  
  <pre><code> user { 'user':
              ensure =&gt; present,
              home =&gt; '/home/user',
              managehome =&gt; true,
              password =&gt; 'password',
              system =&gt; true,
              shell =&gt;  '/bin/bash',
              require =&gt; Group['usergroup'],
      }
  </code></pre>
  
  <p>The user gets created successfully but cannot log in with SSH.</p>
  
  <p>This is what I get when trying to SSH:</p>
  
  <pre><code>user@10.11.11.11's password:
  debug3: packet_send2: adding 64 (len 54 padlen 10 extra_pad 64)
  debug2: we sent a password packet, wait for reply
  debug1: Authentications that can continue: publickey,password
  Permission denied, please try again.
  </code></pre>
  
  <p>Problem should not be about allowing users to use SSH because user created with 
  <strong>adduser</strong> can log in with SSH without problems. Also all existing user can SSH in.</p>
  
  <p>What could be causing this problem?</p>