<?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>sua &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/sua/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Mon, 07 May 2018 03:37:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>
	<item>
		<title>Rsync 3.1.0 on Interix (SUA for Windows)</title>
		<link>https://virtuallyfun.com/2014/01/10/rsync-3-1-0-on-interix-sua-for-windows/</link>
					<comments>https://virtuallyfun.com/2014/01/10/rsync-3-1-0-on-interix-sua-for-windows/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Fri, 10 Jan 2014 08:29:56 +0000</pubDate>
				<category><![CDATA[microsoft windows]]></category>
		<category><![CDATA[sua]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=3714</guid>

					<description><![CDATA[for the two or three people left running SUA, and trying to rsync a UNIX box back on a corporate Windows server, you&#8217;ll probably wonder why rsync crashes&#8230; $ ./rsync dbserver:: Memory fault (core dumped) $ Wonderful. Â So I know &#8230; <a href="https://virtuallyfun.com/2014/01/10/rsync-3-1-0-on-interix-sua-for-windows/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>for the two or three people left running SUA, and trying to rsync a UNIX box back on a corporate Windows server, you&#8217;ll probably wonder why rsync crashes&#8230;</p>
<p style="padding-left: 30px;">$ ./rsync dbserver:: Memory fault (core dumped) $</p>
<p>Wonderful. Â So I know what you&#8217;re thinking, let&#8217;s debug it, right?!</p>
<p style="padding-left: 30px;">$ gdb rsync</p>
<p style="padding-left: 30px;">GNU gdb 2002-11-11-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type &#8220;show copying&#8221; to see the conditions. There is absolutely no warranty for GDB. Type &#8220;show warranty&#8221; for details. This GDB was configured as &#8220;i586-pc-interix3&#8243;&#8230;</p>
<p style="padding-left: 30px;">(gdb) set args dbserver::</p>
<p style="padding-left: 30px;">(gdb) r</p>
<p style="padding-left: 30px;">Starting program: /dev/fs/C/Users/neozeed/tmp/rsync-3.1.0/rsync dbserver:: procfs: init_inferior, get_traced_signals line 4856, /proc/1375: Value too large to be stored in data type.</p>
<p>Yeah. Fantastic.</p>
<p>Well it turns out the bundled libintl on Interix is all screwed up. Â So edit the config.h, and remove the line:</p>
<p style="padding-left: 30px;">#define HAVE_ICONV_H 1</p>
<p>rebuild, and all will be well.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2014/01/10/rsync-3-1-0-on-interix-sua-for-windows/feed/</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
			</item>
		<item>
		<title>Unix/32V multiuser&#8230;</title>
		<link>https://virtuallyfun.com/2009/10/31/unix32v-multiuser/</link>
					<comments>https://virtuallyfun.com/2009/10/31/unix32v-multiuser/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 31 Oct 2009 14:05:00 +0000</pubDate>
				<category><![CDATA[32v]]></category>
		<category><![CDATA[SIMH]]></category>
		<category><![CDATA[sua]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=173</guid>

					<description><![CDATA[Well I was reading through this post: http://www.ljosa.com/~ljosa/v7-dz11 Â  When it made mention that for multiuser operations to work on Unix v7 you have to enable modem control&#8230; I&#8217;ve never gotten the DZ to work on 32v so seeing that &#8230; <a href="https://virtuallyfun.com/2009/10/31/unix32v-multiuser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well I was reading through this post:</p>
<div><span class="Apple-style-span" style=";font-family: arial; font-size: small;"><a href="http://www.ljosa.com/~ljosa/v7-dz11" target="_blank" rel="noopener">http://www.ljosa.com/~ljosa/<wbr />v7-dz11</a></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">Â </span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">When it made mention that for multiuser operations to work on Unix v7 you have to enable modem control&#8230; I&#8217;ve never gotten the DZ to work on 32v so seeing that it&#8217;s basically just Unix v7 on the VAX it probably worked in the same manner.</span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">Â </span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">So I changed the following line from my 32v&#8217;s dboot.ini from:</span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">Â </span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">set dz lines=8</span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">Â </span></span></div>
<div><span class="Apple-style-span" style="font-family: arial;"><span class="Apple-style-span" style="font-size: small;">to </span></span></div>
<div></div>
<div>set dz lines=16</div>
<div>
<div>att dz -m 2311</div>
<div></div>
<div>And now SIMH will listen on TCP port 2311 and allow me to connect into it&#8217;s serial ports!</div>
<div></div>
<div>I keep my install notes here: <a href="http://gunkies.org/wiki/Installing_32v_on_SIMH">http://gunkies.org/wiki/Installing_32v_on_SIMH</a></div>
<div></div>
<div>Another minor note, regarding porting SIMH to the SUA/SFU environment for Windows regarding the nanosleep debacle:</div>
<div></div>
<div>
<div>In sim_timer.c the lines:</div>
<div>(void) nanosleep (&amp;treq, NULL);</div>
<div></div>
<div>will fail as SUA/SFU don&#8217;t have nanosleep, however you can replace it with usleep and it&#8217;ll work&#8230; I use this:</div>
<div>(void) usleep (milliseconds*1000);</div>
<div></div>
<div>And for some reason some time structures don&#8217;t get defined so above the defintion of uint32 sim_os_msec to satisfy &#8216;foo&#8217;, simply place in:</div>
<div>struct timezone {</div>
<div>int tz_minuteswest;</div>
<div>int tz_dsttime;</div>
<div>};</div>
<div></div>
<div>And above the definition of uint32 sim_os_ms_sleep_init (void) I placed in:</div>
<div></div>
<div>struct timespec {</div>
<div>time_t tv_sec; /* seconds */</div>
<div>long tv_nsec; /* nanoseconds */</div>
<div>};</div>
<div></div>
<div>In the file sim_sock.c the line:</div>
<div>timerclear (&amp;tz);</div>
<div></div>
<div>will fail as there is no timerclear&#8230; So I just replaced it with the following:</div>
<div>memset(&amp;tz,0x0,sizeof(tz));</div>
<div></div>
<div>I then downloaded &amp; build gnu make 3.81 and I&#8217;ve confirmed that 32v will load on the VAX11/780 emulator and it will idle &#8216;correctly&#8217;&#8230;&#8230;</div>
<div></div>
<div></div>
<div>I know this is &#8216;clear as mud&#8217; but it&#8217;ll help some people!</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2009/10/31/unix32v-multiuser/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
