<?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>Time tests &#187; Linux</title>
	<atom:link href="http://www.khokhar.info/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khokhar.info</link>
	<description>. lessons .</description>
	<lastBuildDate>Thu, 29 Dec 2011 06:02:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>apache + mod_jk + tomcat6 setup on ubuntu karmic  and ubuntu lucid</title>
		<link>http://www.khokhar.info/2010/10/03/apache-mod_jk-tomcat6-setup-on-ubuntu-karmic-and-ubuntu-lucid/</link>
		<comments>http://www.khokhar.info/2010/10/03/apache-mod_jk-tomcat6-setup-on-ubuntu-karmic-and-ubuntu-lucid/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 08:14:19 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[libapache2-mod-jk]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[tomcat6]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.khokhar.info/?p=158</guid>
		<description><![CDATA[sudo apt-get install libapache2-mod-jk sudo cp /usr/share/doc/libapache2-mod-jk/httpd_example_apache2.conf /etc/apache2/conf.d/mod-jk.conf sudo vi /etc/apache2/sites-enabled/000-default (could be different in your case) In your virtual host block add following line: JkMount /hudson* ajp13_worker Note: I am trying to map hudson here.. but app context could be different in your case. (simply replace hudson with your app name) Check for syntax [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2010/10/03/apache-mod_jk-tomcat6-setup-on-ubuntu-karmic-and-ubuntu-lucid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AOL rejecting or blocking emails</title>
		<link>http://www.khokhar.info/2008/11/22/aol-rejecting-or-blocking-emails/</link>
		<comments>http://www.khokhar.info/2008/11/22/aol-rejecting-or-blocking-emails/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 09:24:41 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/?p=70</guid>
		<description><![CDATA[Recently, we faced a problem where emails generated from our application were not showing up in AOL inbox(es). We have recently switched to a new machine &#38; I suspected that for new machine mx-records are not set correctly from where I am trying to send the email. We didn&#8217;t wanted to change our mx-records as [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2008/11/22/aol-rejecting-or-blocking-emails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wget came to my rescue</title>
		<link>http://www.khokhar.info/2008/11/22/wget-came-to-my-rescue/</link>
		<comments>http://www.khokhar.info/2008/11/22/wget-came-to-my-rescue/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 08:51:00 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.khokhar.info/?p=80</guid>
		<description><![CDATA[I was trying to download some 150-200 zip files from a http URL by finding each file &#38; clicking on it to download.  I soon realized how boring it is using standard download support in browsers. This is something I am supposed to do periodically I know that there are some browser extensions available that [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2008/11/22/wget-came-to-my-rescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Linux Proxy server using Fedora core 5</title>
		<link>http://www.khokhar.info/2007/01/18/setting-up-a-linux-proxy-server-using-fedora-core-5/</link>
		<comments>http://www.khokhar.info/2007/01/18/setting-up-a-linux-proxy-server-using-fedora-core-5/#comments</comments>
		<pubDate>Fri, 19 Jan 2007 05:40:53 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2007/01/18/setting-up-a-linux-proxy-server-using-fedora-core-5/</guid>
		<description><![CDATA[Assumption: - eth0 is the external interface (Connected to internet) - eth1 is the internal interface (local network) (Fixed IP) Edit /etc/sysctl.conf to enable ip forwarding permanently. net.ipv4.ip_forward = 1 Edit /etc/sysconfig/iptables-config and make following changes: IPTABLES_MODULES=&#8221;ip_conntrack_netbios_ns ip_conntrack ip_conntrack_ftp ip_conntrack_irc iptable_nat ip_nat_ftp ip_nat_irc&#8221; IPTABLES_SAVE_ON_STOP=&#8221;yes&#8221; IPTABLES_SAVE_ON_RESTART=&#8221;yes&#8221; # To clear out any existing rules and set default [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2007/01/18/setting-up-a-linux-proxy-server-using-fedora-core-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tight up single-user login mode</title>
		<link>http://www.khokhar.info/2006/10/09/tight-up-single-user-login-mode/</link>
		<comments>http://www.khokhar.info/2006/10/09/tight-up-single-user-login-mode/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:17:15 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tight-up-single-user-login-mode/</guid>
		<description><![CDATA[Linux has a special command (linux single) also known as ‘single-user mode’, which can be entered at the boot prompt during startup of the system. The single-user mode is generally used for system maintenance. You can boot Linux in single-user mode by typing at the LILO boot prompt the following command: LILO: linux single This [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tight-up-single-user-login-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tight Up NFS</title>
		<link>http://www.khokhar.info/2006/10/09/tight-up-nfs/</link>
		<comments>http://www.khokhar.info/2006/10/09/tight-up-nfs/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:17:02 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tight-up-nfs/</guid>
		<description><![CDATA[Configure the /etc/exports file with the most restrictive access possible. This means not using wildcards, not allowing root write access, and mounting read-only wherever possible.  Edit the exports file (vi /etc/exports) and add: As an example: /dir/to/export host1.mydomain.com(ro,root_squash) /dir/to/export host2.mydomain.com(ro,root_squash) Where /dir/to/export is the directory you want to export, host1.mydomain.com is the machine allowed [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tight-up-nfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tightup /etc/fstab</title>
		<link>http://www.khokhar.info/2006/10/09/tightup-etcfstab/</link>
		<comments>http://www.khokhar.info/2006/10/09/tightup-etcfstab/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:16:29 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tightup-etcfstab/</guid>
		<description><![CDATA[- Mounting boot partition read only, increases security of kernel. This how you do it in /etc/fstab LABEL=/boot /boot ext2 defaults,ro 1 2 And reload changes # mount /boot -oremount And yes, make it writable when you are planning kernel upgrade. Otherwise new kernel wont be able to enter Other security options in the fstab [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tightup-etcfstab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tightup /etc/rc.local</title>
		<link>http://www.khokhar.info/2006/10/09/tightup-etcrclocal/</link>
		<comments>http://www.khokhar.info/2006/10/09/tightup-etcrclocal/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:16:06 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tightup-etcrclocal/</guid>
		<description><![CDATA[By default, when you login to a Linux machine, it tells you the Linux distribution name, version, kernel version, and the name of the server. This is giving away too much info. We’d rather just prompt users with a &#8220;Login:&#8221; prompt. To do this, edit the rc.local file (vi /etc/rc.local) and place &#8220;#&#8221; in front [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tightup-etcrclocal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tightup SETUID/SETGID</title>
		<link>http://www.khokhar.info/2006/10/09/tightup-setuidsetgid/</link>
		<comments>http://www.khokhar.info/2006/10/09/tightup-setuidsetgid/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:15:45 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tightup-setuidsetgid/</guid>
		<description><![CDATA[To find all files with the ‘s’ bits from root-owned programs, use the command: # find / -type f \( -perm -04000 -o -perm -02000 \) -exec ls -l {} \; software named “sXid�? that will do the job for you automatically each day and report the results via mail. To disable the suid bits [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tightup-setuidsetgid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TightPAM /etc/pam.d/</title>
		<link>http://www.khokhar.info/2006/10/09/tightpam-etcpamd/</link>
		<comments>http://www.khokhar.info/2006/10/09/tightpam-etcpamd/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:15:28 +0000</pubDate>
		<dc:creator>Vivek Khokhar</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://khokhar.info/2006/10/09/tightpam-etcpamd/</guid>
		<description><![CDATA[The password length Edit the passwd file (vi /etc/pam.d/passwd) and remove the following line: password required /lib/security/pam_stack.so service=system-auth Edit the system-auth file (vi /etc/pam.d/system-auth) and remove the lines: password required /lib/security/pam_cracklib.so retry=3 password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow password required /lib/security/pam_deny.so Now add the following lines to /etc/pam.d/passwd. We use the PAM “pam_cracklib�? module [...]]]></description>
		<wfw:commentRss>http://www.khokhar.info/2006/10/09/tightpam-etcpamd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

