<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Linux Admin Blog</title>
	<atom:link href="http://sanjaybdalal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sanjaybdalal.wordpress.com</link>
	<description>System Administration, Linux, Solaris, Backup, Networking, Security, Mysql, Script, Tips &#38; Tricks</description>
	<lastBuildDate>Sun, 25 Dec 2011 05:15:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sanjaybdalal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Linux Admin Blog</title>
		<link>http://sanjaybdalal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sanjaybdalal.wordpress.com/osd.xml" title="Linux Admin Blog" />
	<atom:link rel='hub' href='http://sanjaybdalal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fix : No Hostname when using DHCP in Sun Solaris 8/9/10</title>
		<link>http://sanjaybdalal.wordpress.com/2011/08/22/fix-no-hostname-when-using-dhcp-in-sun-solaris-8910/</link>
		<comments>http://sanjaybdalal.wordpress.com/2011/08/22/fix-no-hostname-when-using-dhcp-in-sun-solaris-8910/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 12:39:43 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
		
		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=312</guid>
		<description><![CDATA[If you are using DHCP to receive IP Address for your Sun Solaris system, you may end up with no hostname assigned to the system. This can be confirmed when there is no hostname at the prompt or if the output for the command “hostname” is as follows: # hostname unknown or the /etc/hosts file [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=312&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using DHCP to receive IP Address for your Sun Solaris system, you may end up with no hostname assigned to the system. This can be confirmed when there is no hostname at the prompt or if the output for the command “hostname” is as follows:</p>
<p><strong># hostname</strong></p>
<p><strong></strong>unknown</p>
<p>or the /etc/hosts file has an entry as follows:</p>
<blockquote><p><strong># cat /etc/hosts<br />
</strong>#<br />
# Internet host table<br />
#<br />
127.0.0.1 localhost<br />
192.168.100.3 unknown # Added by DHCP</p></blockquote>
<p>This happens when the DHCP server doesn’t provide a hostname for your server. Most of the DHCP Servers or routers acting as a DHCP Server doesn’t provide a hostname and Solaris DHCP agent relies on the DHCP server for its hostname.</p>
<p>To fix this problem, edit the dhcpagent config and set it not to request a Hostname from the DHCP server and then add a hostname to the /etc/hosts &amp; /etc/nodename file.</p>
<p><span style="text-decoration:underline;"><strong>Edit DHCPAGENT config</strong></span></p>
<p><strong><em>[For Solaris 10, this is not required as setting the hostname in /etc/nodename overrides the hostname provided by the DHCP Server. Move onto the next step]</em></strong></p>
<p>Edit the dhcpagent config file /etc/default/dhcpagent with your favorite editor</p>
<blockquote><p><strong># vi /etc/default/dhcpagent</strong></p>
<p>and look for</p>
<p>PARAM_REQUEST_LIST=1,3,6,12,15,28,43</p>
<p>and remove the Parameter “12″ from the above to look as follows:</p>
<p>PARAM_REQUEST_LIST=1,3,6,15,28,43</p>
<p>and save the file.</p></blockquote>
<p>Now, add the hostname to the /etc/nodename &amp; /etc/hosts as follows</p>
<p>Note : if /etc/nodename file does not exist then create the file and add the parameter</p>
<blockquote><p><strong># vi /etc/nodename</strong></p></blockquote>
<p>and add the hostname you want it to have (solarisserver for me)</p>
<blockquote><p><strong># cat /etc/nodename</strong><br />
solarisserver</p></blockquote>
<p>and edit the /etc/hosts file</p>
<blockquote><p><strong># vi /etc/hosts</strong></p></blockquote>
<p>and add the line similar to the following</p>
<blockquote><p><strong>192.168.100.3 globalzone</strong></p></blockquote>
<p>Now,reboot the server and you should be all fine with hostname set for the system.</p>
<p><strong># init 6</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=312&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2011/08/22/fix-no-hostname-when-using-dhcp-in-sun-solaris-8910/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup Subversion Server on Ubuntu</title>
		<link>http://sanjaybdalal.wordpress.com/2009/12/30/setup-subversion-server-on-ubuntu-9-04/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/12/30/setup-subversion-server-on-ubuntu-9-04/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 10:36:40 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=303</guid>
		<description><![CDATA[Step: 1 Installing the Subversion package #apt-get install subversion Step:2  Configure Subversion Directory #mkdir –p  /home/svn/repository Step 3 Configure Subversion group #groupadd svn #chgrp svn /home/svn/repository #chmod g+rw /home/svn/repository (you need to make sure that all new files and directories created in the repos directory (in other words, anything committed to the repositories) will also be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=303&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Step: 1 Installing the Subversion package</strong></p>
<p>#apt-get install subversion</p>
<p><strong>Step:2  Configure Subversion Directory</strong></p>
<p>#mkdir –p  /home/svn/repository</p>
<p><strong>Step 3 Configure Subversion group</strong></p>
<p>#groupadd svn</p>
<p>#chgrp svn /home/svn/repository</p>
<p>#chmod g+rw /home/svn/repository</p>
<p>(you need to make sure that all new files and directories created in the <code>repos</code> directory (in other words, anything committed to the repositories) will also be owned by the group)</p>
<p>#chmod g+s /home/svn/repository</p>
<p>#usermod –a –G svn user1 (Assign users to svn group)</p>
<p>#usermod –a –G svn user2 (Assign users to svn group)</p>
<p><strong>Step 4: </strong><strong>Creating</strong><strong> a New repository</strong><strong> </strong></p>
<p>#svnadmin create /home/svn/repository/test</p>
<p><strong>Step 5: Checkout Repository</strong></p>
<p>#svn checkout file:///home/svn/repository/test<strong></strong></p>
<p>Output: Checked out revision 0</p>
<p><strong>Step 6: Add new files to Empty repository</strong></p>
<p>#cd test</p>
<p># echo &#8216;Hello, World!&#8217; &gt; hello.txt</p>
<p>#svn add hello.txt</p>
<p>Output : A         hello.txt</p>
<p><strong>Step 7 : Commit files</strong></p>
<p>#svn commit -m &#8220;Added a &#8216;hello world&#8217; text file.&#8221;</p>
<p>Output :</p>
<p>Adding         hello.txt</p>
<p>Transmitting file data .</p>
<p>Committed revision 1.</p>
<p><strong>Accessing SVN repository</strong></p>
<p><strong>Step 1:  Configure Users for Access SVN repository.</strong></p>
<p>#vi /home/svn/repository/conf/authz</p>
<p>(Add below entry)</p>
<p>[/]</p>
<p>User1 = rw</p>
<p>[/test]</p>
<p>User1 = rw</p>
<p>User2 = rw</p>
<p>(save file)</p>
<p>#vi /home/svn/repository/conf/passwd</p>
<p>(Add below entry)</p>
<p>User1=password1</p>
<p>User2=password2</p>
<p>(save file)</p>
<p><strong>Step 2: Configure files for authentication</strong></p>
<p># rm –rf /home/svn/repository/test/conf/authz</p>
<p># rm –rf /home/svn/repository/test/conf/passwd</p>
<p>#vi /home/svn/repository/conf/svnserve.conf</p>
<p>[general]</p>
<p>anon-access = none</p>
<p>password-db = /home/svn/repository/conf/passwd</p>
<p>realm = Team</p>
<p><strong>Step 3: Start repository</strong></p>
<p>#svnserve -d &#8211;foreground -r /home/svn/ repository</p>
<p><strong>Step 4 : Test the Repository</strong></p>
<p>#svn checkout svn://ipaddress/test &#8211;username user1</p>
<p><strong>Step 5: Initialize the Script at Startup</strong></p>
<p><strong><br />
</strong>#wget <a href="http://odyniec.net/articles/ubuntu-subversion-server/svnserve">http://odyniec.net/articles/ubuntu-subversion-server/svnserve</a></p>
<p>#move svnserve /etc/init.d/</p>
<p># chmod +x /etc/init.d/subserve</p>
<p>#update-rc.d svnserve defaults</p>
<br />Posted in Subversion  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=303&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/12/30/setup-subversion-server-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>Call to undefined function: mysql_connect()</title>
		<link>http://sanjaybdalal.wordpress.com/2009/10/23/call-to-undefined-function-mysql_connect/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/10/23/call-to-undefined-function-mysql_connect/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:49:04 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Problems & Solutions]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=300</guid>
		<description><![CDATA[Solutions: Solution 1)   Remove php5-mysql with “apt-get remove php5-mysql”  and install it again or Solution 2)   Check your php.ini file to ensure it’s including the mysql.so library (extension=mysql.so)  or Solution 3)   Type “dpkg-reconfigure php5-mysql” (For ubuntu and debian users) Posted in Problems &#38; Solutions<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=300&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Solutions:</strong></p>
<p>Solution 1)   Remove php5-mysql with “apt-get remove php5-mysql”  and install it again or</p>
<p>Solution 2)   Check your php.ini file to ensure it’s including the mysql.so library (extension=mysql.so)  or</p>
<p>Solution 3)   Type “dpkg-reconfigure php5-mysql” (For ubuntu and debian users)</p>
<br />Posted in Problems &amp; Solutions  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=300&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/10/23/call-to-undefined-function-mysql_connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>Solaris and Linux Runlevel</title>
		<link>http://sanjaybdalal.wordpress.com/2009/09/30/solaris-linux-runlevel/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/09/30/solaris-linux-runlevel/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 06:43:42 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Unix/Solaris]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=296</guid>
		<description><![CDATA[Default Linux Run Level: Total 7 Run Level RunLevel 0: Halt System &#8211; To shutdown the system RunLevel 1: Single user mode RunLevel 2: Basic multi user mode without NFS RunLevel 3: Full multi user mode (text based) RunLevel 4: unused RunLevel 5: Multi user mode with Graphical User Interface RunLevel 6: Reboot System Default [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=296&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Default Linux Run Level: Total 7 Run Level</strong></p>
<p>RunLevel 0: Halt System &#8211; To shutdown the system<br />
RunLevel 1: Single user mode<br />
RunLevel 2: Basic multi user mode without NFS<br />
RunLevel 3: Full multi user mode (text based)<br />
RunLevel 4: unused<br />
RunLevel 5: Multi user mode with Graphical User Interface<br />
RunLevel 6: Reboot System</p>
<p><strong>Default Solaris Run Level: Total 8 Run Level</strong></p>
<p>RunLevel S: Single user state (useful for recovery)</p>
<p>RunLevel 0: Access Sun Firmware (ok&gt; prompt)</p>
<p>RunLevel 1: System administrator mode</p>
<p>RunLevel 2: Multi-user w/o NFS</p>
<p>RunLevel 3: Multi-user with NFS</p>
<p>RunLevel 4: Unused</p>
<p>RunLevel 5: Completely shutdown the host (like performing a power-off)</p>
<p>RunLevel 6: Reboot but depend upon initdefault entry in /etc/inittab</p>
<br />Posted in Unix/Solaris  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=296&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/09/30/solaris-linux-runlevel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>Update system</title>
		<link>http://sanjaybdalal.wordpress.com/2009/09/29/update-system/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/09/29/update-system/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 11:51:16 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Update system]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=293</guid>
		<description><![CDATA[Posted in Update system<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=293&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-294" title="update" src="http://sanjaybdalal.files.wordpress.com/2009/09/update.jpg?w=595" alt="update"   /></p>
<br />Posted in Update system  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=293&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/09/29/update-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/update.jpg" medium="image">
			<media:title type="html">update</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure Services in CentOs5/RHEL5</title>
		<link>http://sanjaybdalal.wordpress.com/2009/09/29/configure-services-in-centos5rhel5/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/09/29/configure-services-in-centos5rhel5/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 10:45:45 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Configure Services]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=279</guid>
		<description><![CDATA[1) List All services 2)  List Running services at Runlevel 3 3) Start service 4)      Stop service 5)   Start service on different RunLevel 6)  Restart services 7)  Add services 8 ) Remove Services Posted in Configure Services<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=279&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1) </strong><strong>List All services</strong></p>
