<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3599573262568047988</id><updated>2012-01-07T13:22:09.449+05:30</updated><category term='Scripts'/><title type='text'>Psycho Tux</title><subtitle type='html'>This is an attempt by me to explore articles and News related with Technology(especially IT),Film,Art,etc

  Actually this is my personal documentation area where I keep projects' documents and the Tutorials I have read through in the Internet.

    Have a look and let me know your opinion</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.psychotux.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>69</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7428001154157676244</id><published>2011-03-21T16:25:00.001+05:30</published><updated>2011-03-21T16:30:52.742+05:30</updated><title type='text'>Accurate calculation of memory utilization in Linux</title><summary type='text'>Hi,  We use ps aux | awk '{sum +=$4}; END {print sum}' to find the total memory utilization excluding the buffers and cache. This one manipulates the wrong data at some instances. No idea why  . So in  addition to this we can adopt the below commands as wel..free -m | grep "+" | awk {'print $3/$4*100'}or more handyU=`free -m | grep "+" | awk {'print $3'}`;F=`free -m | grep "+" | awk {'print $4'}</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7428001154157676244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7428001154157676244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7428001154157676244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7428001154157676244'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2011/03/accurate-calculation-of-memory.html' title='Accurate calculation of memory utilization in Linux'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-129626660869491765</id><published>2011-01-12T20:41:00.002+05:30</published><updated>2011-01-12T20:50:28.225+05:30</updated><title type='text'>Check remote UDP connectivity from Linux</title><summary type='text'>Hi there,   You all know how to check TCP port connectivity from a Linux or UNIX machine to a remote machine using telnet as per th example below$ telnet 127.0.0.1 25 but we can't adopt TELNET to check UDP connectivity.    Linux and most of the UNIXes come with a network layer utility called nc (abbreviation for netcat) which is very useful to check UDP connectivity and to explore a lot with both</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/129626660869491765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=129626660869491765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/129626660869491765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/129626660869491765'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2011/01/check-remote-udp-connectivity-from.html' title='Check remote UDP connectivity from Linux'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4002697267925206468</id><published>2010-11-12T02:29:00.001+05:30</published><updated>2010-11-12T02:32:28.106+05:30</updated><title type='text'>Merge a number of files or file contents</title><summary type='text'>#!/bin/bash# Script to create a CSV formatted text with a file of a few lines having one entry per line.# This will merge the files line by linefor i in `cat test`; do echo $i &gt; out/$i.out; done;paste -d, out/*</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4002697267925206468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4002697267925206468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4002697267925206468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4002697267925206468'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2010/11/merge-number-of-files-or-file-contents.html' title='Merge a number of files or file contents'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6797856478121722870</id><published>2010-10-17T11:41:00.004+05:30</published><updated>2010-10-17T12:04:50.382+05:30</updated><title type='text'>Problem with passwordless SSH as ROOT equivalent user</title><summary type='text'>Password less SSH using RSA/DSA public key helps a lot in automated file copying, scripts, cron, etc. but there found a trouble when a root equivalent user will try this mechanism.   It wont work if you just copy/append the public key to remote server's ~/.ssh/authorized_keys. The wrong thing here is when you generate public key it will make one with username root instead of the real user's name </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6797856478121722870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6797856478121722870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6797856478121722870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6797856478121722870'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2010/10/problem-with-passwordless-ssh-as-root.html' title='Problem with passwordless SSH as ROOT equivalent user'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1550355957198548563</id><published>2010-02-23T18:49:00.003+05:30</published><updated>2010-02-27T15:48:00.232+05:30</updated><title type='text'>Backup of CRON list and jobs</title><summary type='text'>#!/bin/bashcd /opt/psycho/mkdir `hostname`_cronsOUT=`hostname`_crons&gt; crons.txt&gt; $OUT/cronlistfor i in `ls /var/spool/cron/`do   grep $i /etc/passwd   if [ $? = 0 ]   then                {                 crontab -u $i -l &gt;&gt; $OUT/$i.cron     crontab -u $i -l | grep -v "^#" | sort | uniq | awk {'print $6'} &gt;&gt; crons.txt     crontab -u $i -l | grep -v "^#" | sort | uniq | awk {'print $7'} &gt;&gt; </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1550355957198548563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1550355957198548563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1550355957198548563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1550355957198548563'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2010/02/automated-cron-backup.html' title='Backup of CRON list and jobs'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5119277545731064645</id><published>2010-02-09T02:15:00.001+05:30</published><updated>2010-02-09T02:15:55.803+05:30</updated><title type='text'>SSH Launcher</title><summary type='text'>#!/bin/bashecho Select the hostname to SSHHOSTS=/home/psychotux/scripts/conf/hosts.txtcat $HOSTS | cut -f3 -d'|'read hostecho Enter your username numberIP=`grep $host $HOSTS | cut -f2 -d'|'`ssh "$user"@$IPNote: /home/psychotux/scripts/conf/hosts.txt will be a file with values HOSTNAME and IP ADDRESS separated by "|"</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5119277545731064645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5119277545731064645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5119277545731064645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5119277545731064645'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2010/02/ssh-launcher.html' title='SSH Launcher'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8802189901091234744</id><published>2009-12-17T16:20:00.001+05:30</published><updated>2009-12-17T16:21:44.082+05:30</updated><title type='text'>SED-Replace multiple lines with a single line</title><summary type='text'>A useful option of sed command to replace multiple lines with a single line upon matching a given string.  $ cat -n file.txtHello worldHello nobodynobodySomebodyanybody If you want to replace the lines 2 and 3 with another line "Hello everybody" the below command will help. $ sed '/nobody$/{N;s/Hello nobody\nnobody/Hello everybody/}' file.txt $ cat -n file.txt     1  hello world     2  Hello </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8802189901091234744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8802189901091234744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8802189901091234744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8802189901091234744'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/12/sed-replace-multiple-lines-with-single.html' title='SED-Replace multiple lines with a single line'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1418432664848875503</id><published>2009-12-17T16:07:00.002+05:30</published><updated>2009-12-17T16:10:18.311+05:30</updated><title type='text'>SMTP authentication through TELNET</title><summary type='text'>It's common that we use TELNET to port 25 of Mail server to check the connectivity and to ensure the Mail flow.It's also possible to perform SMTP authentication in TELNET session$ telnet yourmailserver 25type “HELO”, hit Enter.AUTH LOGINNow you have to enter your email ID and then your password encoded in BASE64.For converting your email and password to Base64 use the conversion tools at WebPan </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1418432664848875503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1418432664848875503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1418432664848875503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1418432664848875503'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/12/smtp-authentication-through-telnet.html' title='SMTP authentication through TELNET'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-992527287252882042</id><published>2009-12-17T15:58:00.000+05:30</published><updated>2009-12-17T15:59:10.511+05:30</updated><title type='text'>echo colourfully</title><summary type='text'># for i in `cat num.txt`; do echo -en '\E[3'$i'm'"\033[1mPsycho Tux\033[0m " ; done;# for i in `cat num.txt`; do echo -en '\E[47;3'$i'm'"\033[1mPsycho Tux\033[0m " ; done; # cat num.txt1234567890</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/992527287252882042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=992527287252882042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/992527287252882042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/992527287252882042'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/12/echo-colourfully.html' title='echo colourfully'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-217931760908883658</id><published>2009-12-17T15:54:00.003+05:30</published><updated>2009-12-17T15:57:45.372+05:30</updated><title type='text'>Block direct SSH to root, but not to root equivalent</title><summary type='text'>The PermitRootLogin no option of /etc/ssh/sshd_config will block all the users with UID 0. Below is an option to overcome this.# vi /etc/ssh/sshd_config###PermitRootLogin noAllowUsers newuser guest psychotux hariDenyUsers root # /etc/init.d/sshd restart Here users listed along with AllowUsers can be normal user or root equivalent.</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/217931760908883658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=217931760908883658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/217931760908883658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/217931760908883658'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/12/block-direct-ssh-to-root-but-not-to.html' title='Block direct SSH to root, but not to root equivalent'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6686935727206494520</id><published>2009-12-10T13:05:00.006+05:30</published><updated>2009-12-10T13:29:09.580+05:30</updated><title type='text'>Hardware clock failure in ISA system</title><summary type='text'>In ISA systems /sbin/hwclock will fail to fetch the Hardware clock and will throw an error similar to below.# hwclockselect() to /dev/rtc to wait for clock tick timed out# hwclock --showselect() to /dev/rtc to wait for clock tick timed out  But the --directisa option of hwclock will work here.# /sbin/hwclock --directisa   So as a permanent solution we can rename the existing binary /sbin/hwclock </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6686935727206494520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6686935727206494520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6686935727206494520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6686935727206494520'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/12/hardware-clock-failure-in-isa-system.html' title='Hardware clock failure in ISA system'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1768417210670464107</id><published>2009-04-27T19:24:00.001+05:30</published><updated>2009-04-27T19:26:04.973+05:30</updated><title type='text'>Basic Linux Configuration backup</title><summary type='text'>#!/bin/bashDATE=`date +%d%m%y`BKP=~/`hostname`.BACKUPS_$DATE/bin/mkdir -p $BKP/sbin/ifconfig &gt; $BKP/ifconfig/sbin/route -n &gt; $BKP/route/sbin/runlevel &gt; $BKP/runlevel/sbin/chkconfig --list | grep 3:on &gt; $BKP/chkconfig_init_3/sbin/chkconfig --list | grep 5:on &gt; $BKP/chkconfig_init_5/bin/hostname &gt; $BKP/hostnamelsmod &gt; $BKP/lsmodcat /etc/hosts &gt; $BKP/etc_hostscat /etc/resolv.conf &gt; $BKP/etc_resolv </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1768417210670464107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1768417210670464107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1768417210670464107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1768417210670464107'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/04/basic-linux-configuration-backup.html' title='Basic Linux Configuration backup'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5508525064809224817</id><published>2009-03-08T22:01:00.000+05:30</published><updated>2009-03-08T22:02:26.816+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>Script to find normal users above UID 500</title><summary type='text'>Script to find normal users above UID 500 and their Shell History. This works in Linux. Other NIXes may require modification.  #!/bin/bashUSERS=`grep ":5*:*:" /etc/passwd | grep "/bin/bash" | awk -F: '{print $1}'`HOME=`grep ":5*:*:" /etc/passwd | grep "/bin/bash" | awk -F: '{print $6}'`for i in $USERS        do                egrep -i "reboot|init|shutdown|halt|poweroff" `grep $i: /etc/passwd | </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5508525064809224817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5508525064809224817' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5508525064809224817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5508525064809224817'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/03/script-to-find-normal-users-above-uid.html' title='Script to find normal users above UID 500'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6720937827845532667</id><published>2009-03-01T03:17:00.006+05:30</published><updated>2009-03-01T03:26:28.051+05:30</updated><title type='text'>Ever alive SSH session</title><summary type='text'>If you are facing Session timeout issue whenever you are leaving an open session idle for some time you can make use of TCP Keepalive option in putty. 1. Open Putty2. Go to Connection-&gt;Seconds between keepalives(0 to turn off). Give a keepalive value here in seconds, preferably 120 or above. Advanced1. If you are using portaputty you can set it in config file .\putty\sessions\Default%20Settings. </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6720937827845532667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6720937827845532667' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6720937827845532667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6720937827845532667'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/03/ever-alive-ssh-session.html' title='Ever alive SSH session'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6662598740182339889</id><published>2009-02-10T13:41:00.003+05:30</published><updated>2009-02-10T13:49:51.039+05:30</updated><title type='text'>VSFTPD-chrooted user with limited directory access</title><summary type='text'>Create a user with home directory /foo. Otherwise we can create a normal user and then edit /etc/passwd to change the home directory (useradd hari -d /foo).  Here we chose the latter option since it's a sensible directory and we don't wnat to take risk by putting .bash files. # useradd hari# grep hari /etc/passwdhari:x:796:796::/home/hari:/bin/bashNow change the home directory to /foo# vi /etc/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6662598740182339889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6662598740182339889' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6662598740182339889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6662598740182339889'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/02/vsftpd-chrooted-user-with-limited.html' title='VSFTPD-chrooted user with limited directory access'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1867407144157138301</id><published>2009-01-21T22:40:00.003+05:30</published><updated>2009-01-21T22:45:19.040+05:30</updated><title type='text'>Restricting su Access to System and Shared Accounts</title><summary type='text'>This chapter shows how to restrict people from su-ing to system and shared accounts even if they know the passwords.Example for Restricting su Access to rootCreate a new group for each set of users that are allowed to su to the root# groupadd rootmembersAdd all users who are allowed to su to the root account to the new member groups created above.The following requirement will be configured:- </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1867407144157138301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1867407144157138301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1867407144157138301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1867407144157138301'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/01/restricting-su-access-to-system-and.html' title='Restricting su Access to System and Shared Accounts'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4907089558326062804</id><published>2009-01-21T22:27:00.001+05:30</published><updated>2009-01-21T22:30:27.373+05:30</updated><title type='text'>Lock user account on frequent login failures</title><summary type='text'>Add the following two lines highlighted in blue to the /etc/pam.d/system-auth file as shown below:auth required pam_env.soauth required pam_tally.so onerr=fail per_user deny=3 resetauth required pam_access.soauth sufficient pam_unix.so likeauth nullok try_first_passauth requisite pam_succeed_if.so uid &gt;= 500 quietauth required pam_deny.soaccount required pam_unix.soaccount required </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4907089558326062804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4907089558326062804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4907089558326062804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4907089558326062804'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/01/lock-user-account-on-frequent-login.html' title='Lock user account on frequent login failures'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6640535662297724281</id><published>2009-01-21T22:20:00.002+05:30</published><updated>2009-01-21T22:26:32.096+05:30</updated><title type='text'>Enforce stronger password in Linux</title><summary type='text'>The pam_cracklib module checks the password against dictionary words and other constraints.E.g. if you define password length minlen=10, then you will get 1 credit for e.g. using a single digit number in your password if you defined dredit=1. This means that pam_cracklib will accept a password of the length of minlen-credit. If you don't use a digit number, then the minimum length of the password</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6640535662297724281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6640535662297724281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6640535662297724281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6640535662297724281'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2009/01/enforce-stronger-password-in-linux.html' title='Enforce stronger password in Linux'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7228756516950222620</id><published>2008-12-24T09:33:00.011+05:30</published><updated>2008-12-25T17:38:46.600+05:30</updated><title type='text'>The best putty package available</title><summary type='text'>Bored of Black screened Task bar filling putty? Issues with porting Saved sessions from machine to machine? Do you like tabbed SSH sessions?    Start using portaputty instead of normal putty and link it with puttycm.    Puttycm supports sessions to be saved in its own Database files. You can use the Putty sessions you have saved already right inside putty. You can have any number of databases </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7228756516950222620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7228756516950222620' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7228756516950222620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7228756516950222620'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/12/best-putty-package-available.html' title='The best putty package available'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_h3s55wvQhgU/SVN2yoVHHtI/AAAAAAAAAGA/KruIGh-UnfI/s72-c/PuttyCM_portaputty.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4575008299873940616</id><published>2008-12-10T18:04:00.004+05:30</published><updated>2008-12-10T18:19:02.260+05:30</updated><title type='text'>screen for Remote assistance and chat</title><summary type='text'>screen is a UNIX utility for giving remote assistance/administration. Suppose an unskilled colleague of your own is struggling with a server at some remote location with no idea of troubleshooting a problem.  If you are able to solve that with keeping your colleague to watch how you are sorting out the issues you can use screen. First of all ask your colleague for the username which he used to </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4575008299873940616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4575008299873940616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4575008299873940616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4575008299873940616'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/12/screen-for-remote-assistance-and-chat.html' title='screen for Remote assistance and chat'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-545011753177696940</id><published>2008-12-08T00:29:00.003+05:30</published><updated>2008-12-08T00:32:55.917+05:30</updated><title type='text'>Run X11 programs after SSH and switch to another user</title><summary type='text'>This issue arises when you are logging in as root and trying to launch some X11 programs after doing a switch to user oracle.One solution is to login directly as the user as which you want to run thos X11 programs.     One more workaround is there.Here you can login as a different user. Thereafter run the below command  xauth list | grep  "`hostname`/"| grep `echo $DISPLAY | cut -f2 -d: | cut -f1</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/545011753177696940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=545011753177696940' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/545011753177696940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/545011753177696940'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/12/run-x11-programs-after-ssh-switch-to.html' title='Run X11 programs after SSH and switch to another user'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5336446842247033633</id><published>2008-11-25T15:26:00.001+05:30</published><updated>2008-11-25T15:26:28.414+05:30</updated><title type='text'>BASH script to delete older files</title><summary type='text'># BASH Script to find files having Modification time older than 7 days and to remove.# A provisional confirmation before deletiion has been included# System files starting with "." in their names are excluded from deletion# And exclusive files that are specifies in the exclusion list are prevented from being deleted#!/bin/bashDIR=/home/hariLIST=/home/hari/DELETE_LISTEXCLUSIONS=/home/hari/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5336446842247033633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5336446842247033633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5336446842247033633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5336446842247033633'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/11/bash-script-to-delete-older-files.html' title='BASH script to delete older files'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-3729278837224655044</id><published>2008-11-22T13:26:00.020+05:30</published><updated>2010-02-27T15:52:34.501+05:30</updated><title type='text'>Install Linux from a remote machine</title><summary type='text'>This comes into picture when one Admin doesn't have physical access to a system in which Linux needs to be installed. Here we need help from one person who is having physical access to that remote machine to get it booted from bootable media and to type the command shown below command at boot prompt.  Now anaconda will start to run and will pause at a particular moment showing the below message</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/3729278837224655044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=3729278837224655044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3729278837224655044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3729278837224655044'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/11/installing-linux-remotely.html' title='Install Linux from a remote machine'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_h3s55wvQhgU/SSe_YXiHlYI/AAAAAAAAAEE/j7RNQeZtesI/s72-c/text_telnet_ip.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-2843724174810141600</id><published>2008-09-22T20:41:00.004+05:30</published><updated>2008-11-25T14:10:35.054+05:30</updated><title type='text'>How to disable a specific command(s) for a certain user.</title><summary type='text'>Please follow the below steps to disable a specific command(s) for a certain user.# su - hari$ which rm   (Here rm command as an example)$ mkdir ~/bin$ ln -s /bin/* ~/bin/   (/bin is the PATH for rm)$ rm -rf ~/bin/rmTake the output of $PATH for this user$ echo $PATH &gt; MyPATH.txt  Edit this file and replace /bin with ~/binLogin as root$ su -# cat /home/hari/MyPATH.txt &gt;&gt; /home/hari/.bashrc    </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/2843724174810141600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=2843724174810141600' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2843724174810141600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2843724174810141600'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/09/how-to-disable-specific-commands-for.html' title='How to disable a specific command(s) for a certain user.'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6218894849037606347</id><published>2008-07-28T13:15:00.000+05:30</published><updated>2008-07-28T13:16:06.803+05:30</updated><title type='text'>Disable Media Check for cdrom</title><summary type='text'>Grub.confdma=off apci=off apm=off/etc/hdparm.confcommand_line {hdparm -d1 /dev/cdrom}command_line {hdparm -d1 /dev/cdrom1}sysctl.confdev.cdrom.check_media = 0</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6218894849037606347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6218894849037606347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6218894849037606347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6218894849037606347'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/07/disable-media-check-for-cdrom.html' title='Disable Media Check for cdrom'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8395635610015520362</id><published>2008-07-28T12:57:00.000+05:30</published><updated>2008-07-28T12:59:22.322+05:30</updated><title type='text'>MySQL Compilation</title><summary type='text'># groupadd mysql# useradd -g mysql -c "MySQL Server" mysql# tar zxf mysql-5.0.45.tar.gz# cd /usr/local/src/ mysql-5.0.45# .chown -R root.root *# ./configure \--prefix=/usr/local/mysql \--localstatedir=/usr/local/mysql/data \--disable-maintainer-mode \--with-mysqld-user=mysql \--with-unix-socket-path=/tmp/mysql.sock \--without-comment \--without-debug \# groupadd mysql# useradd -g mysql -c "MySQL </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8395635610015520362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8395635610015520362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8395635610015520362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8395635610015520362'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/07/mysql-compilation.html' title='MySQL Compilation'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-2043675112264146670</id><published>2008-07-28T12:55:00.001+05:30</published><updated>2008-07-28T12:57:30.394+05:30</updated><title type='text'>Open multiple tabs with Gnome-Tminal</title><summary type='text'>gnome-terminal --geometry=125x75 --tab -e "ssh192.168.0.67 -l myuser" --tab -e "ssh192.168.0.45 -l root" --tab -e "ssh 192.168.0.88 -lroot" --tab -e "ssh 192.168.1.145 -l root -p 22999"</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/2043675112264146670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=2043675112264146670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2043675112264146670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2043675112264146670'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/07/open-multiple-tabs-with-gnome-tminal.html' title='Open multiple tabs with Gnome-Tminal'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1352429670538010486</id><published>2008-07-28T12:54:00.000+05:30</published><updated>2008-07-28T12:55:03.801+05:30</updated><title type='text'>Set date from CLI</title><summary type='text'># date 030710532008dateFri Mar 7 10:53:01 IST 2008</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1352429670538010486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1352429670538010486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1352429670538010486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1352429670538010486'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/07/set-date-from-cli.html' title='Set date from CLI'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6023233776048289778</id><published>2008-03-11T11:35:00.003+05:30</published><updated>2008-07-28T13:17:01.743+05:30</updated><title type='text'>Bugzilla installation</title><summary type='text'>Reference bugzilla.orgDownload the latest Stable Release# cd /usr/local/src# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.0.3.tar.gz# tar xzf bugzilla-3.0.3.tar.gz# cd bugzilla-3.0.3   First,run the checksetup.pl script to check for any dependant packages that need to be installed# ./checksetup.pl --check-modules NOTE: You must run any commands listed below as root.************</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6023233776048289778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6023233776048289778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6023233776048289778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6023233776048289778'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/03/bugzilla-installation.html' title='Bugzilla installation'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1037821797910132928</id><published>2008-03-04T16:49:00.005+05:30</published><updated>2008-07-28T13:20:56.714+05:30</updated><title type='text'>Log Server using Syslog-NG</title><summary type='text'>Server - RHEL 5Stop Syslog and turn it off through Run Levels# service syslog stop# chkconfig syslog offDownload syslog-ng# cd /usr/local/src# wget http://www.balabit.com/downloads/files/eventlog/0.2/eventlog-0.2.5.tar.gz# tar xzf eventlog-0.2.5.tar.gz# cd eventlog-0.2.5# ./configure --prefix=/usr/local/eventlog# make # make install# cd /usr/local/src# wget http://www.balabit.com/downloads/files/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1037821797910132928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1037821797910132928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1037821797910132928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1037821797910132928'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/03/log-server-using-syslog-ng.html' title='Log Server using Syslog-NG'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1880909235513659014</id><published>2008-03-03T18:11:00.002+05:30</published><updated>2008-07-28T13:22:34.774+05:30</updated><title type='text'>Log Server using Syslog</title><summary type='text'>Log Server SetupAllow remote machines to Log# vi /etc/sysconfig/syslog Replaced   SYSLOGD_OPTIONS="-m 0" with   SYSLOGD_OPTIONS="-rm 0"Setup Log Rotation Policy   # vi /etc/logrotate.conf  daily  # keep 7 days worth of backlogs  rotate 7  # create new (empty) log files after rotating old ones  create  # uncomment this if you want your log files compressed  compress  # RPM packages drop log </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1880909235513659014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1880909235513659014' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1880909235513659014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1880909235513659014'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/03/log-server-using-syslog.html' title='Log Server using Syslog'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5223345677199579947</id><published>2008-03-03T17:38:00.006+05:30</published><updated>2008-03-04T16:56:06.463+05:30</updated><title type='text'>Apache SSL Certificate Creation</title><summary type='text'># cd /usr/local/apache# mkdir cert# cd cert1. Generate your own Certificate Authority (CA)  # openssl genrsa -out ca.key 4096  # openssl req -new -x509 -days 365 -key ca.key -out ca.crt2.Generate a server key and request for signing (csr)  # openssl genrsa  -out server.key 4096  # openssl req -new -key server.key -out server.csr3.Sign the certificate signing request (csr) with the self-created </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5223345677199579947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5223345677199579947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5223345677199579947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5223345677199579947'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/03/apache-ssl-certificate-creation.html' title='Apache SSL Certificate Creation'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-536539814782707818</id><published>2008-02-11T12:20:00.001+05:30</published><updated>2008-09-19T12:45:22.405+05:30</updated><title type='text'>Firewall Failover with CARP,PF and PFSYNC in OpenBSD 4.2 under VMWare ESX3</title><summary type='text'>CARP Setup----------Reference http://www.openbsd.org/faq/pf/carp.htmlCARP Master-----------# cat /etc/hostname.pcn1# ifconfig carp0 create# ifconfig pcn1 up# ifconfig carp0 vhid 2 pass mysecretpassword carpdev pcn1 advbase 1 advskew 1 state master PUB.LIC.IPA.DDR netmask 255.255.255.0 broadcast PUB.LIC.IPA.DDR# echo "inet PUB.LIC.IPA.DDR 255.255.255.0 PUB.LIC.IPA.DDR  vhid 2 pass mysecretpassword</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/536539814782707818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=536539814782707818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/536539814782707818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/536539814782707818'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/02/firewall-failover-with-carppf-and.html' title='Firewall Failover with CARP,PF and PFSYNC in OpenBSD 4.2 under VMWare ESX3'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-3430013173608101257</id><published>2008-01-16T12:19:00.000+05:30</published><updated>2008-01-16T14:07:09.019+05:30</updated><title type='text'>Squid dead but subsys locked</title><summary type='text'># /etc/init.d/squid status squid dead but subsys locked# df -h# rm -rf /var/run/squid.pid# rm -rf /var/lock/subsys/squid# tail -f /var/log/messages# tail -f /var/log/squid/cache.log# /etc/init.d/squid start2007/12/28 09:57:16| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu...2007/12/28 09:57:16| Process ID 267012007/12/28 09:57:16| With 1024 file descriptors available2007/12/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/3430013173608101257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=3430013173608101257' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3430013173608101257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3430013173608101257'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/01/squid-dead-but-subsys-locked.html' title='Squid dead but subsys locked'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7801540721885221363</id><published>2008-01-16T12:14:00.001+05:30</published><updated>2008-07-28T13:23:31.717+05:30</updated><title type='text'>Multiple Network connectivity issue in OpenBSD within VMWware</title><summary type='text'>Only the first NIC of each Virtual machine will work .None of the rest won't.So added a Virtual Network Resource for that Virtual machine in VMWare Control PanelBut it didn't work this time.Only the first NIC will work   So logged into the VMWare Virtual Console and checked the Virtual Switches and VLAN SettingsIt was clear that there is a Virtual Switch named "vSwitch0" And this switch contains </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7801540721885221363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7801540721885221363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7801540721885221363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7801540721885221363'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/01/multiple-network-connectivity-issue-in.html' title='Multiple Network connectivity issue in OpenBSD within VMWware'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-2269712455623933282</id><published>2008-01-16T12:01:00.001+05:30</published><updated>2008-07-28T13:23:59.934+05:30</updated><title type='text'>Auto Responder plugin in SquirrelMail</title><summary type='text'>1.Download the compatibility plugin and Local Auto Responder plugin from http://squirrelmail.org2.Extract it to the Squirrelmail - plugins directory  # pwd  /var/www/html/squirrelmail/plugins  # tar xzf compatibility-2.0.9-1.0.tar.gz  # cd compatibility3.Patch it to your squirrelmail version  # patch -p0 &lt; patches/compatibility_patch-1.4.11.diff  patching file ../../functions/strings.php4.</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/2269712455623933282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=2269712455623933282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2269712455623933282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2269712455623933282'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/01/auto-responder-plugin-in-squirrelmail.html' title='Auto Responder plugin in SquirrelMail'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7247032919499513707</id><published>2008-01-16T11:41:00.001+05:30</published><updated>2010-11-12T02:41:11.381+05:30</updated><title type='text'>Database Clustering with Sequoia</title><summary type='text'>Sequoia Installation in RHEL 5 with MyOsotis</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7247032919499513707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7247032919499513707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7247032919499513707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7247032919499513707'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2008/01/sequoia-installation-in-rhel-5-with.html' title='Database Clustering with Sequoia'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8932108880672182625</id><published>2007-12-29T09:31:00.000+05:30</published><updated>2007-12-29T09:49:00.532+05:30</updated><title type='text'>Swami Vivekananda</title><summary type='text'>When I Asked God for Brain &amp; BrownHe Gave Me Puzzles in Life to SolveWhen I Asked God for HappinessHe Showed Me Some Unhappy PeopleWhen I Asked God for WealthHe Showed Me How to Work HardWhen I Asked God for FavorsHe Showed Me Opportunities to Work HardWhen I Asked God for PeaceHe Showed Me How to Help OthersGod Gave Me Nothing I WantedHe Gave Me Everything I Needed    All that is real in me is </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8932108880672182625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8932108880672182625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8932108880672182625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8932108880672182625'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/swami-vivekananda.html' title='Swami Vivekananda'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6719595986280233177</id><published>2007-12-20T17:39:00.000+05:30</published><updated>2007-12-20T17:42:20.051+05:30</updated><title type='text'>Tunnel TCP connections over ICMP echo-reply/echo-request</title><summary type='text'>You can tunnel TCP connections over ICMP echo-reply/echo-request packets.You need a PingTunnel Server(called proxy) and a client both with the application PingTunnel installed on it . It is useful behind firewall.Follow this URL. Its all therePingTunnel</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6719595986280233177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6719595986280233177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6719595986280233177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6719595986280233177'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/tunnel-tcp-connections-over-icmp-echo.html' title='Tunnel TCP connections over ICMP echo-reply/echo-request'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6104866781339259823</id><published>2007-12-19T16:28:00.000+05:30</published><updated>2007-12-19T16:50:31.985+05:30</updated><title type='text'>SecureServer.sh</title><summary type='text'>#!/bin/bash########### SysCTL Hardening  ########## Disable ICMP routing redirects. Otherwise, your system could have its routing table misadjusted by an attacker sysctl -w net.ipv4.conf.all.accept_redirects=0#sysctl -w net.ipv6.conf.all.accept_redirects=0sysctl -w net.ipv4.conf.all.send_redirects=0#sysctl -w net.ipv6.conf.all.send_redirects=0#Disable IP source routing. The only use of IP source </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6104866781339259823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6104866781339259823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6104866781339259823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6104866781339259823'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/secureserversh.html' title='SecureServer.sh'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7673408087735748078</id><published>2007-12-18T20:03:00.000+05:30</published><updated>2007-12-18T20:04:02.664+05:30</updated><title type='text'>Limit number of Shell logins by a USER or GROUP</title><summary type='text'>To limit multiple Shell login by the same user on a Linux box you have to set a maximum number of logins in /etc/security/limits.conf for a user or a group.For example:# groupadd salesgroup# useradd -G salesgroup salesman1# useradd -G salesgroup salesmanager# echo "@salesgroup  -  maxlogins 10" &gt;&gt; /etc/security/limits.conf# echo "salesman1  -  maxlogins 5" &gt;&gt; /etc/security/limits.confHere the </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7673408087735748078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7673408087735748078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7673408087735748078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7673408087735748078'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/limit-number-of-shell-logins-by-user-or.html' title='Limit number of Shell logins by a USER or GROUP'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-565000073772505279</id><published>2007-12-10T18:33:00.000+05:30</published><updated>2007-12-11T12:23:52.242+05:30</updated><title type='text'>Starting httpd: execvp: No such file or directory    [FAILED]</title><summary type='text'>I downloaded the source for the latest Apache HTTP and installed it 1. ./configure --enable-so 2. make3. make install When  I ran# /usr/local/apache2/bin/apachectl startit was fine. But it began to show errors when I tried to run  # /etc/init.d/httpd start  My  /etc/init.d/httpd is as follows     . /etc/rc.d/init.d/functions      case "$1" in      start)      echo -n "Starting httpd: "      </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/565000073772505279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=565000073772505279' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/565000073772505279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/565000073772505279'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/starting-httpd-execvp-no-such-file-or.html' title='Starting httpd: execvp: No such file or directory    [FAILED]'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1050614121242460371</id><published>2007-12-07T17:49:00.000+05:30</published><updated>2008-01-18T16:15:07.360+05:30</updated><title type='text'>How to Disable Alt+Ctrl+Bksp and Ctrl+Alt+Function Keys</title><summary type='text'>System administrators should be aware that now there is the ability to turn off switching to text mode virtual terminals via CTL-ALT-FunctionKey. This can come in handy when locking down a system (such when a Linux box is used as a kiosk) when used in conjunction with disabling CTL-ALT-BKSP (forceful kill of the X server). To do this, edit your /etc/X11/XF86Config or /etc/X11/xorg.conf and add </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1050614121242460371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1050614121242460371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1050614121242460371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1050614121242460371'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/12/how-to-disable-altctrlbksp-and.html' title='How to Disable Alt+Ctrl+Bksp and Ctrl+Alt+Function Keys'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7303032406521909855</id><published>2007-11-22T10:11:00.001+05:30</published><updated>2008-07-28T13:25:17.209+05:30</updated><title type='text'>Tunneling TCP Services over HTTP(S)</title><summary type='text'>HTTP Tunnel Definition    HTTP Tunneling is a technique by which communications performed using various networkprotocols are encapsulated using the HTTP protocol, the network protocols in question usually belonging to the TCP/IP family of protocols. The HTTP protocol therefore acts as a wrapper for a covert channel that the network protocol being tunneled uses to communicate.The HTTP stream with </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7303032406521909855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7303032406521909855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7303032406521909855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7303032406521909855'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/tunneling-ssh-over-https.html' title='Tunneling TCP Services over HTTP(S)'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8082068656797341369</id><published>2007-11-16T17:12:00.000+05:30</published><updated>2007-12-11T12:22:48.757+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>Bash Script for FTP</title><summary type='text'>#!/bin/bashUSER=myusernamePASS=mypasswdFTPSERVER=192.168.0.Xftp -i -n $FTPSERVER &lt;&lt; EOFuser $USER $PASS mkdir testcd testput myfilebye&gt;&gt;But FTP will allow transfer of files only,not the directory tree.If you want to transfer the Directory structure through FTP you can use LFTP or similar FTP clients. A variety of GUI Based clients are availableLFTPlftp  has builtin mirror which can download or </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8082068656797341369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8082068656797341369' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8082068656797341369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8082068656797341369'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/ftp-in-bash-script.html' title='Bash Script for FTP'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4988322805859258273</id><published>2007-11-16T16:50:00.000+05:30</published><updated>2007-11-16T17:36:45.117+05:30</updated><title type='text'>How to disable directory browsing in Apache</title><summary type='text'>One of the "must do's" on setting a secure apache webserver environment is to disable directory browsing. As a default Apache will be compiled with this option enabled, but its always a good idea to get rid of this setting unless its really necessary. If you are on an RPM installation of Apache  you will find the apache configuration file probably here:/etc/httpd/conf/httpd.confIf you are using </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4988322805859258273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4988322805859258273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4988322805859258273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4988322805859258273'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/how-to-disable-directory-browsing-in.html' title='How to disable directory browsing in Apache'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4241866527007819796</id><published>2007-11-16T16:28:00.000+05:30</published><updated>2008-01-01T09:26:21.856+05:30</updated><title type='text'>Reboot Linux box after a kernel panic</title><summary type='text'>If you want the server to get rebooted automatically after kernel hit by a pain error message, try adding panic=N to /etc/sysctl.conf file.It specify kernel behavior on panic. By default, the kernel will not reboot after a panic, but this option will cause a kernel reboot after N seconds. For example following boot parameter will force to reboot Linux after 10 seconds.Open /etc/sysctl.conf file# </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4241866527007819796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4241866527007819796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4241866527007819796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4241866527007819796'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/reboot-linux-box-after-kernel-panic.html' title='Reboot Linux box after a kernel panic'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6340522158571539450</id><published>2007-11-16T16:14:00.001+05:30</published><updated>2007-11-16T17:50:03.100+05:30</updated><title type='text'>Adding Extra Swap Space</title><summary type='text'>There are situations where we have to expand the SWAP space after installation. For example, suppose you are upgrading RAM 512MB to 1 GB MB, but there is only 1 GB of swap space available which was created during installation. It might be an advantage to increase the amount of swap space to Double the RAM(2 GB) as per the UNIX/Linux guidance and will help you to perform memory eaters.You have two</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6340522158571539450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6340522158571539450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6340522158571539450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6340522158571539450'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/adding-extra-swap-space.html' title='Adding Extra Swap Space'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8325052629893853861</id><published>2007-11-16T15:27:00.001+05:30</published><updated>2008-07-28T13:29:07.307+05:30</updated><title type='text'>PHP and Pear MDB2 Installation</title><summary type='text'>Installation of Pear MDB2 (2.4.1) with  Apache-2.2.6 PHP-5.2.3(with MySQL and MySQLI)Backed up Existing PHP[root@hareesh ~]# mv /usr/local/lib/php /usr/local/lib/php.bak[root@hareesh ~]# mv /usr/local/bin/php /usr/local/bin/php.bak[root@hareesh ~]# mv /usr/local/include/php /usr/local/include/php.bakInstalled PHP-5.2.3 with MySQL and MySQLI Support[root@hareesh lib]# cd /usr/local/src/[root@</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8325052629893853861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8325052629893853861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8325052629893853861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8325052629893853861'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/php-and-pear-mdb2-installation.html' title='PHP and Pear MDB2 Installation'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1083288216689325897</id><published>2007-11-13T09:44:00.000+05:30</published><updated>2007-11-13T09:51:21.204+05:30</updated><title type='text'>Cannot execute [Argument list too long]</title><summary type='text'>Tried to remove some files like log files with /bin/rm -rf all at once, and you get thisError message# rm -rf /var/log/mail/*.old.logbash: /bin/rm: /bin/rm: cannot execute [Argument list too long]So, rm utility complains that the system-wide ARG_MAX value that is used to setup an input buffer size to process the entire list will overflow. Good security measure, but, doesn't help you out with the </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1083288216689325897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1083288216689325897' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1083288216689325897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1083288216689325897'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/cannot-execute-argument-list-too-long.html' title='Cannot execute [Argument list too long]'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-1550465438596741453</id><published>2007-11-10T12:28:00.001+05:30</published><updated>2007-11-10T17:01:34.719+05:30</updated><title type='text'>Auto Logout of Inactive Users</title><summary type='text'>How to force automatic logouts of  users who forget to log out in case of inactivity detected ?  BASH have a  TMOUT variable.We can set the TIMEOUT value here for sessions.   Add the TMOUT variable to your /etc/bashrc file:# vi /etc/bashrcSet TMOUT to 300 seconds (5 minuets):TMOUT=300This will automatically logout users after 300 seconds of inactivity. This hack will only work with run level 2, 3</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/1550465438596741453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=1550465438596741453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1550465438596741453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/1550465438596741453'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/auto-logout-of-inactive-shell-sessions.html' title='Auto Logout of Inactive Users'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8589658731418107327</id><published>2007-11-09T19:22:00.001+05:30</published><updated>2007-12-13T11:38:40.373+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>Simple Server Monitor</title><summary type='text'>#!/bin/bash# BASH Script to monitor Server uptime,Servies,Memory Usage,Disk Usage,Load Average,Last Login and Reboot Details and Take backup of configuration files.DATE=`date +%d.%m.%Y`TIME=`date +%H.%M.%S`ADMIN=hareeshvv@gmail.com ## Mail ID of AdminADMIN1=hareeshvaliyaveettil@gmail.com ## Mail ID of AdminFILES=(/etc/hosts  /usr/local/apache/conf/httpd.conf /etc/php.ini /var/lib/pgsql/data/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8589658731418107327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8589658731418107327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8589658731418107327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8589658731418107327'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/simple-server-monitor.html' title='Simple Server Monitor'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8323897724947186464</id><published>2007-11-09T18:53:00.002+05:30</published><updated>2008-07-28T13:27:56.944+05:30</updated><title type='text'>Installation of PHP-Screw 1.5  with Apache 2.2.6 and PHP-5.2.3</title><summary type='text'>Apache 2.2.6 Installation[root@myserver src]# pwd/usr/local/src[root@myserver src]# cd httpd-2.2.6[root@myserver httpd-2.2.6]#[root@myserver httpd-2.2.6]# ./configure --enable-so --prefix=/usr/local/apache2[root@myserver httpd-2.2.6]# make[root@myserver httpd-2.2.6]# make installPHP-5.2.3 installation[root@myserver src]# pwd/usr/local/src[root@myserver src]# cd php-5.2.3[root@myserver php-5.2.3]#</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8323897724947186464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8323897724947186464' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8323897724947186464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8323897724947186464'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/installation-of-php-screw-15-with.html' title='Installation of PHP-Screw 1.5  with Apache 2.2.6 and PHP-5.2.3'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8948330253280410833</id><published>2007-11-07T11:54:00.000+05:30</published><updated>2007-11-07T19:53:35.659+05:30</updated><title type='text'>postfix/smtp connect to gmail.com[64.233.171.83]: Connection timed out (port 25) server dropped connection without sending the initial SMTP greeting</title><summary type='text'>Postfix has been configured fine.  The mail is working in the local Domain - mydomain.com But when I try to send mails to outer domains,it produces the following "TIMEOUT" errors in /var/log/mail/infoNov  5 23:02:43 mydomain postfix/pickup[30923]: 419941C678: uid=555 from=Nov  5 23:02:43 mydomain postfix/cleanup[31536]: 419941C678: message-id=&lt;20071106050243.419941C678@mydomain.com&gt;Nov  5 23:02:</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8948330253280410833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8948330253280410833' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8948330253280410833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8948330253280410833'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/postfixsmtp-connect-to.html' title='postfix/smtp connect to gmail.com[64.233.171.83]: Connection timed out (port 25) server dropped connection without sending the initial SMTP greeting'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5230116310173726805</id><published>2007-11-05T10:47:00.001+05:30</published><updated>2009-01-09T22:24:53.435+05:30</updated><title type='text'>QMAIL port 25 and 110 are closed</title><summary type='text'>Qmail installation went fine .But I was unable to connect to port 25 and 110.They were in  closed state.When I tried to connect with telnet I got the “Connection refused” message. # qmailctl stat/service/qmail-send: up (pid 2219) 37 seconds/service/qmail-send/log: up (pid 2311) 37 seconds/service/qmail-smtpd: up (pid 2917) 1 seconds/service/qmail-smtpd/log: up (pid 2723) 37 seconds/service/</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5230116310173726805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5230116310173726805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5230116310173726805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5230116310173726805'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/qmail-port-25-and-110-are-closed.html' title='QMAIL port 25 and 110 are closed'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5996231500133825836</id><published>2007-11-03T17:36:00.000+05:30</published><updated>2007-11-10T17:12:55.146+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>BASH Script to Generate files from existing ones with a partial change in filename</title><summary type='text'>#!/bin/bash# BASH Script to generate $EXTENSION files like FILE_fr.$EXTENSION,FILE_sp.$EXTENSION from existing FILE_$SEARCHSTRING.$EXTENSION without causing any kind of overwrite.DIR=/tmp/htmlEXTENSION=extensionSEARCHSTRING=encd $DIR &gt; /dev/null 2&gt; /dev/nullcount=`find *$SEARCHSTRING.$EXTENSION | wc -l`n=1echo $count \"*$SEARCHSTRING.$EXTENSION\" files foundwhile [ $n -le $count ]  do      {</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5996231500133825836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5996231500133825836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5996231500133825836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5996231500133825836'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/generate-files-from-existing-ones.html' title='BASH Script to Generate files from existing ones with a partial change in filename'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6054275462276350674</id><published>2007-11-03T17:35:00.001+05:30</published><updated>2008-09-19T12:46:50.726+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>A Simple Service Monitor</title><summary type='text'>#!/bin/bash# Check the Service Status of Server and send notification mail if anyone is DOWN.Server=192.168.0.35  ## IP of the remote Server to be monitoredADMIN=hareeshvv@gmail.com ## Mail ID of AdminSubject=Server-StatusDATE=`date +%d.%m.%Y`TIME=`date +%H.%M.%S`mkdir /tmp/$DATE.$TIMEcd /tmp/$DATE.$TIMEservices=(http https mysql smtp pop imap imaps ssh)  ## List of services to be checkedWatch ()</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6054275462276350674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6054275462276350674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6054275462276350674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6054275462276350674'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/service-monitor.html' title='A Simple Service Monitor'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7072528415790302157</id><published>2007-11-03T16:35:00.002+05:30</published><updated>2008-09-17T00:21:12.137+05:30</updated><title type='text'>How to Create Custom Hot key to Launch Applications in GNOME</title><summary type='text'>1. Open Applications -&gt; System -&gt; Configuration Editor from the GUI             OROpen a terminal, type gconf-editor2. Go to "apps" -&gt; "metacity" -&gt; "keybinding_commands"3. Double-click on an unused element e.g. "command_10"4. Type in the name of the application you want to launch, for e.g. "firefox" or     "gnome-terminal"5. Then go to "apps" -&gt; "metacity" -&gt; "global_keybindings"6. Double-click </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7072528415790302157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7072528415790302157' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7072528415790302157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7072528415790302157'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/how-to-create-custom-hot-key-to-launch.html' title='How to Create Custom Hot key to Launch Applications in GNOME'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-7931199947463309059</id><published>2007-11-03T12:26:00.001+05:30</published><updated>2008-05-22T14:56:41.989+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>Simple Disk and Memory Monitor</title><summary type='text'>#!/bin/sh# Shell script to monitor the disk space,Memory,SWAP Usage and send an email to $ADMIN, if the free avilable percentage of space is &gt;= $ALERT ADMIN="hareeshvv@gmail.com"ADMIN1="admin1@mycompany.com"ADMIN2="admin2@mycompany.com"# Alert Level Percentage of Disk Usage . Default is 90%ALERT=90df -h | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output;do  used=</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/7931199947463309059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=7931199947463309059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7931199947463309059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/7931199947463309059'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/11/simple-disk-and-memory-monitor.html' title='Simple Disk and Memory Monitor'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6174069454466307707</id><published>2007-10-17T15:07:00.002+05:30</published><updated>2008-09-19T12:49:05.146+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>ConCatPASSWD.sh</title><summary type='text'>#!/bin/bash# Concatenate two passwords files. The resulting will contain entries of the first file with UID &lt; 500 and that of second with UID &gt; 500DATE=`date +%d.%m.%Y`TIME=`date +%H.%M.%S`echo Name of File 1read f1echo Name of File 2read f2echo Name for New fileread newfilemv $newfile $newfile.bak.$DATE.$TIME ## Manipulate first filecount=`cat $f1 | cut -f3 -d : | sort -n | wc -l` h=1while [ "$</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6174069454466307707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6174069454466307707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6174069454466307707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6174069454466307707'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/10/concatpasswdsh.html' title='ConCatPASSWD.sh'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-8885933231762250088</id><published>2007-10-17T15:06:00.001+05:30</published><updated>2008-09-19T12:49:47.832+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>ChangeGID.sh</title><summary type='text'>#!/bin/bash# Change the GID of a Group and make it effective for all the members in /etc/passwdpwfile=/etc/passwdgrpfile=/etc/groupDATE=`date +%d.%b.%Y`TIME=`date +%H.%M.%S`echo Creating backups $pwfile.$DATE.$TIME and $grpfile.$DATE.$TIMEcat $pwfile &gt; $pwfile.$DATE.$TIMEcat $grpfile &gt; $grpfile.$DATE.$TIMEecho Enter group nameread gnamecgid=`grep $gname $grpfile | cut -f3 -d:`username_s=`cat $</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/8885933231762250088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=8885933231762250088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8885933231762250088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/8885933231762250088'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/10/gidsh.html' title='ChangeGID.sh'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-4773770427833103815</id><published>2007-10-17T15:05:00.000+05:30</published><updated>2007-11-12T12:54:13.829+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>RUNCMDS.sh</title><summary type='text'>#!/bin/bash## BASH Script to Run any System command #######  Script should be initialized  as ./script.sh arg1 arg2 arg3,....## echo "Commands with spaces should be supplied as \`COMMAND OPTIONS\`."## echo "For example "./runcdms.sh \`mkdir test\` \`chmod 777 test\`""for i in `$*`do #sudo - u root $i ## You can sudo if you are not root $idone</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/4773770427833103815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=4773770427833103815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4773770427833103815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/4773770427833103815'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/10/runcmdssh.html' title='RUNCMDS.sh'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-5376079397197669146</id><published>2007-10-17T15:04:00.000+05:30</published><updated>2007-11-10T17:12:55.147+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scripts'/><title type='text'>PING.sh</title><summary type='text'>#!/usr/bin/env bash## Ping all machines in a NetworkPING="$(which ping) -c 1 -W 1"echo "Enter Subnet(eg:192.168.0)"read Subnetecho "Do you want to PING the entire network or a RANGE of IPs ? Enter your choice"echo 1. Ping Entire Networkecho 2. Ping a RANGEread choiceif [ $choice = 1 ]; then { echo Pinging..... for((i=1;i&lt;255;i++)); do     ${PING} ${Subnet}.${i} &gt; /dev/null 2&gt; /dev/null     if [ $</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/5376079397197669146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=5376079397197669146' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5376079397197669146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/5376079397197669146'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/10/pingsh.html' title='PING.sh'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-642420691393165558</id><published>2007-08-23T18:06:00.000+05:30</published><updated>2007-08-23T18:08:18.325+05:30</updated><title type='text'>Starting X11 VNC in Linux</title><summary type='text'>Create vnc passwdx11vnc -storepasswdUse authentication while connecting  x11vnc -rfbauth ~/.vnc/passwdKeep the VNC Session after each login and logout  x11vnc -foreverDon't use shm of X if you have problems in display x11vnc -noshmSo the final command is x11vnc  -noshm -forever -rfbauth ~/.vnc/passwd</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/642420691393165558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=642420691393165558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/642420691393165558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/642420691393165558'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/08/starting-x11-vnc-in-linux.html' title='Starting X11 VNC in Linux'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-954789045173965501</id><published>2007-07-23T18:35:00.001+05:30</published><updated>2007-07-23T18:44:32.898+05:30</updated><title type='text'>Disabling Caps lock in Linux</title><summary type='text'>Master Your Linux Keyboard (And Fix Caps Lock Forever)Exorcising Caps LockWant to get rid of the evil caps lock key without mutilating your keyboard? Want to give those silly Windows keys useful jobs, or put all those extra multi-media keys to work? Want to become a powerhouse keyboarding commando? Then come along and join the fun, because Linux has all kinds of good tools for taming wayward </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/954789045173965501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=954789045173965501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/954789045173965501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/954789045173965501'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/07/disabling-caps-lock-in-linux.html' title='Disabling Caps lock in Linux'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-6132886845853402290</id><published>2007-07-23T10:36:00.000+05:30</published><updated>2007-07-23T10:37:29.772+05:30</updated><title type='text'>Remove LAME Logging and Version Exposure in BIND</title><summary type='text'>Got lame server errors? Are you exposing your bind version?Are lame-server errors filling up your logs? Are you letting bind send its version out to potential attackers? You can fix these issues with some simple changes.Simple Bind Configuration ChangesLame Server ErrorsIf you look in your message logs, you may see an error about a "lame server". A lame server is when the NS record for a domain </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/6132886845853402290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=6132886845853402290' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6132886845853402290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/6132886845853402290'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/07/remove-lame-logging-and-version.html' title='Remove LAME Logging and Version Exposure in BIND'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-2792622359040883469</id><published>2007-07-14T17:38:00.000+05:30</published><updated>2007-07-14T17:43:26.619+05:30</updated><title type='text'>Display Problem in SUSE 10 with Matrox G400 Graphics Card and USB Mouse</title><summary type='text'> After installing SUSE 10.0 Display was not workingGraphics Card  :  Matrox G 400Monitor        : Samsung SyncMaster 594 MG1.  I logged into runlevel 3 and tried to fire up X11systemp5:~ # startxxauth:  creating new authority file /root/.serverauth.8991X Window System Version 6.9.0Release Date: 21 December 2005X Protocol Version 11, Revision 0, Release 6.9Build Operating System: SuSE Linux [ELF] </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/2792622359040883469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=2792622359040883469' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2792622359040883469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2792622359040883469'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/07/display-problem-in-suse-10-with-matrox.html' title='Display Problem in SUSE 10 with Matrox G400 Graphics Card and USB Mouse'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-3161248866123088803</id><published>2007-07-10T13:01:00.000+05:30</published><updated>2007-07-10T13:06:56.239+05:30</updated><title type='text'>Installation of JBoss on Suse 10 with IBM p5</title><summary type='text'>SuSe 10.2 on IBM  P 520  with Apache2 ,Tomcat 6 ,JSDK 1.4.2  and Jboss 4.0.5.GAReference for known problemshttp://entropy.brneurosci.org/linuxsetup82.html Installed SUSE 10 Patitiions  /dev/sda1 is of type PReP.And its size is 10 MB/dev/sda5             9.9G 1003M  8.4G  11% //dev/sda2              99M   18M   77M  19% /boot/dev/sda8              26G  345M   25G   2% /home/dev/sda6             </summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/3161248866123088803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=3161248866123088803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3161248866123088803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/3161248866123088803'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/07/installation-of-jboss-on-suse-10-with.html' title='Installation of JBoss on Suse 10 with IBM p5'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599573262568047988.post-2694727511405960035</id><published>2007-06-30T16:51:00.000+05:30</published><updated>2007-06-30T16:58:22.484+05:30</updated><title type='text'>Linux Operating System</title><summary type='text'>Linux Newbie Administrator Guide (LNAG)LINUX NEWBIE ADMINISTRATOR GUIDEver. 0.201 2004-07-22 by Stan, Peter and Marie KlimasThe latest version of this guide is available at http://linux-newbie.sunsite.dk.Copyright (c) &lt;1999-2004&gt; by Peter and Stan Klimas. Your feedback, comments, corrections, and improvements are appreciated. Send them to linux_nag@canada.com This material may be distributed only</summary><link rel='replies' type='application/atom+xml' href='http://www.psychotux.com/feeds/2694727511405960035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599573262568047988&amp;postID=2694727511405960035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2694727511405960035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599573262568047988/posts/default/2694727511405960035'/><link rel='alternate' type='text/html' href='http://www.psychotux.com/2007/06/linux-operating-system.html' title='Linux Operating System'/><author><name>Psycho Tux</name><uri>http://www.blogger.com/profile/11030965064783637233</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_h3s55wvQhgU/TMptsnhtqpI/AAAAAAAAAJA/a_Nv5EgN_v0/S220/freak.jpg'/></author><thr:total>0</thr:total></entry></feed>
