<?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>Tech Kaki &#187; Fedora</title>
	<atom:link href="http://www.techkaki.com/category/linux/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techkaki.com</link>
	<description>Tips and Tricks for Mac OS X, Windows, Linux and office suite software.</description>
	<lastBuildDate>Wed, 28 Dec 2011 08:34:10 +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>How to clear DNS Cache in Windows, Mac OS X and Linux</title>
		<link>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/</link>
		<comments>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 14:23:30 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Win Vista]]></category>
		<category><![CDATA[Win2k8]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WinXP]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[domain name server]]></category>
		<category><![CDATA[flush dns]]></category>
		<category><![CDATA[flush dns cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux flush dns]]></category>
		<category><![CDATA[linux flush dns cache]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac flush dns]]></category>
		<category><![CDATA[mac flush dns cache]]></category>
		<category><![CDATA[nscd daemon]]></category>
		<category><![CDATA[window flush dns]]></category>
		<category><![CDATA[windows flush dns cache]]></category>
		<category><![CDATA[winxp]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2575</guid>
		<description><![CDATA[Tweet Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. DNS cache help to speeds up the lookups within the same host.  But sometimes if the website page change before your DNS cache is updated, you will failed to access the page. For example, you received a web page with [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/" data-text="How to clear DNS Cache in Windows, Mac OS X and Linux" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>Your DNS cache stores the locations (IP addresses) of pages you have recently viewed. DNS cache help to speeds up the lookups within the same host.  But sometimes if the website page change before your DNS cache is updated, you will failed to access the page. For example, you received a web page with HTML 404 error codes. So you need to flush your DNS cache. Once you clear your DNS cache, your computer will query nameservers for the new DNS information you require.</p>
<p><strong>Clear DNS cache on Windows XP, Vista, Win7<span id="more-2575"></span></strong></p>
<ol>
<li>Open the <em>Start</em> menu.</li>
<li>Go to <em>Run</em>.
<ul>
<li>If you do not see the <em>Run</em> command in Vista, search for &#8220;run&#8221; in the <em>Search</em> bar.</li>
</ul>
</li>
<li>In the <em>Run</em> text box, type: <code>ipconfig /flushdns</code></li>
<li>Press <em>Enter</em> or <em>Return</em>, and your cache will be flushed.</li>
</ol>
<p><strong>To clear DNS cache in Mac OS X 10.5 and above, use the following command:<a name="MacOS"></a></strong></p>
<ol>
<li>Go to <em>Applications</em>.</li>
<li>Go to <em>Utilities</em>.</li>
<li>Open the Terminal application.</li>
<li>Type: <code>dscacheutil -flushcache</code></li>
<li>Press <em>Enter</em> or <em>Return</em>, and your cache will be flushed.</li>
</ol>
<p><strong>Clear DNS cache on Linux (Red Hat / Fedora / CentOS)</strong></p>
<p>Launch your <strong>terminal</strong> and enter following command to flush DNS:-</p>
<blockquote><p>$ sudo /etc/init.d/nscd restart</p></blockquote>
<p>OR</p>
<blockquote><p># service nscd restart</p></blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F08%2Fhow-to-clear-dns-cache-in-windows-mac-os-x-and-linux%2F&amp;title=How%20to%20clear%20DNS%20Cache%20in%20Windows%2C%20Mac%20OS%20X%20and%20Linux" id="wpa2a_2"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/08/how-to-clear-dns-cache-in-windows-mac-os-x-and-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove Apache 2 Test Page in CentOS/REHL/Fedora</title>
		<link>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/</link>
		<comments>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 14:06:50 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[apache welcome page]]></category>
		<category><![CDATA[disable apache 2 test page]]></category>
		<category><![CDATA[how to disable http test page]]></category>
		<category><![CDATA[remove apache welcome page]]></category>
		<category><![CDATA[web test page]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2389</guid>
		<description><![CDATA[Tweet I just installed Apache web server on my Fedora 15 system. After starting HTTP (Apache web server) in Linux &#38; pointing your web browser to http://localhost, you will see below test page. This means your server has configures &#38; ready to use. Question: Is it anyway to remove this Apache Test Page? Answer: Yes, [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/" data-text="How to remove Apache 2 Test Page in CentOS/REHL/Fedora" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>I just installed Apache web server on my <strong>Fedora 15</strong> system. After starting HTTP (Apache web server) in Linux &amp; pointing your web  browser to <strong>http://localhost</strong>, you will see below test page. This means  your server has configures &amp; ready to use.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Test-Page.png"><img class="alignnone size-full wp-image-2394" title="Fedora Apache Test Page" src="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Test-Page.png" alt="" width="442" height="342" /></a><span id="more-2389"></span></p>
<p>Question: Is it anyway to remove this Apache Test Page?</p>
<p>Answer: Yes, you can disable this page if you don’t want it.</p>
<h3>To remove apache test page in CentOS/REHL/Fedora, follow the steps below:-</h3>
<ul>
<li>Start your Terminal and login to your web server thru SSH</li>
<li>Once logged in, enter following command to remove the test page (Pls make sure you login as root)</li>
</ul>
<blockquote><p>[root@www ~]# rm -f /etc/httpd/conf.d/welcome.conf</p>
<p>[root@www ~]# rm -f /var/www/error/noindex.html</p></blockquote>
<ul>
<li>now reload your apache web server</li>
</ul>
<blockquote><p>[root@www ~]# service httpd reload</p></blockquote>
<p>Now  try to open your browser and enter <strong>http://localhost</strong>.  You shouldn&#8217;t see any Apache Test Page again.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Index-page.png"><img class="alignnone size-full wp-image-2398" title="Fedora Apache Index page" src="http://www.techkaki.com/wp-content/uploads/2011/06/Fedora-Apache-Index-page.png" alt="" width="404" height="424" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F06%2Fhow-to-remove-apache-2-test-page-in-centosrehlfedora%2F&amp;title=How%20to%20remove%20Apache%202%20Test%20Page%20in%20CentOS%2FREHL%2FFedora" id="wpa2a_4"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/06/how-to-remove-apache-2-test-page-in-centosrehlfedora/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Centos 5.6: Find PHP Version using Command Line</title>
		<link>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/</link>
		<comments>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/#comments</comments>
		<pubDate>Mon, 30 May 2011 08:59:39 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[check php version command line]]></category>
		<category><![CDATA[Find PHP Version]]></category>
		<category><![CDATA[get php version command line]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2328</guid>
		<description><![CDATA[Tweet I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install. Here is a useful command to display or show what version of php you have installed in your [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/" data-text="Centos 5.6: Find PHP Version using Command Line" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg"><img class="alignleft size-full wp-image-1810" title="centos_logo" src="http://www.techkaki.com/wp-content/uploads/2010/08/centos_logo.jpg" alt="" width="100" height="100" /></a>I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install.</p>
<p>Here  is a useful command to display or show what version of php you have  installed in your Linux Machine.</p>
<p>Just enter following command to check your <strong>PHP</strong> Version</p>
<blockquote><p>root@raptor(~)<br />
[ 2]# php -v<br />
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)<br />
Copyright (c) 1997-2006 The PHP Group<br />
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies</p></blockquote>
<p>Once you enter the <strong>php -v</strong> command, you should able to see the result like what i show you above, if you don&#8217;t get something like the above, then it means that you don&#8217;t have php installed in your server.</p>
<p>&nbsp;</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fcentos-5-6-find-php-version-using-command-line%2F&amp;title=Centos%205.6%3A%20Find%20PHP%20Version%20using%20Command%20Line" id="wpa2a_6"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/centos-5-6-find-php-version-using-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the timezone on CentOS/RHEL</title>
		<link>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/#comments</comments>
		<pubDate>Mon, 23 May 2011 15:13:16 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2298</guid>
		<description><![CDATA[Tweet I noticed that my Centos Server logs is not on the correct time. I tried to check the time from the command line and found that the timezone is pointing to the wrong timezone root@thundercat ~]# date Mon May 23 00:21:56 EDT 2011 How to change it? There are two ways to change the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/" data-text="How to change the timezone on CentOS/RHEL" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>I noticed that my Centos Server logs is not on the correct time. I tried to check the time from the command line and found that  the timezone is pointing to the wrong timezone</p>
<blockquote><p>root@thundercat ~]# date<br />
Mon May 23 00:21:56 EDT 2011</p></blockquote>
<p><span style="color: #000000;"><small><small><big><big></big></big></small></small></span>How to change it? There are two ways to change the timezone on CentOS.<span id="more-2298"></span></p>
<p><strong>1. Set the timezone by running system-config-date command</strong></p>
<p>Type the <strong>system-config-date</strong> command at the command line to start the time and date properties tool. After that, just follow on screen instructions to change timezone.</p>
<p><strong>2. Set timezone using /etc/localtime configuration file</strong></p>
<p><span style="font-family: Helvetica,Arial,sans-serif;">It is very easy to change the Timezone from /etc/localtime. Just create a new soft link for /etc/localtime to /usr/share/zoneinfo (</span><span style="font-family: Helvetica,Arial,sans-serif;"><span style="color: #660000;"><span style="color: #000099;"><span style="color: #000000;">directory contains   the  time zone files)</span></span></span></span></p>
<p><span style="font-family: Helvetica,Arial,sans-serif;">Below are the steps to do it:-<br />
</span></p>
<ul>
<li>Just make a backup of the existing localtime file</li>
</ul>
<blockquote><p>mv /etc/localtime /etc/localtime.bak</p></blockquote>
<ul>
<li>Create a new soft link for /etc/localtime</li>
</ul>
<blockquote>
<div>ln -s /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime</div>
</blockquote>
<ul>
<li>To test your change. Run the “date” command to ensure that the appropriate time, date, and timezone are reported.</li>
</ul>
<blockquote><p>[root@thundercat ~]# date<br />
Mon May 23 12:23:27 MYT 2011</p></blockquote>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-change-the-timezone-on-centosrhel%2F&amp;title=How%20to%20change%20the%20timezone%20on%20CentOS%2FRHEL" id="wpa2a_8"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-change-the-timezone-on-centosrhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to limit SSH access by IP Address</title>
		<link>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/#comments</comments>
		<pubDate>Mon, 09 May 2011 14:20:26 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2104</guid>
		<description><![CDATA[Tweet To Secure your Linux server and prevent attacks, you can limit SSHd to certain IP addresses by modify the /etc/hosts.allow and /etc/host.deny files Below are the few steps :- 1) Open /etc/hosts.allow Use the following command to open the hosts.allow file: vi /etc/hosts.allow Once this file is open, add the following line: SSHD : [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/" data-text="How to limit SSH access by IP Address" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<div>To Secure your Linux server and prevent attacks, you can  limit SSHd to certain IP addresses by modify the /etc/hosts.allow and         /etc/host.deny files</div>
<p>Below are the few steps :-</p>
<p>1) Open /etc/hosts.allow</p>
<p>Use the following command to open the hosts.allow file:</p>
<div>
<blockquote>
<div>vi /etc/hosts.allow</div>
</blockquote>
</div>
<p>Once this file is open, add the following line:</p>
<div>
<blockquote>
<div>SSHD : ipaddress : ALLOW</div>
</blockquote>
</div>
<p>2) Open /etc/hosts.deny</p>
<p>Use the following command to open the hosts.deny file:</p>
<div>
<blockquote>
<div>vi /etc/hosts.deny</div>
</blockquote>
</div>
<p>Once it opens, add the following line to the file:</p>
<div>
<blockquote>
<div>SSHD : ALL : DENY</div>
</blockquote>
</div>
<p>Save and exit, and you have successfully limited SSH access by IP address.</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-limit-ssh-access-by-ip-address%2F&amp;title=How%20to%20limit%20SSH%20access%20by%20IP%20Address" id="wpa2a_10"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-limit-ssh-access-by-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to store and share files and folders on cloud.</title>
		<link>http://www.techkaki.com/2011/05/how-to-store-and-share-files-and-folders-on-cloud/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-store-and-share-files-and-folders-on-cloud/#comments</comments>
		<pubDate>Tue, 03 May 2011 13:40:24 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Utilities Software]]></category>
		<category><![CDATA[Win Vista]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WinXP]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2229</guid>
		<description><![CDATA[Tweet Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. Dropbox provides users with 2 GB of space for free, and they can pay for more. Dropbox  support Windows, Mac OS X, Fedora, Ubuntu, iPad, iPhone, Android and Blackberry. After you install Dropbox on your computer, any file you [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-store-and-share-files-and-folders-on-cloud/" data-text="How to store and share files and folders on cloud." data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-store-and-share-files-and-folders-on-cloud/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/dropbox_logo.png"><img class="alignleft size-full wp-image-2230" title="dropbox_logo" src="http://www.techkaki.com/wp-content/uploads/2011/05/dropbox_logo.png" alt="" width="128" height="128" /></a>Dropbox is a free service that lets you bring all your photos, docs, and  videos anywhere. Dropbox provides  users with 2 GB of space for free, and they can pay for more. Dropbox  support Windows, Mac OS X, Fedora, Ubuntu, iPad, iPhone, Android and Blackberry.</p>
<p>After you install Dropbox on your computer, any file  you save to your Dropbox will automatically save to all your computers,  your iPhone and iPad and even the Dropbox website.</p>
<p>To know more about Dropbox, click <a href="http://www.dropbox.com/">HERE </a>to visit Dropbox web site.</p>
<p>To download Dropbox, just click <a href="http://www.dropbox.com/downloading?src=index">HERE</a> to download.</p>
<p>You will see the installation guide on the download page. Just follow the instruction to install it.</p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-store-and-share-files-and-folders-on-cloud%2F&amp;title=How%20to%20store%20and%20share%20files%20and%20folders%20on%20cloud." id="wpa2a_12"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-store-and-share-files-and-folders-on-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to open .epub files</title>
		<link>http://www.techkaki.com/2011/05/how-to-open-epub-files/</link>
		<comments>http://www.techkaki.com/2011/05/how-to-open-epub-files/#comments</comments>
		<pubDate>Sun, 01 May 2011 07:02:40 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Utilities Software]]></category>
		<category><![CDATA[How to Read Ebooks in the Format: ePub]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=2196</guid>
		<description><![CDATA[Tweet Recently i downloaded a eBook in EPUB format. I failed to open it using Adobe Reader (PDF reader) and Chmox (.chm reader). How to open it?? What is EPUB?? After i google it, i know that ePub format is an open standard for ebooks by the International Digital Publishing Forum. All the ePub files have [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/05/how-to-open-epub-files/" data-text="How to open .epub files" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/05/how-to-open-epub-files/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>Recently i downloaded a eBook in <strong>EPUB</strong> format. I failed to open it using <strong>Adobe Reader</strong> (PDF reader) and <strong>Chmox</strong> (.chm reader). How to open it?? What is EPUB?? After i google it, i know that ePub format is an open standard for ebooks by the International Digital Publishing Forum. All the ePub files have the extension <strong>.epub</strong>.</p>
<p>There are several software programs support the ePub format. Below are the few software allow you to read .ePub file on your computer. You can just click the following link to download it.</p>
<ul>
<li><a href="http://www.adobe.com/products/digitaleditions/">Adobe Digital Editions <span style="color: #000000;">(Support Windows and OS X)</span></a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/epubreader/">EPUBReader</a> (Firefox Add-on)</li>
<li><a href="http://lucidor.org/lucidor/">Lucidor <span style="color: #000000;">(Supports Windows, OS X, and Linux)</span></a></li>
<li><a href="http://www.jedisaber.com/ebooks/Readers.asp#Openberg">Openberg <span style="color: #000000;">(plug-in for Firefox,)</span></a></li>
<li><a href="http://www.fbreader.org/">FBReader</a> (Windows, Linux, OS X)</li>
</ul>
<p><span id="more-2196"></span>Among all the software that i mention above, i tried to read .epub ebook using Adobe Digital Edition on my Mac OS X machines. It work fine for me.</p>
<p>Below are the few step to show how to install Adobe Digital Edition :-</p>
<ul>
<li><a href="http://www.adobe.com/products/digitaleditions/">Download</a> Adobe Digital Edition</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Edition-homepage.png"><img class="alignnone size-full wp-image-2210" title="Adobe Digital Edition homepage" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Edition-homepage.png" alt="" width="456" height="385" /></a></p>
<ul>
<li>Just follow the on screen instruction to download the installer files.</li>
<li>After that, just follow the on screen instruction to install the application. Below are the screen shoot: -</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-1.png"><img class="alignnone size-full wp-image-2211" title="Adobe Digital Editions install - 1" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-1.png" alt="" width="468" height="347" /></a></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-2.png"><img class="alignnone size-full wp-image-2212" title="Adobe Digital Editions install - 2" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-2.png" alt="" width="469" height="347" /></a></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-3.png"><img class="alignnone size-full wp-image-2213" title="Adobe Digital Editions install - 3" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-3.png" alt="" width="479" height="357" /></a></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-4.png"><img class="alignnone size-full wp-image-2214" title="Adobe Digital Editions install - 4" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Editions-install-4.png" alt="" width="470" height="348" /></a></p>
<ul>
<li>Try to open .epub format e-book</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Edition.png"><img class="alignnone size-full wp-image-2215" title="Adobe Digital Edition" src="http://www.techkaki.com/wp-content/uploads/2011/05/Adobe-Digital-Edition.png" alt="" width="489" height="395" /></a></p>
<p>Besides <strong>Adobe Digital Editions</strong>, i tried to install Firefox add-on called <strong>EPUBReader</strong> to read ePub-files in the browser. With this Firefox add-on, you can read ePub files on multiple Operating System (Windows, Linux, Mac OS X, FreeBSD) without install additional software.</p>
<p>To install this Firefox Add-on, it is very easy to do it. Below are the few simple steps to show how to install it:-</p>
<p>&nbsp;</p>
<ul>
<li>Click <a href="https://addons.mozilla.org/en-us/firefox/addon/epubreader/">HERE</a> to download the EPUBReader add-on</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-Firefox-addon.png"><img class="alignnone size-full wp-image-2218" title="EPUBReader Firefox addon" src="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-Firefox-addon.png" alt="" width="481" height="371" /></a></p>
<ul>
<li>Click <strong>Add to Firefox</strong> button to begin the installation</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-add-on-download.png"><img class="alignnone size-full wp-image-2219" title="EPUBReader add-on download" src="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-add-on-download.png" alt="" width="460" height="145" /></a></p>
<ul>
<li>After download, click <strong>Install Now</strong></li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-install-now.png"><img class="alignnone size-full wp-image-2220" title="EPUBReader install now" src="http://www.techkaki.com/wp-content/uploads/2011/05/EPUBReader-install-now.png" alt="" width="372" height="250" /></a></p>
<ul>
<li>Restart the Firefox application</li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2011/05/Reboot-firefox.png"><img class="alignnone size-full wp-image-2221" title="Reboot firefox" src="http://www.techkaki.com/wp-content/uploads/2011/05/Reboot-firefox.png" alt="" width="358" height="147" /></a></p>
<p>How to use EPUBReader? Just view the following video:-</p>
<p>If you others way to read .epub files, please share with me by leave a comment. <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F05%2Fhow-to-open-epub-files%2F&amp;title=How%20to%20open%20.epub%20files" id="wpa2a_14"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/05/how-to-open-epub-files/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to update OpenSSH via Yum Centos/RedHat</title>
		<link>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/</link>
		<comments>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 04:38:04 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1967</guid>
		<description><![CDATA[Tweet It is easy to update your SSH via yum. To do so, simply SSH into your linux server. Once logged in, type the the following; #yum update openssh This will update the openssh process, openssh-clients and openssh-server. To verify what version of openssh you are running, you can type the following commend; #ssh -V [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/" data-text="How to update OpenSSH via Yum Centos/RedHat" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p>It is easy to update your SSH via yum. To do so, simply SSH into your linux server. Once logged in, type the the following;</p>
<blockquote><p><code>#<strong>yum update openssh</strong></code></p></blockquote>
<p><strong> </strong>This will update the openssh process, openssh-clients and openssh-server.</p>
<p>To verify what version of openssh you are running, you can type the following commend;</p>
<blockquote><p>#<strong>ssh -V</strong></p></blockquote>
<p>Your server will then reply back with the version;</p>
<blockquote><p>[root@XXXXXXX ~]# <strong>ssh -V</strong><br />
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008</p></blockquote>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2011%2F02%2Fhow-to-update-openssh-via-yum-centosredhat%2F&amp;title=How%20to%20update%20OpenSSH%20via%20Yum%20Centos%2FRedHat" id="wpa2a_16"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2011/02/how-to-update-openssh-via-yum-centosredhat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the default port for the SSH user</title>
		<link>http://www.techkaki.com/2010/12/how-to-change-the-default-port-for-the-ssh-user/</link>
		<comments>http://www.techkaki.com/2010/12/how-to-change-the-default-port-for-the-ssh-user/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 10:56:02 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1886</guid>
		<description><![CDATA[Tweet The default port for the SSH user is port 22. For a hacker to determine ssh is running on your machine, he&#8217;ll most likely scan port 22 to determine this. So, we better change our default port number to some other port. For instance, you want to run the ssh service on port 99 [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2010/12/how-to-change-the-default-port-for-the-ssh-user/" data-text="How to change the default port for the SSH user" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2010/12/how-to-change-the-default-port-for-the-ssh-user/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg"><img class="alignleft size-full wp-image-1625" title="linux" src="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg" alt="" width="42" height="51" /></a>The default port for the SSH user is port 22. For a  hacker to determine ssh is running on your machine, he&#8217;ll most likely  scan port 22 to determine this. So, we better change our default port number to some other port. For instance, you want to run the ssh service on port 99 instead of 22</p>
<p><span id="more-1886"></span>To make the change, use any of you text editor to open <tt>/etc/ssh/sshd_config</tt> file:</p>
<blockquote><p>vi /etc/sshd/sshd_config</p></blockquote>
<p>Search for the port setting. By default, the port setting is 22. Change port 22 to port 99, save and exit your text editor.</p>
<p>To test it, just open your terminal and type following command to login:</p>
<blockquote><p>ssh -p 99 root@techkaki.com</p></blockquote>
<p>Just try it <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2010%2F12%2Fhow-to-change-the-default-port-for-the-ssh-user%2F&amp;title=How%20to%20change%20the%20default%20port%20for%20the%20SSH%20user" id="wpa2a_18"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/12/how-to-change-the-default-port-for-the-ssh-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Setup User Password Expiration in Linux</title>
		<link>http://www.techkaki.com/2010/08/how-to-setup-user-password-expiration-in-linux/</link>
		<comments>http://www.techkaki.com/2010/08/how-to-setup-user-password-expiration-in-linux/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 11:11:54 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1819</guid>
		<description><![CDATA[Tweet By default, most Linux distributions do not enable password aging. This means passwords do not expire and is it possible for a user to have the same password indefinitely. This situation is not secure. For security reasons, it is advisable to require users to change their passwords periodically. Password aging is a mechanism that [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div class="contentSharer">
<div class="contentSharerPanel left"><a href="http://twitter.com/share" class="twitter-share-button" data-lang="" data-via="" data-url="http://www.techkaki.com/2010/08/how-to-setup-user-password-expiration-in-linux/" data-text="How to Setup User Password Expiration in Linux" data-count="horizontal">Tweet</a><iframe class="fb-like" height="25" width="90" scrolling="no" frameborder="0" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href=http://www.techkaki.com/2010/08/how-to-setup-user-password-expiration-in-linux/&amp;layout=button_count&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;action=like" class="facebooklike-layout-button-count"></iframe></div>
</div>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg"><img class="alignleft size-full wp-image-1625" title="linux" src="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg" alt="" width="41" height="50" /></a>By default, most Linux distributions do not enable password aging. This means passwords do not expire and is it possible for a user to have the same password indefinitely. This situation is not secure. For security reasons, it is advisable to require users to change their passwords periodically.</p>
<p>Password aging is a mechanism that allows the system to enforce a certain lifetime for passwords. The <strong>chage </strong>command is used to modify password aging.</p>
<p><code># chage [options] username<span id="more-1819"></span></code></p>
<p>Here are the common options used with the <strong>chage</strong> command:</p>
<table style="height: 177px;" border="1" width="499" summary="chage Command Line Options">
<thead>
<tr>
<th> Option</th>
<th> Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><tt>-m</tt> <em> <tt>&lt;days&gt;</tt> </em></td>
<td>minimum number of days between which the user must  change passwords.</td>
</tr>
<tr>
<td><tt>-M</tt> <em> <tt>&lt;days&gt;</tt> </em></td>
<td>maximum number of days for which the password is  valid.</td>
</tr>
<tr>
<td><tt>-d</tt> <em> <tt>&lt;days&gt;</tt> </em></td>
<td>Specifies the number of days since January 1, 1970 the password was changed</td>
</tr>
<tr>
<td><tt>-I</tt> <em> <tt>&lt;days&gt;</tt> </em></td>
<td>number of inactive days after the password  expiration before locking the account.</td>
</tr>
<tr>
<td><tt>-E</tt> <em> <tt>&lt;date&gt;</tt> </em></td>
<td>expire the account on this date (YYYY-MM-DD format)</td>
</tr>
<tr>
<td><tt>-W</tt> <em> <tt>&lt;days&gt;</tt> </em></td>
<td>number of days before a required change to start warnings</td>
</tr>
</tbody>
</table>
<p>Below are few example on how to use <strong>chage</strong> command:-</p>
<p><tt><strong> </strong></tt>a) Displays the help information</p>
<p>Just type <strong>chage</strong> command<tt><strong> </strong></tt></p>
<blockquote><p>[root@myopensos ~]# chage<br />
Usage: chage [options] user</p>
<p>Options:<br />
-d, &#8211;lastday LAST_DAY    set last password change to LAST_DAY<br />
-E, &#8211;expiredate EXPIRE_DATE    set account expiration date to EXPIRE_DATE<br />
-h, &#8211;help            display this help message and exit<br />
-I, &#8211;inactive INACTIVE    set password inactive after expiration<br />
to INACTIVE<br />
-l, &#8211;list            show account aging information<br />
-m, &#8211;mindays MIN_DAYS    set minimum number of days before password<br />
change to MIN_DAYS<br />
-M, &#8211;maxdays MAX_DAYS    set maximim number of days before password<br />
change to MAX_DAYS<br />
-W, &#8211;warndays WARN_DAYS    set expiration warning days to WARN_DAYS</p></blockquote>
<h3>List the password and its related details for an user</h3>
<p>b) Show account aging information</p>
<p>Just type <strong>chage -l username</strong> or <strong>chage &#8211;list username</strong></p>
<blockquote><p>[root@myopensos ~]# chage -l techkaki<br />
Last password change                    : Aug 19, 2010<br />
Password expires                    : never<br />
Password inactive                    : never<br />
Account expires                        : never<br />
Minimum number of days between password change        : 0<br />
Maximum number of days between password change        : 99999<br />
Number of days of warning before password expires    : 7</p></blockquote>
<p>c) Set Password Expiry Date</p>
<p>Example, user techkaki password is set to expire 3 days from the last password change.<br />
<code> </code><br />
Note: both “Password expires” and  “Maximum number of days between password change” entries as shown below.</p>
<blockquote><p>[root@myopensos ~]# chage -M 3 techkaki<br />
[root@myopensos ~]# chage -l techkaki<br />
Last password change                    : Aug 19, 2010<br />
Password expires                    : Aug 22, 2010<br />
Password inactive                    : never<br />
Account expires                        : never<br />
Minimum number of days between password change        : 0<br />
Maximum number of days between password change        : 3<br />
Number of days of warning before password expires    : 7</p></blockquote>
<p>d) To disable password aging for an user account</p>
<p>To turn off the password expiration for an user account, set the following:</p>
<ul>
<li><strong>-m 0</strong> will set the minimum number of days between password change to 0</li>
<li><strong>-M 99999</strong> will set the maximum number of days between password change to 99999</li>
<li><strong>-I -1</strong> (number minus one) will set the “Password inactive” to never</li>
<li><strong>-E -1</strong> (number minus one) will set “Account expires” to never.</li>
</ul>
<blockquote><p>[root@myopensos ~]# chage -m 0 -M 99999 -I -1 techkaki<br />
[root@myopensos ~]# chage &#8211;list techkaki<br />
Last password change                    : Aug 19, 2010<br />
Password expires                    : never<br />
Password inactive                    : never<br />
Account expires                        : never<br />
Minimum number of days between password change        : 0<br />
Maximum number of days between password change        : 99999<br />
Number of days of warning before password expires    : 7</p></blockquote>
<p>e) To set Account Expiry Date for an user</p>
<p>With option <strong>-E</strong>, You can set the account expiry date</p>
<blockquote><p>[root@myopensos ~]# chage -E &#8220;2010-08-20&#8243; techkaki<br />
[root@myopensos ~]# chage -l techkaki<br />
Last password change                    : Aug 19, 2010<br />
Password expires                    : never<br />
Password inactive                    : never<br />
Account expires                        : Aug 20, 2010<br />
Minimum number of days between password change        : 0<br />
Maximum number of days between password change        : 99999<br />
Number of days of warning before password expires    : 7</p></blockquote>
<p>If you want to know more on how to use <strong>chage</strong> command, please type <strong>man chage</strong> to view the manual. <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.techkaki.com%2F2010%2F08%2Fhow-to-setup-user-password-expiration-in-linux%2F&amp;title=How%20to%20Setup%20User%20Password%20Expiration%20in%20Linux" id="wpa2a_20"><img src="http://www.techkaki.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/08/how-to-setup-user-password-expiration-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