<p><strong><img class="alignnone size-full wp-image-280" title="listservices" src="http://sanjaybdalal.files.wordpress.com/2009/09/listservices.jpg?w=595" alt="listservices"   /></strong></p>
<p><strong>2)  List Running services at Runlevel 3</strong></p>
<p><strong><img class="alignnone size-full wp-image-281" title="listservices34" src="http://sanjaybdalal.files.wordpress.com/2009/09/listservices34.jpg?w=595" alt="listservices34"   /></strong></p>
<p><strong>3) Start service</strong></p>
<p><strong><img class="alignnone size-full wp-image-282" title="startservices" src="http://sanjaybdalal.files.wordpress.com/2009/09/startservices.jpg?w=595" alt="startservices"   /></strong></p>
<p><strong>4)      Stop service</strong></p>
<p><strong><img class="alignnone size-full wp-image-283" title="stopservice" src="http://sanjaybdalal.files.wordpress.com/2009/09/stopservice.jpg?w=595" alt="stopservice"   /></strong></p>
<p><strong>5)   Start service on different RunLevel</strong></p>
<p><strong><img class="alignnone size-full wp-image-284" title="stopservice" src="http://sanjaybdalal.files.wordpress.com/2009/09/stopservice1.jpg?w=595" alt="stopservice"   /></strong></p>
<p><strong>6)  Restart services</strong></p>
<p><strong><img class="alignnone size-full wp-image-285" title="restartservice" src="http://sanjaybdalal.files.wordpress.com/2009/09/restartservice.jpg?w=595" alt="restartservice"   /></strong></p>
<p><strong>7)  Add services</strong></p>
<p><strong><img class="alignnone size-full wp-image-286" title="addservice" src="http://sanjaybdalal.files.wordpress.com/2009/09/addservice.jpg?w=595" alt="addservice"   /></strong></p>
<p><strong>8 ) Remove Services</strong></p>
<p><strong><img class="alignnone size-full wp-image-290" title="deleteservice" src="http://sanjaybdalal.files.wordpress.com/2009/09/deleteservice1.jpg?w=595" alt="deleteservice"   /></strong></p>
<p><strong> </strong></p>
<br />Posted in Configure Services  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=279&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/09/29/configure-services-in-centos5rhel5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/listservices.jpg" medium="image">
			<media:title type="html">listservices</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/listservices34.jpg" medium="image">
			<media:title type="html">listservices34</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/startservices.jpg" medium="image">
			<media:title type="html">startservices</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/stopservice.jpg" medium="image">
			<media:title type="html">stopservice</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/stopservice1.jpg" medium="image">
			<media:title type="html">stopservice</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/restartservice.jpg" medium="image">
			<media:title type="html">restartservice</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/addservice.jpg" medium="image">
			<media:title type="html">addservice</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/deleteservice1.jpg" medium="image">
			<media:title type="html">deleteservice</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS5/RHEL5 User Administration</title>
		<link>http://sanjaybdalal.wordpress.com/2009/09/29/user-administration/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/09/29/user-administration/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 05:17:02 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[User Administration]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=250</guid>
		<description><![CDATA[1) Add User 2)      Delete user 3)      Modify user 4) Add Group 5) Delete group 6) Modify group 7) Add User to Group Use useradd command to add new users to existing group (or create a new group and then add user). If group does not exist, create it. Syntax: Syntax: useradd -G {group-name1},{group-name2} username (for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=250&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1)	Add User</strong></p>
