<?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>DebianZone &#187; smanne</title>
	<atom:link href="http://debianzone.org/author/smanne/feed/" rel="self" type="application/rss+xml" />
	<link>http://debianzone.org</link>
	<description>All About Debian</description>
	<lastBuildDate>Tue, 29 Jun 2010 11:18:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install and configure FTP Server</title>
		<link>http://debianzone.org/how-to-install-and-configure-ftp-server/</link>
		<comments>http://debianzone.org/how-to-install-and-configure-ftp-server/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 11:15:50 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://debianzone.org/how-to-install-and-configure-ftp-server/</guid>
		<description><![CDATA[	There are lots of ftp servers available for linux, proftpd is one of the popular server available for Debian, so in this tutorial we will deal with installing and configring proftpd server on Debian
To install proftpd server 

apt-get install proftpd

While installing there is a option to choose the type of installation, whether it is standalone [...]]]></description>
			<content:encoded><![CDATA[<p>	There are lots of ftp servers available for linux, proftpd is one of the popular server available for Debian, so in this tutorial we will deal with installing and configring proftpd server on Debian</p>
<p>To install proftpd server </p>
<pre class="brush: bash;">
apt-get install proftpd
</pre>
<p>While installing there is a option to choose the type of installation, whether it is standalone or inetd installation, normally we need standalone installation, After installation the server will start automatically.<br />
<span id="more-114"></span><br />
To start ftp server</p>
<pre class="brush: bash;">
/etc/init.d/proftpd start
</pre>
<p>To stop ftp server</p>
<pre class="brush: bash;">
/etc/init.d/proftpd stop
</pre>
<p>Now we will go through configuration of ftp server<br />
proftpd configuration file is located at  <em>/etc/proftpd/proftpd.conf</em><br />
To edit configuration use</p>
<pre class="brush: bash;">
vi /etc/proftpd/proftpd.conf
</pre>
<p>Default configuration file can be found <a href="http://debianzone.org/wp-content/uploads/2010/06/proftpconfdefault.txt" target="_blank">here</a></p>
<p>By default proftpd will give access to the home path (to know home directory of users <em>cat /etc/passwd</em>)</p>
<pre class="brush: bash;">
DefaultRoot ~

// This will limit the user smanne to /var/www/ folder
DefaultRoot /var/www/ smanne
</pre>
<p>To change default file permissions </p>
<pre class="brush: bash;">
// this will give default 755 permission to all the new and updated files
Umask                           022  022 

// this will give 775 permission,
Umask 			      002  002
</pre>
<p>You can also change the port number, max connections, </p>
<p>For more proftpd configurations refer &#8211; <a href="http://www.proftpd.org/docs/example-conf.html" target="_blank">http://www.proftpd.org/docs/example-conf.html</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fhow-to-install-and-configure-ftp-server%2F&amp;linkname=How%20to%20install%20and%20configure%20FTP%20Server">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/how-to-install-and-configure-ftp-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySql Database Replication</title>
		<link>http://debianzone.org/mysql-database-replication/</link>
		<comments>http://debianzone.org/mysql-database-replication/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 10:46:31 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://debianzone.org/mysql-database-replication/</guid>
		<description><![CDATA[When we search for `Database Replication` we will find lots of tutorials, so here I wont add new one, I am just highlighting one of the best tutorials to refer.
http://www.howtoforge.com/mysql_database_replication
	This article contains simple copy &#038; paste steps to configure MySql replication, if you need more detailed indepth explanation on different configuration settings then go to [...]]]></description>
			<content:encoded><![CDATA[<p>When we search for `Database Replication` we will find lots of tutorials, so here I wont add new one, I am just highlighting one of the best tutorials to refer.</p>
<p>http://www.howtoforge.com/mysql_database_replication</p>
<p>	This article contains simple copy &#038; paste steps to configure MySql replication, if you need more detailed indepth explanation on different configuration settings then go to </p>
<p>http://dev.mysql.com/doc/refman/5.0/en/replication.html</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fmysql-database-replication%2F&amp;linkname=MySql%20Database%20Replication">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/mysql-database-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Stress Test tool</title>
		<link>http://debianzone.org/mysql-stress-test-tool/</link>
		<comments>http://debianzone.org/mysql-stress-test-tool/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:33:50 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://debianzone.org/?p=106</guid>
		<description><![CDATA[Recently we moved a client from virtual host to amazon ec2 3 tier architecture then we thought of providing benchmark test report to show the Improvement, then we searched for simple straight forward tools, but we haven`t found, then I started to write a java code to benchmark by stressing mysql server.
It performed well, so [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we moved a client from virtual host to amazon ec2 3 tier architecture then we thought of providing benchmark test report to show the Improvement, then we searched for simple straight forward tools, but we haven`t found, then I started to write a java code to benchmark by stressing mysql server.</p>
<p>It performed well, so being a fan of open source, thought of releasing that code and uploaded it to google code. Here is the link</p>
<p>Downloadable binary is not yet posted you need to compile it from source code<span id="more-106"></span></p>
<p>If you come across any bugs or improvements please feed us back.</p>
<p><strong>Screenshots</strong></p>
<p><strong> </strong></p>
<div class="wp-caption alignnone" style="width: 545px"><a href="http://code.google.com/p/mysql-stress-test/"><img class="  " title="Test server, you need to start server on all servers from where u need to test " src="http://lh3.ggpht.com/__jmSzAqBb4Y/S88T9q-BSgI/AAAAAAAAI50/acHtB8T_iHE/Screenshot-2.png" alt="Test server, you need to start server on all servers from where u need to test " width="535" height="233" /></a><br />
<p class="wp-caption-text">Test server, you need to start server on all servers from where u need to test </p></div>
<div class="wp-caption alignnone" style="width: 584px"><a href="http://code.google.com/p/mysql-stress-test/"><img class="  " title="Monitoring server with MySQL admin while testing " src="http://lh5.ggpht.com/__jmSzAqBb4Y/S88T-HjZ12I/AAAAAAAAI6A/zdqRB3w5Phw/s1024/Screenshot-5.png" alt="Monitoring server with MySQL admin while testing " width="574" height="278" /></a><p class="wp-caption-text">Monitoring server with MySQL admin while testing </p></div>
<p><strong> </strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fmysql-stress-test-tool%2F&amp;linkname=MySQL%20Stress%20Test%20tool">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/mysql-stress-test-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script to start a instance in amazon ec2</title>
		<link>http://debianzone.org/script-to-start-a-instance-in-amazon-ec2/</link>
		<comments>http://debianzone.org/script-to-start-a-instance-in-amazon-ec2/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 11:08:33 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://debianzone.org/?p=97</guid>
		<description><![CDATA[This script is used to start a instance in ec2, you can extended this script in the way you want, we keep on posting new scripts to work with ec2

#!/bin/bash

export EC2_HOME=/home/sandeep/ec2/ec2-api-tools-1.3-46266
PATH=$EC2_HOME/bin:$PATH
export EC2_PRIVATE_KEY=/home/sandeep/ec2/pk-XXXXXXXXXXXXXXXXXXXXXXXX.pem
export EC2_CERT=/home/sandeep/ec2/cert-XXXXXXXXXXXXXXXXXXXXXXXX.pem
export EC2_URL=https://us-east-1.ec2.amazonaws.com
export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre/

export amiid=&#34;ami-0d5db264&#34;
export key=&#34;xxxxsshkeyxxxx&#34;
export zone=&#34;us-east-1d&#34;
export id_file=&#34;/home/sandeep/ec2/keyxxx.pem&#34;
export group=&#34;default&#34;

#
# Start the instance
#
echo Launching AMI ${amiid}
${EC2_HOME}/bin/ec2-run-instances ${amiid} -z ${zone}
       [...]]]></description>
			<content:encoded><![CDATA[<p>This script is used to start a instance in ec2, you can extended this script in the way you want, we keep on posting new scripts to work with ec2</p>
<pre class="brush: bash;">
#!/bin/bash

export EC2_HOME=/home/sandeep/ec2/ec2-api-tools-1.3-46266
PATH=$EC2_HOME/bin:$PATH
export EC2_PRIVATE_KEY=/home/sandeep/ec2/pk-XXXXXXXXXXXXXXXXXXXXXXXX.pem
export EC2_CERT=/home/sandeep/ec2/cert-XXXXXXXXXXXXXXXXXXXXXXXX.pem
export EC2_URL=https://us-east-1.ec2.amazonaws.com
export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre/

export amiid=&quot;ami-0d5db264&quot;
export key=&quot;xxxxsshkeyxxxx&quot;
export zone=&quot;us-east-1d&quot;
export id_file=&quot;/home/sandeep/ec2/keyxxx.pem&quot;
export group=&quot;default&quot;

#
# Start the instance
#
echo Launching AMI ${amiid}
${EC2_HOME}/bin/ec2-run-instances ${amiid} -z ${zone}
                         -k ${key} --group ${group}  &gt; /tmp/a
if [ $? != 0 ]; then
   echo &quot;Error starting instance for image&quot; ${amiid}
   exit 1
fi
export iid=`cat /tmp/a | grep INSTANCE | cut -f2`

#
# Loop until the status changes to 'running'
#
sleep 30
echo Starting instance ${iid}
export RUNNING=&quot;running&quot;
export done=&quot;false&quot;
while [ $done == &quot;false&quot; ]
do
   export status=`${EC2_HOME}/bin/ec2-describe-instances ${iid} | grep INSTANCE | cut -f6`
   if [ $status == ${RUNNING} ]; then
      export done=&quot;true&quot;
   else
      echo Waiting...
      sleep 10
   fi
done
echo Instance ${iid} is running
</pre>
<p>Please feel free to post any comments or errors XX</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fscript-to-start-a-instance-in-amazon-ec2%2F&amp;linkname=Script%20to%20start%20a%20instance%20in%20amazon%20ec2">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/script-to-start-a-instance-in-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page level caching using nginx</title>
		<link>http://debianzone.org/page-level-caching-using-nginx/</link>
		<comments>http://debianzone.org/page-level-caching-using-nginx/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 17:16:35 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://debianzone.org/?p=74</guid>
		<description><![CDATA[Many of our dynamic sites contain rarely updated content (ex. blog archive page). By adding nginx server as proxy server infront of your apache server you can server those pages like static pages instead of running the page for every request, this will boost your site speed from 50% &#8211; 400%.
We need apache, nginx to [...]]]></description>
			<content:encoded><![CDATA[<p>Many of our dynamic sites contain rarely updated content (ex. blog archive page). By adding nginx server as proxy server infront of your apache server you can server those pages like static pages instead of running the page for every request, this will boost your site speed from <strong>50% &#8211; 400%.</strong></p>
<p>We need apache, nginx to work with this tutorial<br />
To install nginx on debian please follow this link</p>
<p>http://timothybowler.com/2009/11/25/compiling-nginx-on-debian-lenny/</p>
<p><strong>Note:</strong> Dont install using aptitude it contains older version where gzip and proxy module not available,</p>
<p>Modify apache ports.conf to run apache on port 8080</p>
<p><em>Add this lines to default site of nginx </em>
<pre class="brush: bash;">
server {
listen 80;
server_name debianzone.com;
location / {
proxy_pass http://debianzone.com:8080;
proxy_cache debianzone-cache;
proxy_cache_valid  200 302  60m;
proxy_cache_valid  404      1m;
}
} </pre>
<p><em>Add this in http section of nginx.conf</em>
<pre class="brush: bash;">
http {
proxy_cache_path  /var/www/cache levels=1:2 keys_zone=debianzone-cache:8m max_size=1000m inactive=600m;
proxy_temp_path /var/www/cache/tmp;
}
</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fpage-level-caching-using-nginx%2F&amp;linkname=Page%20level%20caching%20using%20nginx">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/page-level-caching-using-nginx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Chrome released for debian distros</title>
		<link>http://debianzone.org/chrome-released-for-debian-distros/</link>
		<comments>http://debianzone.org/chrome-released-for-debian-distros/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 10:07:34 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://debianzone.org/chrome-released-for-debian-distros/</guid>
		<description><![CDATA[Finally google released chrome browser for debian based distros. After running for hours i feel its stable and working fine
Download Google chrome for Debian
For developers it has developer tools which looks like firebug, but it`s not so power full like firebug, to open developer tools click
ctrl + shift + i
It also supports extensions and themes
At [...]]]></description>
			<content:encoded><![CDATA[<p>Finally google released chrome browser for debian based distros. After running for hours i feel its stable and working fine</p>
<p><a href="http://www.google.com/chrome/eula.html?platform=linux_ubuntu_i386">Download Google chrome for Debian</a></p>
<p>For developers it has developer tools which looks like firebug, but it`s not so power full like firebug, to open developer tools click</p>
<pre>ctrl + shift + i</pre>
<p>It also supports <a href="https://chrome.google.com/extensions">extensions</a> and <a href="https://tools.google.com/chrome/intl/en/themes/index.html">themes</a></p>
<p>At present i can say it as just an alternate browser, but not total replacement for firefox, let me test the stability of chrome for some more time</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=52433f20-75a3-834c-916f-88025056635c" alt="" /></div>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fchrome-released-for-debian-distros%2F&amp;linkname=Chrome%20released%20for%20debian%20distros">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/chrome-released-for-debian-distros/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing host name of Linux server</title>
		<link>http://debianzone.org/changing-host-name-of-linux-server/</link>
		<comments>http://debianzone.org/changing-host-name-of-linux-server/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 11:59:40 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=43</guid>
		<description><![CDATA[To change the host name of current session use
/bin/hostname your-host-name
To change the host name permanently use
/etc/hostname
/etc/init.d/hostname.sh start
Share/Bookmark]]></description>
			<content:encoded><![CDATA[<p>To change the host name of current session use
<pre>/bin/hostname your-host-name</pre>
<p>To change the host name permanently use
<pre>/etc/hostname
/etc/init.d/hostname.sh start</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fchanging-host-name-of-linux-server%2F&amp;linkname=Changing%20host%20name%20of%20Linux%20server">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/changing-host-name-of-linux-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tools to monitor linux apache server</title>
		<link>http://debianzone.org/tools-to-monitor-linux-apache-server/</link>
		<comments>http://debianzone.org/tools-to-monitor-linux-apache-server/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 08:57:59 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Log analyzer]]></category>
		<category><![CDATA[Log reader]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=40</guid>
		<description><![CDATA[The following tools are usefull to linux administration and monitoring
RRDTool: RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. Use it to write your custom monitoring shell scripts or create whole applications using its Perl, Python, Ruby, TCL or PHP bindings.
AWStats: AWStats is a free powerful and [...]]]></description>
			<content:encoded><![CDATA[<p>The following tools are usefull to linux administration and monitoring</p>
<p><strong>RRDTool: </strong>RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. Use it to write your custom monitoring shell scripts or create whole applications using its Perl, Python, Ruby, TCL or PHP bindings.<img class="alignnone" title="RRD Tool" src="http://oss.oetiker.ch/rrdtool/stream-pop.png" alt="" width="400" height="129" /></p>
<p><span id="more-40"></span><strong>AWStats: </strong>AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages.</p>
<p><img class="alignnone" title="AWStats Screen shot" src="http://awstats.sourceforge.net/docs/images/screen_shot_3.png" alt="" width="120" height="90" /></p>
<p><strong>Analog: </strong>Analog is a program to measure the usage on your web server.       It tells you which pages are most popular, which countries people are       visiting from, which sites they tried to follow broken links from,       and all sorts of other useful information.</p>
<p><img class="alignnone" title="Analog Log sample" src="http://www.chiark.greenend.org.uk/~sret1/stats/browsum.png" alt="" width="600" height="270" /></p>
<p><strong>Piwik: </strong>Piwik is a downloadable, open source (GPL licensed) web analytics software program. It provides you with detailed real time reports on your website visitors: the search engines and keywords they used, the language they speak, your popular pages…</p>
<p>Piwik aims to be an open source alternative to <a href="http://google.com/analytics" target="_blank">Google Analytics</a>.</p>
<p>Piwik is a PHP MySQL software program that you download and install on your own webserver. At the end of the five minute installation process you will be given a JavaScript tag. Simply copy and paste this tag on websites you wish to track (or use an <a href="http://piwik.org/faq/plugins/#faq_20">existing plugin</a> to do it automatically for you).</p>
<p><img class="alignnone" title="Piwik Screen shot" src="http://piwik.org/blog/wp-content/uploads/2008/11/piwik-e280ba-web-analytics-reports7.png" alt="" width="622" height="367" /></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Ftools-to-monitor-linux-apache-server%2F&amp;linkname=Tools%20to%20monitor%20linux%20apache%20server">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/tools-to-monitor-linux-apache-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free ubuntu CD</title>
		<link>http://debianzone.org/free-ubuntu-cd/</link>
		<comments>http://debianzone.org/free-ubuntu-cd/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 17:47:33 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[free cd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://debianzone.com/?p=33</guid>
		<description><![CDATA[If you are facing problem in downloading large files of linux distibutions, Ubuntu is giving a great offer, you can request free CDs from ubuntu it is totally free and ships to any part of world.
Request Free CD
Share/Bookmark]]></description>
			<content:encoded><![CDATA[<p>If you are facing problem in downloading large files of linux distibutions, Ubuntu is giving a great offer, you can request free CDs from ubuntu it is totally free and ships to any part of world.</p>
<p><a href="https://shipit.ubuntu.com/" target="_blank">Request Free CD</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Ffree-ubuntu-cd%2F&amp;linkname=Free%20ubuntu%20CD">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/free-ubuntu-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail alert for ssh login</title>
		<link>http://debianzone.org/mail-alert-for-ssh-login/</link>
		<comments>http://debianzone.org/mail-alert-for-ssh-login/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 17:38:27 +0000</pubDate>
		<dc:creator>smanne</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[mail alert]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://debianzone.com/mail-alert-for-ssh-login/</guid>
		<description><![CDATA[To get a mail when some logged into your linux system then follow this steps
Edit .bashrc in root folder /root

vi .bashrc

Add following line at end of the file

echo 'ALERT - Root Shell Access (server name) on:' `date`
 `who` &#124; mail -s &#34;Alert: Root Access from `who &#124; cut -d&#34;(&#34; -f2 &#124; cut -d&#34;)&#34;
 -f1`&#34; yourmail@gmail.com
Share/Bookmark]]></description>
			<content:encoded><![CDATA[<p>To get a mail when some logged into your linux system then follow this steps<br />
Edit .bashrc in root folder /root</p>
<pre class="brush: bash;">
vi .bashrc
</pre>
<p>Add following line at end of the file</p>
<pre class="brush: bash;">
echo 'ALERT - Root Shell Access (server name) on:' `date`
 `who` | mail -s &quot;Alert: Root Access from `who | cut -d&quot;(&quot; -f2 | cut -d&quot;)&quot;
 -f1`&quot; yourmail@gmail.com</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fdebianzone.org%2Fmail-alert-for-ssh-login%2F&amp;linkname=Mail%20alert%20for%20ssh%20login">Share/Bookmark</a>]]></content:encoded>
			<wfw:commentRss>http://debianzone.org/mail-alert-for-ssh-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->