I can do that if in the checkusername I comment the following check.<br>I&#39;m not sure if it&#39;s a better way; I wonder if it&#39;s worth using an extra option (i.e. permit_empty_passwd)<br>like ssh does.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* check for an empty password */
<br>#if 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (ses.authstate.pw-&gt;pw_passwd[0] == &#39;\0&#39;) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE((&quot;leave checkusername: empty pword&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dropbear_log(LOG_WARNING, &quot;user &#39;%s&#39; has blank password, rejected&quot;,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ses.authstate.printableuser);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; send_msg_userauth_failure(0, 1);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return DROPBEAR_FAILURE;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>#endif<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE((&quot;shell is %s&quot;, 
ses.authstate.pw-&gt;pw_shell))<br><br><br><div><span class="gmail_quote">On 08/08/2007, <b class="gmail_sendername">Giuseppe Cavallaro</b> &lt;<a href="mailto:peppe.cavallaro@gmail.com">peppe.cavallaro@gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Matt,<br>It works fine if I set root:R7gIX4dJJcCFw:... in passwd file.<br>So I&#39;d like to have the same scenario but using root::... in passwd.
<br>Is it possible?<br><br>Thanks a lot for your excellent support,<br><span class="sg">Giuseppe
</span><div><span class="e" id="q_11444c3942b5a1fb_2"><br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>There&#39;s a hardcoded check in checkusername() that won&#39;t
<br>allow an empty password crypt since that&#39;s a common
<br>misconfiguration. If the user has an OK entry in /etc/passwd<br>though, you can make Dropbear skip auth fairly easily, see<br>the patch below.<br><br>Matt</blockquote></div><br>
</span></div></blockquote></div><br>