<?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; Sun X86 platform</title>
	<atom:link href="http://www.sunsolarisadmin.com/category/sun-x86-platform/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>Install &amp; Run Sun VTS in Solaris 10 for hardware &amp; Stress test</title>
		<link>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/</link>
		<comments>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 21:41:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sunvts]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/</guid>
		<description><![CDATA[In my previous write up here, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10. Download [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>In my previous write up <a target="_blank" href="http://www.sunsolarisadmin.com/general/sun-vts-sun-validation-test-suite-for-hardware-stress-test/" title="Sun VTS - Validation &amp; Test Suite">here</a>, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10.</p>
<p><span id="more-31"></span></p>
<p>Download the most recent stable version of SUNWvts (SUNWvts6.4ps2 at the time of writing this article) for SPARC/x86 platforms from <a target="_blank" href="http://www.sun.com/oem/products/vts/" title="Sun VTS download and install in Sun Solaris 10">here</a></p>
<pre>NOTE: Requires Sunsolve login to download.</pre>
<p>Sun VTS requires the following packages installed to run properly.</p>
<blockquote><p><strong><u>Core SunVTS Framework</u></strong></p>
<p>SUNWvts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>Sun VTS Tests</u></strong></p>
<p>SUNWvtsts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>SunVTS Framework Configuration Files in Root partition </u></strong><em>(Optional/Recommended)</em></p>
<p>SUNWvtsr_VTS6.4ps2_sparc.tar.Z</p>
<p>SUNWvtsr_VTS6.4ps2_x86.tar.Z<br />
 <br />
<strong><u>Sun VTS Man Pages (Optional)</u></strong><br />
SUNWvtsmn_VTS6.4ps1_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsmn_VTS6.4ps1_x86.tar.Z (x86)</p></blockquote>
<p>Prior to installation, it is important that any previous version of the above mentioned Sun VTS packages are removed.</p>
<p>To check if previous versions are installed</p>
<blockquote><p><strong>solaris10# pkginfo -l | grep -i vts</strong></p></blockquote>
<p>If found uninstall them before proceeding with the procedure</p>
<blockquote><p><strong>solaris10# pkgrm SUNWvts SUNWvtsr SUNWvtsts SUNWvtsmn</strong></p></blockquote>
<p>Download and install the latest revision of Microtasking libraries (libmtsk) patch for Solaris 10 from the following Sun Solve website:</p>
<blockquote><p><a href="http://sunsolve.sun.com/show.do?target=patchpage"><strong>http://sunsolve.sun.com/show.do?target=patchpage</strong></a></p></blockquote>
<blockquote><p>Solaris 10 SPARC &#8211; 120753 (120753-05)</p>
<p>Solaris 10 x86 &#8211; 120754 (120754-05)</p></blockquote>
<p>Download unzip and install the patch:</p>
<p><strong><u>SPARC</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120753-05.zip</strong></p>
<p><strong>solaris10# patchadd 120753-05</strong></p></blockquote>
<p><strong><u>x86</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120754-05.zip</strong></p>
<p><strong>solaris10# patchadd 120754-05</strong></p></blockquote>
<p>Now, lets get installing the Sun VTS packages.</p>
<p><strong><u>Install SunVTS Core Framework (SPARC &amp; x86)</u></strong></p>
<blockquote><p><strong>solaris10#pkgadd -d . SUNWvts</strong></p></blockquote>
<p>That installs the required Sun VTS Core Framework package.</p>
<p><strong><u>Install the rest of the SunVTS packages</u></strong><br />
(SunVTS Tests,config files in root &amp; Man pages)</p>
<blockquote><p><strong>solaris10# pkgadd -d . SUNWvtsts SUNWvtsr SUNWvtsmn</strong></p></blockquote>
<p>That completes the Sun VTS package installation.</p>
<p><strong><u>Enable the rstatd daemon</u></strong></p>
<p>rstatd daemon is disabled by default in Solaris 10.</p>
<blockquote><p><strong>solaris10# svcadm enable rstatd</strong></p></blockquote>
<p><strong><u>Export Display to your PC (GUI only)</u></strong></p>
<blockquote><p><strong>solaris10# export DISPLAY 192.168.0.2:0</strong></p></blockquote>
<p><strong><u>Start Sun VTS</u></strong></p>
<blockquote><p><strong>solaris10# /opt/SUNWvts/bin/sunvts &amp;</strong></p></blockquote>
<p>This should start the Sun VTS software and export GUI to your PC (if display not exported then runs tty user interface on the terminal). Sun VTS will discover devices and list available tests for your server with dezcriptive information on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recover/reset root password in Sun solaris (x86)</title>
		<link>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/</link>
		<comments>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 17:56:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/</guid>
		<description><![CDATA[I discussed here about resetting the password on Sun Solaris Operating system in SPARC platform. While the procedure is almost the same wherein you boot with the CD into single user mode and mount the root partition, here we discuss the procedure to reset the password for the root user on the x86 platform. It is recommeded that [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>I discussed <a target="_blank" href="http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/" title="Sun Solaris x86 reset/recover root password">here</a> about resetting the password on Sun Solaris Operating system in SPARC platform. While the procedure is almost the same wherein you boot with the CD into single user mode and mount the root partition, here we discuss the procedure to reset the password for the root user on the x86 platform.</p>
<p>It is recommeded that the security for the physical access to the server is restricted so as to ensure that there is no unauthorized access and anyone who follows this routine is an authorized personnel.</p>
<p><span id="more-24"></span></p>
<p>Boot the server with a Sun Solaris Operating System CD (I&#8217;m using a Solaris 10 CD but doesn&#8217;t matter really) or a network boot with a JumpStart server. Change the Boot order accordingly in your x86 system and start the server and launch a single user mode (No Password).</p>
<p>In Solaris 10, you have the default Fail Safe boot option in the Boot Loader. With this you do not need a CD or JumpStart server as selecting it will launch the Single-User shell. I haven&#8217;t used the early Solaris versions on an x86 system so if anyone knows it is availabe then please post your comments.</p>
<p>When you boot from the CD, select the option for the Sigle-user mode (Option 6 on Solaris 10 CD)</p>
<p>This will look for the currently installed Solaris OS on your system and prompts a Yes/No question to mount the Root filesystem as a Read/Write file system onto /a.</p>
<p>Select yes to mount the root file system (/dev/dsk/c0t0d0s0 here) on /a. If you select No, no harm as you still can mount it manually using:</p>
<blockquote><p><strong>solaris# mount /dev/dsk/c0t0d0s0 /a</strong></p></blockquote>
<p>NOTE: /a is a temporary mount point that is available when you boot from CD or a JumpStart server</p>
<p>Now, with the root file system mounted on /a. All you need to do is to edit the shadow file and remove the encrypted password for root.</p>
<blockquote><p><strong>solaris# vi /a/etc/shadow</strong></p></blockquote>
<p>Now, exit the mounted filesysten, unmount the root filesystem and reboot the system to single-user mode booting of the disk.</p>
<blockquote><p><strong>solaris# cd /</strong></p>
<p><strong>solaris# umount /a</strong></p>
<p><strong>solaris# init s</strong></p></blockquote>
<p>This should boot of the disk and take you to the single-user mode. Press enter at the prompt to enter a password for root.</p>
<p>This should allow you to login to the system. Once in, set the password and change to multi-user mode.</p>
<p>NOTE: Single-User mode is only to ensure that the root user without password is not exposed to others if started in multi-user mode before being set with a new password.</p>
<blockquote><p><strong>solaris# passwd root</strong></p>
<p><strong>solaris# reboot</strong></p></blockquote>
<p>This should do. You should now be able to logon as root with the new password.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Sun Device Detection Tool 1.2 for x86 systems</title>
		<link>http://www.sunsolarisadmin.com/general/sun-device-detection-tool-12-for-x86-systems/</link>
		<comments>http://www.sunsolarisadmin.com/general/sun-device-detection-tool-12-for-x86-systems/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 17:07:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[device-detection]]></category>
		<category><![CDATA[hcl]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[pci]]></category>
		<category><![CDATA[runtime]]></category>
		<category><![CDATA[rwf]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris-express]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/sun-device-detection-tool-12-for-x86-systems/</guid>
		<description><![CDATA[The Sun Device Detection Tool can help you to determine if the Devices on the system is detected by the Sun Solaris Operating System. If your device or system is already on the Hardware Compatibility List (HCL) then this may not be necessary. Click here for the HCL in Sun Solaris. However, there is no [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>The Sun Device Detection Tool can help you to determine if the Devices on the system is detected by the Sun Solaris Operating System.<br />
If your device or system is already on the Hardware Compatibility List (HCL) then this may not be necessary. Click here for the <a href="http://sunsolarisadmin.blogspot.com/2007/09/harware-compatibility-list-hcl-for.html"><font color="#5588aa">HCL in Sun Solaris</font></a>.</p>
<p>However, there is no harm in running the tool. The tool also allows you to submit the device to HCL under the Reported to Work Function (RWF).</p>
<p><span id="more-21"></span><br />
The tool can test the X86 system for either Sun Solaris OS or for the Sun Solaris Express Edition.<br />
The Sun Device Detection Tool 1.2 can be downloaded from <a href="https://sdlc1e.sun.com/ECom/EComActionServlet;jsessionid=E8ACDC4680518E10A7AD8E1C7211C3EE"><font color="#5588aa">here</font></a> and can run on X86 systems running Windows XP, Linux (with PCI tools installed) with Sun Java Runtime Environment (JRE) installed.<br />
Acccept the License Agreement and download the tool.</p>
<p>1. Once downloaded, click Run to start the tool.</p>
<p>2. Select the Operating System (Solaris OS or Solaris Express Edition) and click Start.</p>
<p>This starts the tool and checks all the detected tool in the system.<br />
<a href="http://bp2.blogger.com/_y_QH9eP3Z8g/RvOtopwPWEI/AAAAAAAADC8/o-GhBlrRoAE/s1600-h/2.PNG"></a><a href="http://bp2.blogger.com/_y_QH9eP3Z8g/RvOtopwPWEI/AAAAAAAADC8/o-GhBlrRoAE/s1600-h/2.PNG"></a>3. Once complete, the tool will provide a list of device detected and the status of the drivers available.<br />
A<span style="color: #33cc00"> Green</span> indicates the device is compatible with the Sun Solaris OS<br />
A <span style="color: #ff0000">Red </span>indicates that the device is not compatible with Sun Solaris or in other words there is no driver for the device<br />
A <span style="color: #ffff00">Yellow </span>indicates tha the device has limited support and may or may work properly with Sun Solaris Operating System.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/sun-device-detection-tool-12-for-x86-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris 10 Operating System for x86 installation check tool</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/solaris-10-operating-system-for-x86-installation-check-tool/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/solaris-10-operating-system-for-x86-installation-check-tool/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 16:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris-express]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/sun-x86-platform/solaris-10-operating-system-for-x86-installation-check-tool/</guid>
		<description><![CDATA[Solaris Operating System for x86 Installation Check Tool checks the system on which you try to install the operating system and report if the system can run the Sun solaris OS properly. The download is a simple ISO file which then needs to burnt onto a CD to create a boot CD. Once created, start [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>Solaris Operating System for x86 Installation Check Tool checks the system on which you try to install the operating system and report if the system can run the Sun solaris OS properly.<br />
The download is a simple ISO file which then needs to burnt onto a CD to create a boot CD. Once created, start the X86 system with the CD. The ISO can be downloaded from <a href="http://www.sun.com/download/products.xml?id=46e4f45a">here</a>.</p>
<p>For Sun Solaris Express Edition, click <a href="http://www.sun.com/download/products.xml?id=4667b256">here</a></p>
<p><span id="more-19"></span><br />
The tool checks and reports whether your x86 system can install the Solaris 10 8/07 OS. The Installation Check Tool loads the Solaris 10 8/07 kernel and looks for a hard disk on your system. Reports whether Solaris drivers are available for the devices the tool detects on your x86 system. This information helps you to determine whether the Solaris 10 8/07 OS is likely to run on your system.<br />
Installation Check Tool also produces a table that shows whether a Solaris driver is available for each device the tool detects. The table tells you whether the driver is built in to the Solaris OS or whether a third-party driver is available.</p>
<p>Installation Check Tool first loads the Solaris 10 8/07 kernel. Then the tool generates a report that shows the major PCI components in the system and whether Solaris drivers exist for these devices.</p>
<p>This report package is written to a tar file that is compressed with gzip. You have the option to copy this report file to a floppy disk or to USB storage. The report package includes the following files:</p>
<p>A text file that shows the same information as the screen output.<br />
An HTML report file that shows the full content of the report. No abbreviations are used.<br />
The output of <strong>prtconf -pv, prtdiag, and prtconf -v</strong>.<br />
The following is an example of the text information that is displayed on your monitor:</p>
<p><img src="http://www.sunsolarisadmin.com/wp-content/uploads/2008/01/suntool.png" alt="Sun Solaris x86 check tool" /></p>
<p>If the system includes two devices that require a third-party driver, the driver for the second such device is labeled “T-2” in the driver column of the table and in the Third Party Driver Legend.<br />
If a report such as the example shown above is displayed on your screen, and if you do not receive any warning message that no disk is found, then the Solaris 10 8/07 OS can be installed on this system.<br />
The next step is to check whether drivers exist for other on-board devices, such as network devices, video devices, and audio devices.<br />
<em><span style="color: #ff0000">NOTE: Sun does not warrant the behavior of any third-party driver.<br />
</span></em></p>
<p>Installation Check Tool gives you the option to copy this driver report to a floppy disk or to USB storage.</p>
<p>Solaris Operating System for x86 Installation Check Tool displays a message if your system is suitable for installing the Solaris 10 8/07 OS.</p>
<p>Installation Check Tool is updated periodically to include knowledge of new drivers in the driver database that the tool uses. Drivers that are integrated into the Solaris OS and third-party drivers that are known to work with the Solaris OS are included in these updates. Check this web page periodically to make sure you are using the most current release of Installation Check Tool. The tool also displays a message to remind you to check for a new release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/solaris-10-operating-system-for-x86-installation-check-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 9 (x86)</title>
		<link>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 13:01:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Solaris 8]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-18"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 9:</p>
<blockquote><p>OpenSSL (Latest stable: openssl-0.9.8f)</p>
<p>ZLib (Latest stable: zlib-1.2.3)</p>
<p>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</p>
<p>TCPWrapper (Optional tcp_wrappers-7.6)</p>
<p>and OpenSSH itself (Latest Stable: openssh-4.7p1)</p></blockquote>
<p>To start of, download the packages from the following sunfreeware.com links Solaris 9 x86:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/libgcc-3.4.6-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/libgcc-3.4.6-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/zlib-1.2.3-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/zlib-1.2.3-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><strong><u><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssl-0.9.8f-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssl-0.9.8f-sol9-x86-local.gz</a></u></strong></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssh-4.7p1-sol9-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/9/openssh-4.7p1-sol9-x86-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris9# gunzip libgcc-3.4.6-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d libgcc-3.4.6-sol9-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris9# gunzip  zlib-1.2.3-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d zlib-1.2.3-sol9-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris9# gunzip openssl-0.9.8f-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d openssl-0.9.8f-sol9-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris9# gunzip openssh-4.7p1-sol9-x86-local.gz</p>
<p>solaris9# pkgadd -d openssh-4.7p1-sol9-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris9# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris9# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris9# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris9# groupadd ssh</p>
<p>solaris9# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<blockquote><p>Generate Keys for the server</p></blockquote>
<blockquote><p>solaris9# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris9# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>sshd at Solaris startup</u></strong></p>
<p>Add a startup script <strong><em>/etc/init.d/sshd</em></strong> as follows to enable the OpenSSH server daemon &#8220;sshd&#8221; at the startup</p>
<blockquote><p>case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
        if [ -x /usr/local/sbin/sshd ]; then<br />
                echo &#8220;Starting the secure shell daemon&#8221;<br />
                /usr/local/sbin/sshd &amp;<br />
        fi<br />
        ;;</p>
<p>&#8216;stop&#8217;)<br />
        echo &#8220;Stopping the secure shell daemon &#8221;<br />
        pkill -TERM sshd<br />
        ;;<br />
*)<br />
        echo &#8220;Usage: /etc/init.d/sshd { start | stop }&#8221;<br />
        ;;<br />
esac<br />
exit 0</p></blockquote>
<p><strong><u>Change the ownership &amp; permissions on the startup script</u></strong></p>
<blockquote><p>solaris9# chown root:sys /etc/init.d/sshd<br />
solaris9# chmod 555 /etc/init.d/sshd</p></blockquote>
<p><strong><u>Create a Symlink to the startup script at /etc/rc2/d/S98sshd</u></strong></p>
<blockquote><p># ln -s /etc/init.d/sshd /etc/rc2.d/S98sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-8/how-to-install-openssh-in-sun-solaris-9-x86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 10 (X86)</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p>Solaris 10 is by default installed with SSH server and the clients. However, if you have chosen to ignore SSH at the time of installation or have started the install with a minimal install then you may need to install OpenSSH manually.</p>
<p><span id="more-16"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 10:</p>
<pre>OpenSSL (Latest stable: openssl-0.9.8f)</pre>
<pre>ZLib (Latest stable: zlib-1.2.3)</pre>
<pre>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</pre>
<pre>TCPWrapper (Optional tcp_wrappers-7.6)</pre>
<pre>and OpenSSH itself (Latest Stable: openssh-4.7p1)</pre>
<p>To start of, download the packages from the following sunfreeware.com links for Sun Solaris 10 X86 platform:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris10# gunzip libgcc-3.4.6-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d libgcc-3.4.6-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris10# gunzip  zlib-1.2.3-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d zlib-1.2.3-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris10# gunzip openssl-0.9.8f-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssl-0.9.8f-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris10# gunzip openssh-4.7p1-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssh-4.7p1-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris10# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris10# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris10# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris10# groupadd ssh</p>
<p>solaris10# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<p><strong><u>Generate Keys for the server</u></strong></p>
<blockquote><p>solaris10# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>Enable OpenSSH server daemon sshd to run at the system startup</u></strong></p>
<p>Edit /lib/svc/method/sshd file and change the path for the SSH DIR, KEYGEN &amp; the start daemon as follows:</p>
<blockquote><p>SSHDIR=/usr/local/etc/ssh<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;</p>
<p>&#8216;start&#8217;)<br />
         /usr/local/sbin/sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