<p><strong><img class="alignnone size-full wp-image-262" title="Useradd" src="http://sanjaybdalal.files.wordpress.com/2009/09/useradd2.jpg?w=595" alt="Useradd"   /></strong></p>
<p><strong>2)      Delete user</strong></p>
<p><strong><img class="alignnone size-full wp-image-263" title="Userdel" src="http://sanjaybdalal.files.wordpress.com/2009/09/userdel2.jpg?w=595" alt="Userdel"   /></strong></p>
<p><strong>3)      Modify user</strong></p>
<p><strong><img class="alignnone size-full wp-image-266" title="Usermod" src="http://sanjaybdalal.files.wordpress.com/2009/09/usermod2.jpg?w=595" alt="Usermod"   /></strong></p>
<p><strong>4) </strong><strong>Add Group</strong></p>
<p><strong><img class="alignnone size-full wp-image-269" title="gpasswd" src="http://sanjaybdalal.files.wordpress.com/2009/09/gpasswd.jpg?w=595" alt="gpasswd"   /></strong></p>
<p><strong> </strong></p>
<p><strong>5) Delete group</strong></p>
<p><strong><img class="alignnone size-full wp-image-268" title="groupdel" src="http://sanjaybdalal.files.wordpress.com/2009/09/groupdel.jpg?w=595" alt="groupdel"   /></strong></p>
<p><strong>6) </strong><strong>Modify group</strong></p>
<p><strong><img class="alignnone size-full wp-image-270" title="groupmod" src="http://sanjaybdalal.files.wordpress.com/2009/09/groupmod.jpg?w=595" alt="groupmod"   /></strong></p>
<p><strong>7) </strong><strong>Add User to Group</strong></p>
<p>Use useradd command to add new users to existing group (or create a new group and then add user). If group does not exist, create it. Syntax:</p>
<p><strong>Syntax</strong>:</p>
<p>useradd -G {group-name1},{group-name2} username (for secondary group)</p>
<p><strong> </strong>useradd -g {group-name} username (for primary group)</p>
<p><img class="alignnone size-full wp-image-275" title="useradd1" src="http://sanjaybdalal.files.wordpress.com/2009/09/useradd14.jpg?w=595" alt="useradd1"   /></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<br />Posted in User Administration  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=250&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/09/29/user-administration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/useradd2.jpg" medium="image">
			<media:title type="html">Useradd</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/userdel2.jpg" medium="image">
			<media:title type="html">Userdel</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/usermod2.jpg" medium="image">
			<media:title type="html">Usermod</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/gpasswd.jpg" medium="image">
			<media:title type="html">gpasswd</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/groupdel.jpg" medium="image">
			<media:title type="html">groupdel</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/groupmod.jpg" medium="image">
			<media:title type="html">groupmod</media:title>
		</media:content>

		<media:content url="http://sanjaybdalal.files.wordpress.com/2009/09/useradd14.jpg" medium="image">
			<media:title type="html">useradd1</media:title>
		</media:content>
	</item>
		<item>
		<title>Automated Installation of DenyHost on RedHat/Fedora</title>
		<link>http://sanjaybdalal.wordpress.com/2009/09/15/automated-installation-of-denyhost-on-redhatfedora/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/09/15/automated-installation-of-denyhost-on-redhatfedora/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:01:17 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Denyhost]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=244</guid>
		<description><![CDATA[#Script #!/bin/bash # This script installs Deny Host on RedHat(RHEL) or Fedora. ################################################################################ # This script comes with no warranty or guarantee. Please review the script # before you run it to ensure that it will not cause adverse effects on your # system. # # If you have any questions or comments, please e-mail: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=244&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#Script</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">#!/bin/bash</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"># This script installs Deny Host on RedHat(RHEL) or Fedora.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">################################################################################</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"># This script comes with no warranty or guarantee. Please review the script</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"># before you run it to ensure that it will not cause adverse effects on your</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"># system.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">#</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;"># If you have any questions or comments, please e-mail: sanjaydalal4u@gmail.com</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">################################################################################</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo echo</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">if [ -f /etc/init.d/denyhosts ]; then</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo Removing existing init scripts</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo /etc/init.d/denyhosts stop</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo rm -rf /etc/init.d/denyhosts</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo chkconfig &#8211;remove denyhosts</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo &#8216;*********************&#8217;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">fi</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">if [ -d /usr/share/denyhosts/ ]; then</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo Removing existing installation</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo rm -rf /usr/share/denyhosts</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo &#8216;*********************&#8217;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">fi</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo Installing &#8216;python&#8217; and dependencies.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">sudo yum -y install python</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo &#8216;*********************&#8217;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">cd /root</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo Downloading DenyHost</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">wget http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz?use_mirror=biznetnetworks</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo &#8216;*********************&#8217;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">echo Unpacking DenyHost</div>
<p>#!/bin/bash</p>
<p># This script installs Deny Host on RedHat(RHEL) or Fedora.</p>
<p>################################################################################</p>
<p># This script comes with no warranty or guarantee. Please review the script</p>
<p># before you run it to ensure that it will not cause adverse effects on your</p>
<p># system.</p>
<p># If you have any questions or comments, please e-mail: sanjaydalal4u@gmail.com</p>
<p>################################################################################</p>
<p>sudo echo</p>
<p>if [ -f /etc/init.d/denyhosts ]; then</p>
<p>echo Removing existing init scripts</p>
<p>sudo /etc/init.d/denyhosts stop</p>
<p>sudo rm -rf /etc/init.d/denyhosts</p>
<p>sudo chkconfig &#8211;remove denyhosts</p>
<p>echo &#8216;*********************&#8217;</p>
<p>echo</p>
<p>fi</p>
<p>if [ -d /usr/share/denyhosts/ ]; then</p>
<p>echo Removing existing installation</p>
<p>sudo rm -rf /usr/share/denyhosts</p>
<p>echo &#8216;*********************&#8217;</p>
<p>echo</p>
<p>fi</p>
<p>echo Installing &#8216;python&#8217; and dependencies.</p>
<p>sudo yum -y install python</p>
<p>echo &#8216;*********************&#8217;</p>
<p>echo</p>
<p>cd /root</p>
<p>echo Downloading DenyHost</p>
<p>wget http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz?use_mirror=biznetnetworks</p>
<p>echo &#8216;*********************&#8217;</p>
<p>echo</p>
<p>echo Unpacking DenyHost</p>
<div>
<div>tar -xzf DenyHosts-2.6.tar.gz</div>
<div></div>
<div></div>
<div>cd /root/DenyHosts-2.6</div>
<div>echo &#8216;*********************&#8217;</div>
<div>echo</div>
<div></div>
<div>echo Installing DenyHost</div>
<div>sudo python setup.py install</div>
<div>echo &#8216;*********************&#8217;</div>
<div>echo</div>
<div></div>
<div>cd /usr/share/denyhosts</div>
<div></div>
<div>echo Configuring DenyHost</div>
<div>sudo cp denyhosts.cfg-dist denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*\(SECURE_LOG\s*=.*\)$/#\1/&#8217; denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*#\s*SECURE_LOG\s*=\s*\/var\/log\/secure/SECURE_LOG = \/var\/log\/secure/&#8217; denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*\(LOCK_FILE\s*=.*\)$/#\1/&#8217; denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*#\s*LOCK_FILE\s*=\s*\/var\/run\/denyhosts.pid/LOCK_FILE = \/var\/run\/denyhosts.pid/&#8217; denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*\(BLOCK_SERVICE\s*=.*\)$/#\1/&#8217; denyhosts.cfg</div>
<div>sudo sed -i.bak &#8216;s/^\s*#\s*BLOCK_SERVICE\s*=\s*ALL/BLOCK_SERVICE  = ALL/&#8217; denyhosts.cfg</div>
<div>echo &#8216;*********************&#8217;</div>
<div>echo</div>
<div></div>
<div>echo Configuring executable</div>
<div>sudo cp daemon-control-dist daemon-control</div>
<div>sudo sed -i.bak &#8216;s/^\(\s*DENYHOSTS_BIN\s*=\s\).*$/\1&#8243;\/usr\/bin\/denyhosts.py&#8221;/&#8217; daemon-control</div>
<div>sudo sed -i.bak &#8216;s/^\(\s*DENYHOSTS_LOCK\s*=\s\).*$/\1&#8243;\/var\/run\/denyhosts.pid&#8221;/&#8217; daemon-control</div>
<div>sudo sed -i.bak &#8216;s/^\(\s*DENYHOSTS_CFG\s*=\s\).*$/\1&#8243;\/usr\/share\/denyhosts\/denyhosts.cfg&#8221;/&#8217; daemon-control</div>
<div>sudo chown root daemon-control</div>
<div>sudo chmod 700 daemon-control</div>
<div>echo &#8216;*********************&#8217;</div>
<div>echo</div>
<div></div>
<div>echo Adding ddclient to rc scripts</div>
<div>cd /etc/init.d</div>
<div>sudo ln -s /usr/share/denyhosts/daemon-control denyhosts</div>
<div>sudo chkconfig &#8211;add denyhosts</div>
<div>sudo chkconfig &#8211;level 35 denyhosts on</div>
<div>echo &#8216;*********************&#8217;</div>
<div>echo</div>
<div></div>
</div>
<br />Posted in Denyhost  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=244&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/09/15/automated-installation-of-denyhost-on-redhatfedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Open 7zip Files Under Ubuntu</title>
		<link>http://sanjaybdalal.wordpress.com/2009/08/01/how-to-open-7zip-files-under-ubuntu/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/08/01/how-to-open-7zip-files-under-ubuntu/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 05:05:57 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Linux Commands]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/?p=236</guid>
		<description><![CDATA[Step 1 : Install application #sudo apt-get install p7zip Step 2 : Exectute this command #p7zip -d filename.7z Posted in Linux Commands<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=236&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Step 1 : Install application</strong></p>
<p>#sudo apt-get install p7zip</p>
<p><strong>Step 2 : Exectute this command</strong></p>
<p>#p7zip -d filename.7z<strong></strong></p>
<br />Posted in Linux Commands  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=236&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/08/01/how-to-open-7zip-files-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup SAMBA server on Ubuntu</title>
		<link>http://sanjaybdalal.wordpress.com/2009/07/27/setup-samba-server-on-ubuntu-9-04/</link>
		<comments>http://sanjaybdalal.wordpress.com/2009/07/27/setup-samba-server-on-ubuntu-9-04/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 06:44:19 +0000</pubDate>
		<dc:creator>sanjaydalal4u</dc:creator>
				<category><![CDATA[Samba server]]></category>

		<guid isPermaLink="false">http://sanjaybdalal.wordpress.com/2009/07/27/setup-samba-server-on-ubuntu-9-04/</guid>
		<description><![CDATA[Step 1: Installation #apt-get install samba Step 2: Configuration Configuration file : /etc/samba/smb.conf Edit below section Workgroup = EXAMPLE ………… Security = user Create a new section at the bottom of the file /etc/samba/smb.conf [Samba Share] Comment= Samba  File Server Share Path=/path to directory Browsable = yes Guest ok = yes Read only = no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=235&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Step 1: Installation</strong></p>
<p>#apt-get install samba</p>
<p><strong>Step 2: Configuration</strong></p>
<p>Configuration file : /etc/samba/smb.conf</p>
<ul>
<li>Edit below section</li>
</ul>
<p>Workgroup = EXAMPLE</p>
<p>…………</p>
<p>Security = user</p>
<ul>
<li>Create a new section at the bottom of the file /etc/samba/smb.conf</li>
</ul>
<p>[Samba Share]</p>
<p>Comment= Samba  File Server Share</p>
<p>Path=/path to directory</p>
<p>Browsable = yes</p>
<p>Guest ok = yes</p>
<p>Read only = no</p>
<p>Create mask = 0755</p>
<p><strong>Step 3: Create directory and change permissions</strong></p>
<p>#mkdir /path to directoy</p>
<p>#chown  -R nobody:nobody /path to directory</p>
<p>Step 4 : Restart Samba service</p>
<p>#/etc/init.d/samba restart</p>
<p>Enjoy!!!!!!!!!!!!</p>
<br />Posted in Samba server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybdalal.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybdalal.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybdalal.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybdalal.wordpress.com&amp;blog=7547485&amp;post=235&amp;subd=sanjaybdalal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybdalal.wordpress.com/2009/07/27/setup-samba-server-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bf23368a2c69ab0ddab7c5526ff7cdeb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanju</media:title>
		</media:content>
	</item>
	</channel>
</rss>
