<?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>linuxbuddies.com &#187; linux</title>
	<atom:link href="http://linuxbuddies.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxbuddies.com</link>
	<description>For linux documentations.</description>
	<lastBuildDate>Fri, 11 Sep 2009 10:11:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Processor type in Linux</title>
		<link>http://linuxbuddies.com/2009/01/20/processor-type-in-linux/</link>
		<comments>http://linuxbuddies.com/2009/01/20/processor-type-in-linux/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 18:59:47 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[server tweak]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[cpuinfo]]></category>
		<category><![CDATA[get information]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[Processor type]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=304</guid>
		<description><![CDATA[







To find the processor type and details
Get the Processor details:


cat /proc/cpuinfo

Find whether the processor is 32 or 64 bit:

 getconf LONG_BIT

Find the architecture:

uname -i



]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-303" title="proccesser" src="http://linuxbuddies.com/wp-content/uploads/2009/01/proccesser-150x150.jpg" alt="proccesser" width="150" height="150" /></p>
<table border="0" cellspacing="0" width="100%">
<tbody>
<tr valign="middle">
<td class="gensmall" align="right"></td>
</tr>
</tbody>
</table>
<div class="postbody"><span><strong>To find the processor type and details</strong></span></p>
<p>Get the Processor details:</p></div>
<div class="postbody"></div>
<div class="postbody"></div>
<div class="postbody" style="padding-left: 30px;">cat /proc/cpuinfo</div>
<div class="postbody" style="padding-left: 30px;"></div>
<div class="postbody">Find whether the processor is 32 or 64 bit:</div>
<div class="postbody"></div>
<div class="postbody" style="padding-left: 30px;"> getconf LONG_BIT</div>
<div class="postbody" style="padding-left: 30px;"></div>
<div class="postbody">Find the architecture:</div>
<div class="postbody"></div>
<div class="postbody" style="padding-left: 30px;">uname -i</div>
<div class="postbody" style="padding-left: 30px;"></div>
<div class="postbody" style="padding-left: 30px;"></div>
<div class="postbody" style="padding-left: 30px;"></div>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2009/01/20/processor-type-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enable/ disable ping requests in linux</title>
		<link>http://linuxbuddies.com/2009/01/20/enable-disable-ping-requests-in-linux/</link>
		<comments>http://linuxbuddies.com/2009/01/20/enable-disable-ping-requests-in-linux/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 18:54:11 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[server tweak]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ping]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=299</guid>
		<description><![CDATA[ Ping Requests use ICMP protocols. This is enabled/disabled using sysctl values.
To Disable Ping:
 
echo 1 &#62; /proc/sys/net/ipv4/icmp_echo_ignore_all
 
To Enable Ping:
 
echo 0 &#62; /proc/sys/net/ipv4/icmp_echo_ignore_all
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-298" title="ping" src="http://linuxbuddies.com/wp-content/uploads/2009/01/ping-150x150.gif" alt="ping" width="150" height="150" /> Ping Requests use ICMP protocols. This is enabled/disabled using sysctl values.<br />
To Disable Ping:</p>
<p> </p>
<p style="padding-left: 30px;">echo 1 &gt; /proc/sys/net/ipv4/icmp_echo_ignore_all</p>
<p style="padding-left: 30px;"> </p>
<p>To Enable Ping:</p>
<p> </p>
<p style="padding-left: 30px;">echo 0 &gt; /proc/sys/net/ipv4/icmp_echo_ignore_all</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2009/01/20/enable-disable-ping-requests-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Open VPN installation</title>
		<link>http://linuxbuddies.com/2008/12/23/open-vpn-installation/</link>
		<comments>http://linuxbuddies.com/2008/12/23/open-vpn-installation/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 12:13:08 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Vpn]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open vpn]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=189</guid>
		<description><![CDATA[
Install openvpn using the rpm
Installing OpenVPN from a binary RPM package has these dependencies:




openssl 
lzo 
pamInstall rpms as root:# rpm -ivh      openvpn-2.0.5-1.el4.rf.i386.rpm

 
installing rpm 
 

    rpm -ivh lzo-1.08-4.2.el4.rf.i386.rpm



 The main configuration directory for open vpn is /etc/openvpn
Setting up your Certificate Authority (CA) and generating certificates and keys for ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-188" title="vpn-1_sc_connect" src="http://linuxbuddies.com/wp-content/uploads/2008/12/vpn-1_sc_connect-150x150.gif" alt="vpn-1_sc_connect" width="150" height="150" /></p>
<p class="MsoNormal"><strong><span>Install openvpn using the rpm</span></strong><span><br />
Installing OpenVPN from a binary RPM package has these dependencies:</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<ul type="disc">
<li class="MsoNormal"><span>openssl </span></li>
<li class="MsoNormal"><span>lzo </span></li>
<li class="MsoNormal"><span>pamInstall rpms as root:# rpm -ivh      openvpn-2.0.5-1.el4.rf.i386.rpm</span></li>
</ul>
<p> </p>
<p>installing rpm </p>
<p> </p></blockquote>
<blockquote>
<p class="MsoNormal"><span>    rpm -ivh lzo-1.08-4.2.el4.rf.i386.rpm</span></p>
</blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span> The main configuration directory for open vpn is <strong><em>/etc/openvpn</em></strong></span></p>
<p class="MsoNormal"><a name="119c877c69af3f75_11172c379e2cab09_OpenVP"></a><strong><span>Setting up your Certificate Authority (CA) and generating certificates and keys for an OpenVPN server and multiple clients </span></strong></p>
<p class="MsoNormal"><span>The first step in building an OpenVPN 2.0 configuration is to establish a PKI (public key infrastructure). The PKI consists of:</span></p>
<ul type="disc">
<li class="MsoNormal"><span>A separate certificate (also known as a public      key) and private key for the server and each client, and </span></li>
<li class="MsoNormal"><span>A master Certificate Authority (CA) certificate      and key which is used to sign each of the server and client certificates </span></li>
</ul>
<p class="MsoNormal"><span> Copy the /usr/share/doc/openvpn-2.0.7/easy-rsa/2.0/ directory to /etc/openvpn/easy-rsa</span></p>
<p class="MsoNormal"><span><br />
</span></p>
<blockquote>
<p class="MsoNormal"><span><span>    </span> cp -r /usr/share/doc/openvpn-2.0.7/easy-rsa/2.0/ /etc/openvpn/easy-rsa</span></p>
</blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><strong><span>Configure easy-rsa</span></strong></p>
<p class="MsoNormal"><span>Now edit the <strong>vars</strong> file  and set the KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, and KEY_EMAIL parameters. Don&#8217;t leave any of these parameters blank.</span></p>
<p class="MsoNormal"><span>Next, initialize the PKI. on Linux:</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>./vars</span></p>
<p class="MsoNormal"><span>./clean-all</span></p>
<p class="MsoNormal"><span>./build-ca</span></p>
</blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>The final command (build-ca) will build the certificate authority (CA) certificate and key by invoking the interactive openssl command:</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>Generating a 1024 bit RSA private key</span></p>
<p class="MsoNormal"><span>&#8230;&#8230;&#8230;&#8230;++++++</span></p>
<p class="MsoNormal"><span>&#8230;&#8230;&#8230;..++++++</span></p>
<p class="MsoNormal"><span>writing new private key to &#8216;ca.key&#8217;</span></p>
<p class="MsoNormal"><span>&#8212;&#8211;</span></p>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>You are about to be asked to enter information that will be incorporated</span></p>
<p class="MsoNormal"><span>into your certificate request.</span></p>
<p class="MsoNormal"><span>What you are about to enter is what is called a Distinguished Name or a DN.</span></p>
<p class="MsoNormal"><span>There are quite a few fields but you can leave some blank</span></p>
<p class="MsoNormal"><span>For some fields there will be a default value,</span></p>
<p class="MsoNormal"><span>If you enter &#8216;.&#8217;, the field will be left blank.</span></p>
<p class="MsoNormal"><span>&#8212;&#8211;</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>Country Name (2 letter code) [KG]:IN</span></p>
<p class="MsoNormal"><span>State or Province Name (full name) [NA]:KERALA</span></p>
<p class="MsoNormal"><span>Locality Name (eg, city) [BISHKEK]:KOCHI</span></p>
<p class="MsoNormal"><span>Organization Name (eg, company) [OpenVPN-TEST]:company name</p>
<p></span></p>
<p class="MsoNormal"><span>Organizational Unit Name (eg, section) []:company name</p>
<p></span></p>
<p class="MsoNormal"><span>Common Name (eg, your name or your server&#8217;s hostname) []:company name</span></p>
<p class="MsoNormal"><span>Email Address [</span>Riyesh@linuxbuddies.com]</p>
</blockquote>
<p class="MsoNormal"><span>Note that in the above sequence, most queried parameters were defaulted to the values set in the vars or vars.bat files. The only parameter which must be explicitly entered is the Common Name. In the example above.</span></p>
<p class="MsoNormal"><strong><span>Generate certificate &amp; key for server</span></strong><span><br />
Next, we will generate a certificate and private key for the server. On Linux:</span></p>
<p class="MsoNormal"><span><br />
</span></p>
<blockquote>
<p class="MsoNormal"><span>./build-key-server server</span></p>
</blockquote>
<blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>As in the previous step, most parameters can be defaulted. When the Common Name is queried, enter &#8220;server&#8221;. Two other queries require positive responses, &#8220;Sign the certificate? [y/n]&#8221; and &#8220;1 out of 1 certificate requests certified, commit? [y/n]&#8220;. </span></p>
</blockquote>
<p class="MsoNormal"><strong><span>Generate certificates &amp; keys for  clients</span></strong></p>
<p class="MsoNormal"><span>Generating client certificates is very similar to the previous step. On Linux:</span></p>
<blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>./build-key client1</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>./build-key client2 and so on&#8230;</span></p>
</blockquote>
<p class="MsoNormal"><span><br />
</span></p>
<p class="MsoNormal"><span>   <strong><span class="msoIns"><ins> Generate Diffie Hellman parameters</ins></span></strong></span></p>
<p class="MsoNormal"><span>Diffie Hellman parameters must be generated for the OpenVPN server. On Linux:</span></p>
<p class="MsoNormal"><span>./build-dh</span></p>
<blockquote>
<p class="MsoNormal"> ./build-dh</p>
</blockquote>
<blockquote>
<p class="MsoNormal"><span>Generating DH parameters, 1024 bit long safe prime, generator 2</span></p>
<p class="MsoNormal"><span>This is going to take a long time</span></p>
<p class="MsoNormal"><span>&#8230;&#8230;&#8230;&#8230;&#8230;..+&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</span></p>
<p class="MsoNormal"><span>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.+&#8230;&#8230;&#8230;&#8230;.+&#8230;&#8230;&#8230;&#8230;&#8230;..+&#8230;&#8230;&#8230;</span></p>
<p class="MsoNormal"><span>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</span></p>
<p class="MsoNormal"><span><br />
</span></p></blockquote>
<p class="MsoNormal"><strong><span>         </span></strong><span> <strong><span class="msoIns"><ins>Creating TLS Key</ins></span></strong></span></p>
<p class="MsoNormal"><span>The <em>tls-auth</em> directive adds an additional HMAC signature to all SSL/TLS handshake packets for integrity verification. Any UDP packet not bearing the correct HMAC signature can be dropped without further processing. The <em>tls-auth</em> HMAC signature provides an additional level of security above and beyond that provided by SSL/TLS.<br />
Using tls-auth requires that you generate a shared-secret key that is used in addition to the standard RSA certificate/key: </span></p>
<blockquote>
<p class="MsoNormal"><span>openvpn &#8211;genkey &#8211;secret ta.key</span></p>
</blockquote>
<p class="MsoNormal"><span>This command will generate an OpenVPN static key and write it to the file <em>ta.key</em>. This key should be copied over a pre-existing secure channel to the server and all client machines. It can be placed in the same directory as the RSA <em>.key</em> and <em>.crt</em> files.</span></p>
<p class="MsoNormal"><span>In the server configuration, add:</span></p>
<blockquote>
<p class="MsoNormal"><span>tls-auth ta.key 0</span></p>
</blockquote>
<p class="MsoNormal"><span>In the client configuration, add:</span></p>
<blockquote>
<p class="MsoNormal"><span>tls-auth ta.key 1</span></p>
</blockquote>
<p class="MsoNormal"><strong><span>        </span></strong></p>
<p class="MsoNormal"><strong><span>        </span></strong><span>  <strong><span class="msoIns"><ins>Creating configuration files for server and clients</ins></span></strong></span></p>
<blockquote>
<p class="MsoNormal"><strong><span>remote </span><a href="http://ekm1.dyndns.org/" target="_blank"><span>ekm1.dyndns.org</span></a></strong><strong><span> 1194</span></strong></p>
</blockquote>
<p class="MsoNormal"><strong><span>#remote<span>  </span></span><a href="http://ek2.levare.com/" target="_blank"><span>ekm2.linuxbuddies.com</span></a></strong><span> 1194/<strong><em>etc/openvpn/server.conf</em></strong></span></p>
<blockquote>
<p class="MsoNormal"><span>port 1194<span>                               </span>; Port for OpenVpn traffic</span></p>
<p class="MsoNormal"><span>proto tcp<span>                               </span>; TCP protocol</span></p>
<p class="MsoNormal"><span>dev tun<span>                                 </span>; use Tun device</span></p>
<p class="MsoNormal"><span>ca ca.crt<span>                               </span>; Certificate file of signing Authority</span></p>
<p class="MsoNormal"><span>cert server.crt<span>                         </span>; Server certificate</span></p>
<p class="MsoNormal"><span>key server.key<span>                          </span>; Server Key</span></p>
<p class="MsoNormal"><span>dh dh2048.pem<span>                           </span>;Diffie Hellman parameters</span></p>
<p class="MsoNormal"><span>server </span><a href="http://10.2.100.0/" target="_blank"><span>10.2.100.0</span></a><span> </span><a href="http://255.255.255.0/" target="_blank"><span>255.255.255.0</span></a><span><span>         </span>; Openvpn subnet should be different from the local network of server and client</span></p>
<p class="MsoNormal"><span>ifconfig-pool-persist ipp.txt</span></p>
<p class="MsoNormal"><span>push &#8220;route </span><a href="http://10.2.1.0/" target="_blank"><span>10.2.1.0</span></a><span> </span><a href="http://255.255.255.0/" target="_blank"><span>255.255.255.0</span></a><span>&#8220;<span>     </span>; Pushing routes to client</span></p>
<p class="MsoNormal"><span>push &#8220;route </span><a href="http://10.1.1.0/" target="_blank"><span>10.1.1.0</span></a><span> </span><a href="http://255.255.255.0/" target="_blank"><span>255.255.255.0</span></a><span>&#8220;</span></p>
<p class="MsoNormal"><span>client-config-dir ccd</span></p>
<p class="MsoNormal"><span>route </span><a href="http://10.2.100.0/" target="_blank"><span>10.2.100.0</span></a><span> </span><a href="http://255.255.255.0/" target="_blank"><span>255.255.255.0</span></a></p>
<p class="MsoNormal"><span>push &#8220;dhcp-option DNS </span><a href="http://10.2.1.11/" target="_blank"><span>10.2.1.11</span></a><span>&#8220;<span>        </span>; Pushing DNS server to client</span></p>
<p class="MsoNormal"><span>client-to-client<span>                        </span>; Clients can communicate eatch other</span></p>
<p class="MsoNormal"><span>duplicate-cn</span></p>
<p class="MsoNormal"><span>keepalive 10 120</span></p>
<p class="MsoNormal"><span>tls-auth ta.key 0<span>                       </span>; tls key</span></p>
<p class="MsoNormal"><span>comp-lzo<span>                                </span>; Use lzo compression Algo</span></p>
<p class="MsoNormal"><span>max-clients 10</span></p>
<p class="MsoNormal"><span>user nobody<span>                             </span>; Run openvpn as user nobody<span>  </span>-</span></p>
<p class="MsoNormal"><span>group nobody<span>                            </span>; group nobody for security</span></p>
<p class="MsoNormal"><span>persist-key</span></p>
<p class="MsoNormal"><span>persist-tun</span></p>
<p class="MsoNormal"><span>tun-mtu 1500</span></p>
<p class="MsoNormal"><span>status openvpn-status.log</span></p>
<p class="MsoNormal"><span>log-append /var/log/openvpn.log</span></p>
<p class="MsoNormal"><span>verb 6</span></p>
<p class="MsoNormal"><span>mute 20</span></p>
<p class="MsoNormal"><strong><em><span>client.conf</span></em></strong></p>
<p class="MsoNormal"><span>client</span></p>
<p class="MsoNormal"><span>dev tun</span></p>
<p class="MsoNormal"><span>proto tcp</span></p>
</blockquote>
<blockquote>
<p class="MsoNormal"><span>resolv-retry infinite</span></p>
<p class="MsoNormal"><span>nobind</span></p>
<p class="MsoNormal"><span>persist-key</span></p>
<p class="MsoNormal"><span>persist-tun</span></p>
<p class="MsoNormal"><span>ca ca.crt</span></p>
<p class="MsoNormal"><span>cert client.crt</span></p>
<p class="MsoNormal"><span>key client.key</span></p>
<p class="MsoNormal"><span>tls-auth ta.key 1</span></p>
<p class="MsoNormal"><span>comp-lzo</span></p>
<p class="MsoNormal"><span>verb 3</span></p>
<p class="MsoNormal"><span>mute 20</span></p>
<p class="MsoNormal"><span>ns-cert-type server</span></p>
<p class="MsoNormal"><span>auth-user-pass</span></p>
<p class="MsoNormal"><span>pull</span></p>
<p class="MsoNormal"><span>mssfix 1450</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">############</p>
<p class="MsoNormal"> </p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/23/open-vpn-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Linux Remotly</title>
		<link>http://linuxbuddies.com/2008/12/22/installing-linux-remotly/</link>
		<comments>http://linuxbuddies.com/2008/12/22/installing-linux-remotly/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 05:44:26 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Network installation]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Remote installation]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=84</guid>
		<description><![CDATA[This comes into picture when one Admin doesn’t have physical access to a system in which Linux needs to be installed. Here we need help from one person who is having physical access to that remote machine to get it booted from bootable media and to type the command shown ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-83" title="remoteinstallation" src="http://linuxbuddies.com/wp-content/uploads/2008/12/remoteinstallation-150x150.jpg" alt="remoteinstallation" width="150" height="150" />This comes into picture when one Admin doesn’t have physical access to a system in which Linux needs to be installed. Here we need help from one person who is having physical access to that remote machine to get it booted from bootable media and to type the command shown below command at boot prompt.</p>
<p><a href="http://2.bp.blogspot.com/_h3s55wvQhgU/SSe_YXiHlYI/AAAAAAAAAEE/j7RNQeZtesI/s1600-h/text_telnet_ip.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5271392314215339394" src="http://2.bp.blogspot.com/_h3s55wvQhgU/SSe_YXiHlYI/AAAAAAAAAEE/j7RNQeZtesI/s200/text_telnet_ip.jpg" border="0" alt="" /></a></p>
<p>Now anaconda will start to run and will pause at a particular moment showing the below message<br />
<a href="http://3.bp.blogspot.com/_h3s55wvQhgU/SSe_fPDt_eI/AAAAAAAAAEM/m0HvNPEavrk/s1600-h/waitingForTelnet.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5271392432199433698" src="http://3.bp.blogspot.com/_h3s55wvQhgU/SSe_fPDt_eI/AAAAAAAAAEM/m0HvNPEavrk/s200/waitingForTelnet.jpg" border="0" alt="" /></a></p>
<p>Now try to telnet to this IP from a remote machine and proceed with installation steps as usual as we do as shown below<br />
<a href="http://4.bp.blogspot.com/_h3s55wvQhgU/SSe_limIXJI/AAAAAAAAAEU/wH_Fc7OYRlw/s1600-h/telnet_192_168_241_130.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5271392540523256978" src="http://4.bp.blogspot.com/_h3s55wvQhgU/SSe_limIXJI/AAAAAAAAAEU/wH_Fc7OYRlw/s200/telnet_192_168_241_130.jpg" border="0" alt="" /></a><br />
<a href="http://3.bp.blogspot.com/_h3s55wvQhgU/SSe_rKPVZaI/AAAAAAAAAEc/p5ZcwuDV6Xg/s1600-h/telnetSession.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5271392637064406434" src="http://3.bp.blogspot.com/_h3s55wvQhgU/SSe_rKPVZaI/AAAAAAAAAEc/p5ZcwuDV6Xg/s200/telnetSession.jpg" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/22/installing-linux-remotly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable a specific command(s) for a certain user.</title>
		<link>http://linuxbuddies.com/2008/12/22/how-to-disable-a-specific-commands-for-a-certain-user/</link>
		<comments>http://linuxbuddies.com/2008/12/22/how-to-disable-a-specific-commands-for-a-certain-user/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 05:42:30 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[User administration]]></category>
		<category><![CDATA[certain user]]></category>
		<category><![CDATA[disable command]]></category>
		<category><![CDATA[limit user]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=80</guid>
		<description><![CDATA[Please follow the below steps to disable a specific command(s) for a certain user.
# su &#8211; riyesh
$ which rm (Here rm command as an example)
$ mkdir ~/bin
$ ln -s /bin/* ~/bin/ (/bin is the PATH for rm)
$ rm -rf ~/bin/rm
Take the output of $PATH for this user
$ echo $PATH &#62; ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-81" title="userlimt" src="http://linuxbuddies.com/wp-content/uploads/2008/12/userlimt-150x150.jpg" alt="userlimt" width="150" height="150" />Please follow the below steps to disable a specific command(s) for a certain user.</p>
<blockquote><p># su &#8211; riyesh<br />
$ which rm (Here rm command as an example)<br />
$ mkdir ~/bin<br />
$ ln -s /bin/* ~/bin/ (/bin is the PATH for rm)<br />
$ rm -rf ~/bin/rm</p></blockquote>
<p>Take the output of $PATH for this user</p>
<blockquote><p>$ echo $PATH &gt; MyPATH.txt</p></blockquote>
<p>Edit this file and replace /bin with ~/bin</p>
<p>Login as root</p>
<blockquote><p>$ su -<br />
# cat /home/riyesh/MyPATH.txt &gt;&gt; /home/rieysh/.bashrc</p>
<p>Change the permission of /home/riyesh/.bashrc<br />
# chmod 444 /home/riyesh/.bashrc<br />
# chattr +i /home/riyesh/.bashrc</p></blockquote>
<p>That’s all.<br />
But the user can reset the PATH variable anytime to overcome this.<br />
Please comment with alternatives for this.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/22/how-to-disable-a-specific-commands-for-a-certain-user/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Starting X11 VNC in Linux</title>
		<link>http://linuxbuddies.com/2008/12/22/starting-x11-vnc-in-linux/</link>
		<comments>http://linuxbuddies.com/2008/12/22/starting-x11-vnc-in-linux/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 05:27:05 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Vnc]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=55</guid>
		<description><![CDATA[ 
Create vnc passwd
x11vnc -storepasswd
Use authentication while connecting
x11vnc -rfbauth ~/.vnc/passwd
Keep the VNC Session after each login and logout
x11vnc -forever
Don’t use shm of X if you have problems in display
x11vnc -noshm
So the final command is
x11vnc -noshm -forever -rfbauth ~/.vnc/passwd
Finished
]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><img class="alignnone size-medium wp-image-56" title="vncosxvnc" src="http://linuxbuddies.com/wp-content/uploads/2008/12/vncosxvnc-300x299.jpg" alt="vncosxvnc" width="300" height="299" />Create vnc passwd</p>
<blockquote><p>x11vnc -storepasswd</p></blockquote>
<p>Use authentication while connecting</p>
<blockquote><p>x11vnc -rfbauth ~/.vnc/passwd</p></blockquote>
<p>Keep the VNC Session after each login and logout</p>
<blockquote><p>x11vnc -forever</p></blockquote>
<p>Don’t use shm of X if you have problems in display</p>
<blockquote><p>x11vnc -noshm</p></blockquote>
<p>So the final command is</p>
<blockquote><p>x11vnc -noshm -forever -rfbauth ~/.vnc/passwd</p></blockquote>
<p>Finished</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/22/starting-x11-vnc-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
