<?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>Sun Solaris System Admin &#187; nfs</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Manually Mount local/remote CDROM in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/general/manually-mount-localremote-cdrom-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/general/manually-mount-localremote-cdrom-in-sun-solaris/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 19:23:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CDROM]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[VOLD]]></category>
		<category><![CDATA[Volume Management]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=52</guid>
		<description><![CDATA[The Volume Manager (vold) daemon in Sun Solaris will automatically detect and mount a CDROM when inserted on Sun Solaris under /cdrom (if CD is not labelled )or /cdrom/&#60;label&#62; where &#60;label&#62; is the label of the CD In instances where vold is not running or when there is a need to manually mount the CDROM [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
The Volume Manager (vold) daemon in Sun Solaris will automatically detect and mount a CDROM when inserted on Sun Solaris under /cdrom (if CD is not labelled )or /cdrom/&lt;label&gt; where &lt;label&gt; is the label of the CD</p>
<p>In instances where vold is not running or when there is a need to manually mount the CDROM the following the procedure should help.</p>
<p><span id="more-52"></span></p>
<p><strong><span style="text-decoration: underline;">Logon to the Sun Server and switch user to root</span></strong></p>
<blockquote><p><strong>sunsolaris$ su -<br />
</strong>Password:</p></blockquote>
<p><strong><span style="text-decoration: underline;">Indentify Device Name for CDROM</span></strong></p>
<p>The device name for the CDROM is normally /dev/dsk/c0t6d0s2. However, you can find this as follows:</p>
<blockquote><p><strong>sunsolaris# ls -al /dev/sr* |awk &#8216;{print &#8220;/&#8221; $11}&#8217;</strong></p></blockquote>
<p>This returns the device name for the CDROM. In my case, /dev/dsk/c0t6d0s2</p>
<p><strong><span style="text-decoration: underline;">Mount CDROM</span></strong></p>
<p>Assuming the mount point &#8220;/cdrom&#8221; already exists, mount the CDROM as follows:</p>
<blockquote><p><strong>sunsolaris# mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom</strong></p></blockquote>
<p>where <strong>/dev/dsk/c0t6d0s2</strong> is the device name for the CDROM</p>
<p><strong>/cdrom</strong> is the mount point</p>
<p>Now, cd to CDROM to see the files from the CDROM mounted.</p>
<p><strong><span style="text-decoration: underline;">Mounting NFS shared remote CDROM</span></strong></p>
<p>In order to mount a CDROM froma  remote server sharing the CDROM, it has to be exported with root access.  Mount the CDROM from the remote server as follows:</p>
<blockquote><p><strong>sunsolaris# mount remoteserver:/cdrom/cdrom0 /cdrom</strong></p></blockquote>
<p>where <strong>/cdrom/cdrom0</strong> is the sharename on the remote server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/manually-mount-localremote-cdrom-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS Security &#8211; nfs_portmon to restrict client source port to privileged ports</title>
		<link>http://www.sunsolarisadmin.com/security/nfs-security-nfs_portmon-to-restrict-client-source-port-to-privileged-ports/</link>
		<comments>http://www.sunsolarisadmin.com/security/nfs-security-nfs_portmon-to-restrict-client-source-port-to-privileged-ports/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 22:52:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[network-file-system]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[nfs_portmon]]></category>
		<category><![CDATA[privileged-source-ports]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/security/nfs-security-nfs_portmon-to-restrict-client-source-port-to-privileged-ports/</guid>
		<description><![CDATA[Network File System (NFS) security in Sun Solaris can be enhanced by restricting the source ports for the client connections for NFS to be only privileged ports. The privileged port range is from 512 to 1023. Enabling this security feature for NFS in solaris, checks if the source ports from the clients from privilege ports. [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>Network File System (NFS) security in Sun Solaris can be enhanced by restricting the source ports for the client connections for NFS to be only privileged ports. The privileged port range is from 512 to 1023. Enabling this security feature for NFS in solaris, checks if the source ports from the clients from privilege ports. This prevents malicious users from gaining access to files exported/shared by the NFS server by preventing custom RPC based scripts or applications being used on unprivileged ports.</p>
<p><span id="more-28"></span></p>
<p>In Sun Solaris 10 this is enabled by default. In Solaris 9 and earlier, this can be enabled by simply editing the /etc/system file and adding an entry for nfs_portmon.</p>
<p><strong><u>Edit the /etc/system file</u></strong></p>
<blockquote><p><strong>sunsolaris# vi /etc/system</strong></p></blockquote>
<p>Add the following line</p>
<blockquote><p><strong><em>set nfssrv:nfs_portmon = 1</em></strong></p></blockquote>
<p>If you by any chance run Solaris 2.5 or earlier then</p>
<p><strong><em>set nfs:nfs_portmon = 1</em></strong></p>
<p>This change requires a reboot of the server for it to take effect.</p>
<p><strong><u>Reboot the server</u></strong></p>
<blockquote>
<blockquote><p><strong>sunsolaris# init 6</strong></p></blockquote>
</blockquote>
<p>When the server reboots, the changes take effect.</p>
<p>In Solaris 8 and later, run the following to confirm the change:</p>
<blockquote><p><strong>sunsolaris# adb -k</strong></p>
<p><strong>nfs_portmon /D</strong></p></blockquote>
<p>If this returns <strong>&#8220;1&#8243;</strong> indicates nfs_portmon is enabled else if it returns <strong>&#8220;0&#8243;</strong> indicates nfs_portmon is not enabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/security/nfs-security-nfs_portmon-to-restrict-client-source-port-to-privileged-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
