<?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>SysAdmin Adventures &#187; solaris</title>
	<atom:link href="http://blog.tpa.me.uk/tag/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:57:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>No Support for Shadow NIS Maps before Solaris 10</title>
		<link>http://blog.tpa.me.uk/2009/11/23/no-support-for-shadow-nis-maps-before-solaris-10/</link>
		<comments>http://blog.tpa.me.uk/2009/11/23/no-support-for-shadow-nis-maps-before-solaris-10/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 19:35:47 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[nis]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[shadow]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=268</guid>
		<description><![CDATA[I have just discovered, through great pain and adversity, that Solaris 9 and earlier do not support the use of shadow password files in NIS. While it has a &#8220;shadow&#8221; file in the OS, you cannot use nsswitch.conf to point to another shadow source. Any alternate shadow information source must be accessed via the &#8220;passwd&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I have just discovered, through great pain and adversity, that Solaris 9 and earlier do not support the use of shadow password files in NIS. While it has a &#8220;shadow&#8221; file in the OS, you cannot use nsswitch.conf to point to another shadow source. Any alternate shadow information source must be accessed via the &#8220;passwd&#8221; map.</p>
<p>In practice this means that when you attempt to, for example, telnet to a Solaris 9 box that has &#8220;nis&#8221; specified within nsswitch.conf, it will do a lookup on the passwd.byname map from NIS. If that map is a shadowed passwd file, it will assume the &#8220;x&#8221; password field is actually the hashed password, and therefore authentication will fail.</p>
<p>I came across this after discovering that users could not login to a Solaris 9 client after not doing so for a long time. Since they last logged in successfully the NIS server had been migrated from a Solaris 7 box to a Slackware 12.2 box. The bizarre part being that the Solaris 7 server <em>did</em> store passwords in a shadow file. While I can&#8217;t confirm it now that the Solaris 7 box is no longer with us, I believe that the Solaris 7 NIS server was combining the passwd and shadow files to provide merged output when the passwd map was queried. The Slackware/Linux NIS server certainly doesn&#8217;t do this and instead provides separate passwd and shadow maps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/11/23/no-support-for-shadow-nis-maps-before-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
