Hi<br><br><div><span class="gmail_quote">On 08/08/2007, <b class="gmail_sendername">Matt Johnston</b> <<a href="mailto:matt@ucc.asn.au" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matt@ucc.asn.au
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Aug 08, 2007 at 08:25:00AM +0200, Giuseppe Cavallaro wrote:<br>> Hi All,<br>> ho can I login as root user with an empty password?<br>> Do I need to hack the code or I have to configure dropbear in "special" way?
<br><br>It already should work.<br><br>As a test, I set up the root user on an Ubuntu 7.04 system<br>to have an entry in /etc/shadow of<br>root:R7gIX4dJJcCFw:13612:0:99999:7:::<br>and it worked fine. "R7gIX4dJJcCFw" is just the crypt of an
<br>empty password - the Linux password utility wouldn't let me<br>set it manually.</blockquote><div><br>Thanks, it works like a charm!<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You still have to press enter in your client to log in -<br>Dropbear 0.50's dbclient will provide the ability to set<br>DROPBEAR_PASSWORD="" and avoid that.</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I assume you're running this on a closed network or<br>something -- otherwise it'd be a tad insecure.</blockquote><div><br><br>I'm using dropbear 0.49 on an embedded system based on uClibc with a private network (p2p).
<br><br>----<br>Just another question:<br><br>Is it possible to totally skip authentication phase with dropbear? <br>I mean, using telnet or ssh (but configuring the latter) I'm able to login without entering password and login.
<br>In this case my root entry in passwd is root::0:0 ...
<br><br>Thanks a lot<br>Ciao<br>Giuseppe<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matt<br></blockquote></div><br>