<?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>Sys-Admin Information&#039;s &#187; Gun nee</title>
	<atom:link href="http://sysinfo.bascomp.org/author/gani-afgani/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Set hostname without reboot</title>
		<link>http://sysinfo.bascomp.org/2008/04/set-hostname-without-reboot/</link>
		<comments>http://sysinfo.bascomp.org/2008/04/set-hostname-without-reboot/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 07:00:46 +0000</pubDate>
		<dc:creator>Gun nee</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=51</guid>
		<description><![CDATA[
bash&#62; uname -a
SunOS Trojan 5.9 Generic_118558-33 sun4u sparc SUNW,Netra-T12

replace old "hostname" with new "hostname" in file /etc/hosts, /etc/nodename, /etc/hostname."ethernet_port_name", /etc/net/ticlts/hosts, /etc/net/ticotsord/hosts, /etc/net/ticots/hosts

bash&#62; vi /etc/hosts
bash&#62; vi /etc/nodename
bash&#62; vi /etc/hostname.bge0
bash&#62; vi /etc/net/ticlts/hosts
bash&#62; vi /etc/net/ticotsord/hosts
bash&#62; vi /etc/net/ticots/hosts

and then execute command :

hostname &#34;new hostname&#34;


bash&#62; hostname worm
bash&#62; . /.profile

]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-a</span>
SunOS Trojan <span style="color: #000000;">5.9</span> Generic_118558-<span style="color: #000000;">33</span> sun4u sparc SUNW,Netra-T12</pre></div></div>

<p>replace old "hostname" with new "hostname" in file /etc/hosts, /etc/nodename, /etc/hostname."ethernet_port_name", /etc/net/ticlts/hosts, /etc/net/ticotsord/hosts, /etc/net/ticots/hosts</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nodename
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hostname.bge0
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>ticlts<span style="color: #000000; font-weight: bold;">/</span>hosts
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>ticotsord<span style="color: #000000; font-weight: bold;">/</span>hosts
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>ticots<span style="color: #000000; font-weight: bold;">/</span>hosts</pre></div></div>

<p>and then execute command :</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">hostname &quot;new hostname&quot;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">hostname</span> worm
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> . <span style="color: #000000; font-weight: bold;">/</span>.profile</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/04/set-hostname-without-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting NTP Server &amp; Client in Solaris 10 (update)</title>
		<link>http://sysinfo.bascomp.org/2008/02/setting-ntp/</link>
		<comments>http://sysinfo.bascomp.org/2008/02/setting-ntp/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 06:34:25 +0000</pubDate>
		<dc:creator>Gun nee</dc:creator>
				<category><![CDATA[SMF]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[NTP]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/02/27/setting-ntp/</guid>
		<description><![CDATA[Setting NTP ( Network Time Protocol) on Solaris 10
Configuring an NTP Server 
1. Edit file ntp.conf

bash&#62; cp /etc/inet/ntp.server /etc/inet/ntp.conf
bash&#62; vi /etc/inet/ntp.conf

Add server address for ntp server

server 1.id.pool.ntp.org
server 1.asia.pool.ntp.org
server 3.asia.pool.ntp.org
broadcast 224.0.1.1 ttl 4
&#160;
enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
&#160;
keys /etc/inet/ntp.keys
trustedkey [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Setting NTP ( Network Time Protocol) on Solaris 10</strong></p>
<p><strong>Configuring an NTP Server </strong><br />
<strong>1. Edit file ntp.conf</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.server <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.conf
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.conf</pre></div></div>

<p>Add server address for ntp server</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">server 1.id.pool.ntp.org
server 1.asia.pool.ntp.org
server 3.asia.pool.ntp.org
broadcast 224.0.1.1 ttl 4
&nbsp;
enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
&nbsp;
keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0</pre></div></div>

<p>Save your change configuration</p>
<p><strong>2. Refresh daemon NTP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>ntp<span style="color: #000000; font-weight: bold;">/</span>ntp.drift
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm <span style="color: #7a0874; font-weight: bold;">enable</span> svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>ntp</pre></div></div>

<p><strong>Configuring an NTP Client </strong><br />
<strong>1. Edit file ntp.conf</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.client <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>ntp<span style="color: #000000; font-weight: bold;">/</span>ntp.drift</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inet<span style="color: #000000; font-weight: bold;">/</span>ntp.conf
    server 10.10.10.1 prefer <span style="color: #666666; font-style: italic;"># IP NTP Server  Primary</span>
    server 10.10.10.2         <span style="color: #666666; font-style: italic;"># IP NTP Server Secondary</span>
    driftfile <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>ntp<span style="color: #000000; font-weight: bold;">/</span>ntp.drift</pre></div></div>

<p><strong>2. Refresh daemon NTP</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm <span style="color: #7a0874; font-weight: bold;">enable</span> svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>ntp
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm refresh svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>ntp
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm restart svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>ntp</pre></div></div>

<p>You can use "ntpq -p" to monitor ntpd's performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/02/setting-ntp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assign External Disk With Softpartition</title>
		<link>http://sysinfo.bascomp.org/2008/01/assign-external-disk-with-softpartition/</link>
		<comments>http://sysinfo.bascomp.org/2008/01/assign-external-disk-with-softpartition/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 05:34:15 +0000</pubDate>
		<dc:creator>Gun nee</dc:creator>
				<category><![CDATA[SVM]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/01/28/assaign-external-disk-with-softpartition/</guid>
		<description><![CDATA[For the example, i will assign disk 1 Terra byte to existing disk
Note :
The disk will be allocation to :
 /ora/datafile7   500  MB
/ora/datafile8   200  MB
/ora/datafile9   150  MB
/datasqlload    150  MB
first, how to knowing new disk added in system?
# format &#62; old_disk.txt
for the crosscheck [...]]]></description>
			<content:encoded><![CDATA[<p>For the example, i will assign disk 1 Terra byte to existing disk</p>
<p>Note :<br />
The disk will be allocation to :<br />
<strong> /ora/datafile7   500  MB<br />
/ora/datafile8   200  MB<br />
/ora/datafile9   150  MB<br />
/datasqlload    150  MB</strong></p>
<p>first, how to knowing new disk added in system?<br />
<code># format &gt; old_disk.txt</code><br />
for the crosscheck disk existing with new disk, save list disk existing to file</p>
<p>after team storage has allocated disk,now we have task to assign disk in system<br />
look HBA connected with :<br />
<code># luxadm -e port</code><br />
<code># luxadm -e forcelip [name device connected in HBA] *only device connected</code><br />
<code># devfsadm -C</code><br />
<code># format</code></p>
<p>check the added disk, compare with the file <strong>old_disk.txt</strong>.<br />
sometime disk sequence which have been added not successive.</p>
<p><span id="more-38"></span></p>
<p>create d5 for mains and<br />
d25 for /ora/datafile7,<br />
d26 for /ora/data8,<br />
d27 for /ora/data9,<br />
d28 for /datasqlload</p>
<p><code># metainit d5 1 5 c9t60060E80042AB00000002AB00000082Bd0s6 c9t60060E80042AB00000002AB00000082Fd0s6<br />
c9t60060E80042AB00000002AB000000823d0s6<br />
c9t60060E80042AB00000002AB000000827d0s6<br />
c9t60060E80042AB00000002AB000000833d0s6</code></p>
<p><code># metainit d25 -p d5 500g</code><br />
<code># metainit d26 -p d5 200g</code><br />
<code># metainit d27 -p d5 150g</code><br />
<code># metainit d28 -p d5 150g</code></p>
<p><code># newfs /dev/md/rdsk/d25</code><br />
<code># newfs /dev/md/rdsk/d26</code><br />
<code># newfs /dev/md/rdsk/d27</code><br />
<code># newfs /dev/md/rdsk/d28</code></p>
<p><code># vi /etc/vfstab</code><br />
add line for new mount point <strong>/ora/datafile7</strong>, <strong>/ora/datafile8</strong>, <strong>/ora/datafile9</strong>, <strong>/datasqlload</strong></p>
<p>try mount one by one the new mount point, and...done !</p>
<p>Note :<br />
<em>c9t60060E80042AB00000002AB00000082Bd0s6 : new disk use slice 6</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/01/assign-external-disk-with-softpartition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ssh in Solaris</title>
		<link>http://sysinfo.bascomp.org/2008/01/ssh-in-solaris/</link>
		<comments>http://sysinfo.bascomp.org/2008/01/ssh-in-solaris/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 04:42:03 +0000</pubDate>
		<dc:creator>Gun nee</dc:creator>
				<category><![CDATA[SMF]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/01/28/ssh-in-solaris/</guid>
		<description><![CDATA[This post is about service ssh in solaris 9 or 10
Solaris 9
Disable service ssh ?

bash&#62;  /etc/init.d/sshd stop
bash&#62; /etc/rc3.d/S89sshd stop

Enable service ssh ?

bash&#62; /etc/init.d/sshd start
bash&#62; /etc/rc3.d/S89sshd start

Refresh service ssh ?

bash&#62; kill -HUP `cat /var/run/sshd.pid`

Solaris 10
First you can check service ssh with command

bash&#62; svcs &#124; grep ssh
online         Jan_21 [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about service ssh in solaris 9 or 10</p>
<p><strong>Solaris 9</strong><br />
Disable service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>sshd stop
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc3.d<span style="color: #000000; font-weight: bold;">/</span>S89sshd stop</pre></div></div>

<p>Enable service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>sshd start
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc3.d<span style="color: #000000; font-weight: bold;">/</span>S89sshd start</pre></div></div>

<p>Refresh service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-HUP</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>sshd.pid<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p><strong>Solaris 10</strong><br />
First you can check service ssh with command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcs <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span>
online         Jan_21   svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span>:default</pre></div></div>

<p>If status ssh offline, you can make online with command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm <span style="color: #7a0874; font-weight: bold;">enable</span> <span style="color: #660033;">-t</span> network<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span>:default
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>svc<span style="color: #000000; font-weight: bold;">/</span>method<span style="color: #000000; font-weight: bold;">/</span>sshd start</pre></div></div>

<p>Disable service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm disable <span style="color: #660033;">-t</span> network<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span>:default</pre></div></div>

<p>Restart service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm restart network<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span>:default
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>svc<span style="color: #000000; font-weight: bold;">/</span>method<span style="color: #000000; font-weight: bold;">/</span>sshd restart</pre></div></div>

<p>Refresh service ssh ?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> svcadm refresh network<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span>:default</pre></div></div>

<p>For a root enable connect to host via ssh service</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>sshd_config</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[....]
# Valid options are yes, without-password, no.
PermitRootLogin no
[....]</pre></div></div>

<p>Replace <strong>no</strong> with <strong>yes</strong>, after that save the edited configuration.<br />
Don't forget for the restart service ssh, after edit configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/01/ssh-in-solaris/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
