<?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; x86</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/x86/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>How to find System Serial Number in x86 using ipmitool</title>
		<link>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/</link>
		<comments>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:10:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[chasis]]></category>
		<category><![CDATA[fru]]></category>
		<category><![CDATA[ipmitool]]></category>
		<category><![CDATA[serial number]]></category>
		<category><![CDATA[sneep]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=102</guid>
		<description><![CDATA[As we discussed earlier here, you can find the serial number of a Sun Hardware using the utility &#8220;sneep&#8221;. However, in Sun X86 systems, you can use the pre-installed tool &#8220;ipmitool&#8221; to find the system serial number. It is not as straight forward as sneep but still is simpl procedure. Run the command # ipmitool [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->As we discussed earlier <a title="Sneep - Find chasis serial number" href="http://www.sunsolarisadmin.com/hardware/find-chasis-serial-number-using-sneep/" target="_blank">here</a>, you can find the serial number of a Sun Hardware using the utility &#8220;sneep&#8221;. However, in Sun X86 systems, you can use the pre-installed tool &#8220;ipmitool&#8221; to find the system serial number. It is not as straight forward as sneep but still is simpl procedure.</p>
<p><span id="more-102"></span><br />
Run the command</p>
<blockquote><p><strong># ipmitool fru | grep &#8220;Product Serial&#8221;</strong></p></blockquote>
<p>where &#8220;FRU&#8221; is a Field Replaceable Unit. The problem here is it&#8217;s going to output too many serial numbers to confuse. The one we are interested is a 10 digit alpha-numeric number.</p>
<p>However, extending the command as</p>
<blockquote><p><strong># ipmitool fru print |egrep &#8220;Mainboard|/SYS&#8221; | awk &#8216;{print $7}&#8217;<br />
</strong>91)</p></blockquote>
<p>Would give you the ID number of the &#8220;/SYS&#8221; or &#8220;Mainboard&#8221; (91 here) which mostly has the serial number of the system. We then run the &#8220;ipmitool&#8221; as follows with that ID number to find the system serial number.</p>
<blockquote><p><strong># ipmitool fru print 91 |grep &#8220;Product Serial&#8221; | awk &#8216;{print $4}&#8217;</strong></p></blockquote>
<p>where &#8220;91&#8243; was the ID number.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/how-to-find-system-serial-number-in-x86-using-ipmitool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Sybase Perl module in Solaris 10</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 22:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dbd::sybase]]></category>
		<category><![CDATA[dbi]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[perl5]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sybase]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=96</guid>
		<description><![CDATA[Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary. Installing Sybase Perl Module requires the following preinstalled [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.</p>
<p><span id="more-96"></span></p>
<p>Installing Sybase Perl Module requires the following preinstalled</p>
<p>1. Sybase Server/Client already installed on your server<br />
2. GNU Make</p>
<p><span style="text-decoration: underline;"><strong>Install GNU Make</strong></span></p>
<p>Assuming you have already installed Sybase Server/Client on your system, lets download and install GNU Make.</p>
<p>GNU Make package can be downloaded from sunfreeware.com website. At the time of writing, the version available for download is Make 3.81</p>
<p><a title="Download GNU Make in Solaris 10 SPARC" href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/make-3.81-sol10-sparc-local.gz" target="_blank">Download GNU Make for Solaris 10 (SPARC)</a></p>
<p><a title="Download GNU Make in Solaris 10 x86" href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/make-3.81-sol10-x86-local.gz" target="_blank">Download Make for Solaris 10 (x86)</a></p>
<p><em><span style="text-decoration: underline;"><strong>Unzip and Install GNU Make</strong></span></em></p>
<p>From the directory where the file is downloaded</p>
<blockquote><p><strong># gunzip make-3.81-sol10-x86-local.gz<br />
# pkgadd -d make-3.81-sol10-x86-local</strong></p></blockquote>
<p>This should install &#8220;make&#8221; under <strong>/usr/local/bin</strong></p>
<blockquote><p><strong># which make<br />
/usr/local/bin/make</strong></p></blockquote>
<p>Download Perl Modules from <a title="CPAN" href="www.cpan.org" target="_blank">www.cpan.org</a>. The modules we are interested in are</p>
<p>1. <a title="Perl DBI module" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">DBI (Database Independent Interface for Perl)</a></p>
<p>2. <a title="Perl DBD::Sybase module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">DBD::Sybase (Sybase database Driver for the DBI module)</a></p>
<p><em>NOTE: I find in Solaris 10 Update 6, DBI module is already installed which means we only need to install DBD::Sybase module.</em></p>
<p>To verify either of the modules is already installed on the system,</p>
<p>For DBI, file <em><strong>DBI.pm</strong></em> should exist under</p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/DBI.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBI.pm</p></blockquote>
<p>For <em><strong>DBD::Sybase</strong></em></p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/DBD/Sybase.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBD/Sybase.pm</p></blockquote>
<p>Now, assuming both these modules are not installed</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBI Module</strong></span></p>
<p>Download the DBI Module from <a title="Perl DBI module download" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">here</a></p>
<p>From the download directory,</p>
<blockquote><p><strong># gunzip DBI-1.609.tar.gz<br />
# tar -xvf DBI-1.609.tar<br />
# cd DBI-1.609</strong></p></blockquote>
<p>The above steps should (g)unzip, untar the downloaded source files.</p>
<p>Export <strong>$SYBASE</strong> &amp; <strong>$LD_LIBRARY_PATH</strong> environment variables. We have the Sybase client installed under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0</strong></p>
<p>which means the libraries exist under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib</strong></p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH<br />
</strong></p></blockquote>
<p>If this step is skipped, the following error comes up in the next step:</p>
<p><span style="color: #ff0000;"><strong>Can&#8217;t find the lib directory under /export/home/sybase! at Makefile.PL line 118, &lt;IN&gt; line 44.</strong></span></p>
<p>Now comes the tricky bit, use /usr/perl5/bin/perlgcc instead of default perl as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make<br />
# /usr/local/bin/make test<br />
# /usr/local/bin/make install<br />
</strong></p></blockquote>
<p>To make sure the install compelted successfully. Check if the DBI.pm file exists as shown earlier.</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBD::Sybase module</strong></span></p>
<p>Download DBD::Sybase perl module from <a title="Download DBD::Sybase Perl module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">here</a>.</p>
<p>From the downloaded directory:</p>
<blockquote><p><strong># gunzip DBD-Sybase-1.09.tar.gz<br />
# tar -xvf DBD-Sybase-1.09.tar<br />
# cd DBD-Sybase-1.09</strong></p></blockquote>
<p>The above should (g)unzip, untar the downloaded file and change into the source directory.</p>
<p>Export the <strong>$SYBASE &amp; $LD_LIBRARY_PATH</strong> environment variables if you have already not done so.</p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH</strong></p></blockquote>
<p>Run perlgcc against the Makefile.PL as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Select the default CHAIN mode or modify as required, then enter the Sybase Server, a Sybase Username and password and a Database as and when promted. This will allow the installation test connection. Make sure this DB connection is updated in the Sybase &#8220;interfaces&#8221; file.</p>
<p><em>NOTE: Once the installation is completed. Either the PWD file created by this procedure or the entire Source directory should be deleted as the PWD file will contain these DB access details. Also, it is advisable to provide a test DB access detail rather than a live environment.<br />
</em><br />
Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make</strong></p></blockquote>
<p>Now, re-export <strong>$SYBASE</strong> as follows:</p>
<p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084</strong></p>
<p><em>[NOTE: This may vary in your environment]</em></p>
<blockquote><p><strong># /usr/local/bin/make test<br />
# /usr/local/bin/make install</strong></p></blockquote>
<p>This should install the Sybase Perl module. To confirm the installation was successful, look for Sybase.pm as explained earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psrinfo &#8211; Find number of Physical &amp; Virtual Processors in Solaris 10</title>
		<link>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/</link>
		<comments>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 01:54:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[psrinfo]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sun4v]]></category>
		<category><![CDATA[sunos]]></category>
		<category><![CDATA[SUNW]]></category>
		<category><![CDATA[t5120]]></category>
		<category><![CDATA[t5140]]></category>
		<category><![CDATA[ultrasparc]]></category>
		<category><![CDATA[virtual-processor]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=61</guid>
		<description><![CDATA[In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you. To simply display the number of Physical processors, simply run the command with the -p option [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you.</p>
<p><span id="more-61"></span></p>
<p>To simply display the number of Physical processors, simply run the command with the -p option as follows:</p>
<blockquote><p><strong>root@sunserver # psrinfo -p<br />
</strong>2</p></blockquote>
<p>where 2 implies that there are 2 physical processors installed on the system.</p>
<p>If you would like to check the number of Virtual Processors on each of these Physical processors then type the command with the &#8220;-pv&#8221; arguement as follows:</p>
<blockquote><p><strong>root@ server:/root$ uname -a</strong></p>
<p>SunOS server 5.10 Generic_137111-02 sun4v sparc SUNW,SPARC-Enterprise-T5120</p>
<p><strong>root@server:/root$ psrinfo -pv</strong></p>
<p>The physical processor has 32 virtual processors (0-31)</p>
<p>  UltraSPARC-T2 (cpuid 0 clock 1165 MHz)</p></blockquote>
<p>The above indicates that there was only one physical processor (UltraSPARC-T2) on the T5120 server which has 32 Virtual processors. Each virtual processor is an entity with its own interrupt ID, capable of executing independent threads.</p>
<p>In simple terms, the number of Virtual Processors supported by a physical CPU is</p>
<blockquote><p><strong><em>&#8220;Number of Core&#8221; x &#8220;Number of threads&#8221;</em></strong></p></blockquote>
<p>For instance, the above is on a T5120 server with the UltraSPARC-T2. This CPU  has 4 cores and each core can support 8 threads and that gives us 32 Virtual processors.</p>
<p>The number of Virtual processors on a Server is simply the total Virtual processors supported on each of the physical processor.</p>
<p>In the following T5140 server there are 2 Physical UltraSPARC-T2+ processors with 6 cores, each supporting 8 threads which means we get 48 Virtual processors per Physical processor and hence a total of 96 Virtual processors (sum of VPs on individual processors) for the server:</p>
<blockquote><p><strong>root@ bserver:/root$ uname -a</strong></p>
<p>SunOS bserver 5.10 Generic_137111-02 sun4v sparc SUNW,T5140</p>
<p><strong>root@ bserver:/root$ psrinfo -pv</strong></p>
<p>The physical processor has 48 virtual processors (0-23 32-55)</p>
<p>  UltraSPARC-T2+ (cpuid 0 clock 1167 MHz)</p>
<p>The physical processor has 48 virtual processors (64-71 80-119)</p>
<p>  UltraSPARC-T2+ (cpuid 64 clock 1167 MHz)</p></blockquote>
<p>In earlier versions of Solaris, the <strong><em>-p</em></strong> arguement is not supported and hence wouldn&#8217;t provide this summarised output on the counts of the physical and Virtual CPUs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/psrinfo-find-number-of-physical-virtual-processors-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<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>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>
