<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dropbear &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/dropbear/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Wed, 25 Jun 2008 16:53:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>SUA/SFU dropbear minor annoyances..</title>
		<link>https://virtuallyfun.com/2008/06/25/suasfu-dropbear-minor-annoyances/</link>
					<comments>https://virtuallyfun.com/2008/06/25/suasfu-dropbear-minor-annoyances/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 25 Jun 2008 16:53:00 +0000</pubDate>
				<category><![CDATA[dropbear]]></category>
		<category><![CDATA[sfu]]></category>
		<category><![CDATA[sua]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=71</guid>

					<description><![CDATA[Well I just deployed a Windows server to run some ancient ASP stuff, and it just turned out that the new direction is going to be php &#038; unix&#8230; Since the machine is now in a different nation changes will &#8230; <a href="https://virtuallyfun.com/2008/06/25/suasfu-dropbear-minor-annoyances/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well I just deployed a Windows server to run some ancient ASP stuff, and it just turned out that the new direction is going to be php &#038; unix&#8230; Since the machine is now in a different nation changes will be&#8230; difficult.</p>
<p>So for now I thought I&#8217;d install the SFU package and just connect in thru that and set it up&#8230; Except SFU/SUA is all telnet remotely&#8230;  Which is bad.  However dropbear to the rescue has &#8216;fixed&#8217; it, now I can ssh.</p>
<p>There is really one two tweaks, the first one requires you to change the utmp stuff to utmpx.. It&#8217;s really easy, just add the x to the structures!</p>
<p>The &#8216;challenge&#8217; was to authenticate passwords.  You cannot verify passwords the old way, but after a lot of digging around I found this page:</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb463206.aspx">http://technet.microsoft.com/en-us/library/bb463206.aspx</a></p>
<p>&#8220;Porting applications in C&#8221; ..</p>
<p>And for anyone that cares, here is the part for svr-authpasswd.c</p>
<p>        /* the first bytes of passwdcrypt are the salt */<br />//      testcrypt = crypt((char*)password, passwdcrypt);<br />//      m_burn(password, passwordlen);<br />//      m_free(password);</p>
<p>        //This changes<br />        //if (strcmp(testcrypt, passwdcrypt) == 0)<br />        if(setuser(ses.authstate.pw_name,password,SU_CHECK)==0)</p>
<p>Yep, that&#8217;s it, and now gen your keys, and away you go!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2008/06/25/suasfu-dropbear-minor-annoyances/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
