<?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-8643718483964216321</id><updated>2012-01-08T12:05:05.473-03:00</updated><category term='Humor'/><category term='Virtualization'/><category term='Internet'/><category term='Windows'/><category term='Security'/><category term='shell'/><category term='Free software'/><category term='Linux'/><category term='VirtualBox'/><title type='text'>A few drops about Linux</title><subtitle type='html'>This is where I write new ways to do most things in Linux. I hope it may be useful to you.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-7384536289678083234</id><published>2011-08-27T21:21:00.003-03:00</published><updated>2011-08-27T21:39:56.912-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Shell Expansion</title><content type='html'>This friday, my friend was developing a shell script in KSH for AIX. In this script, several files with a special naming convention should be selected, but only part of the name should be considered. The format is:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;word1&gt;word1-word2-extension-serial1-serial2-name.cmt&lt;/word1&gt;&lt;/span&gt;&lt;/blockquote&gt;Where:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;word1: any length&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;word2: any length&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;extension: any length&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;serial1: 6 chars&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;serial2: 6 chars&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;name: any length&lt;/span&gt;&lt;/blockquote&gt;So, these name would be ok, for instance:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CONTAB1-PALAVRA2-NMT-123456-123456-gilberto.cmt&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CTB1-PLV2-XYZ-654321-000001-joaozinho.cmt&lt;/span&gt;&lt;/blockquote&gt;From those names, everything before the serials should be extracted. That is:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CONTAB1-PALAVRA2-NMT&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CTB1-PLV2-XYZ&lt;/span&gt;&lt;/blockquote&gt;At first, the nightmare are the 3 variable length parts and the NAME&amp;nbsp;&lt;name&gt;, which is also variable. But SHELL EXPANSION can beat it. And the best, not only BASH, but it does apply to KSH (I really didn't know that !!!).&lt;/name&gt;&lt;br /&gt;&lt;br /&gt;So, the solution:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ var='CONTAB1-PALAVRA2-NMT-123456-123456-gilberto.cmt'&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ echo ${var%%-??????-??????-*.cmt}&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CONTAB1-PALAVRA2-NMT&lt;/span&gt;&lt;/blockquote&gt;The second example:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ var='CTB1-PLV2-XYZ-654321-000001-joaozinho.cmt'&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ echo ${var%%-??????-??????-*.cmt}&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CTB1-PLV2-XYZ&lt;/span&gt;&lt;/blockquote&gt;Once again, the apparently cryptographic hieroglyphic SHELL did it!!!&lt;br /&gt;&lt;br /&gt;:D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-7384536289678083234?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/7384536289678083234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=7384536289678083234&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/7384536289678083234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/7384536289678083234'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2011/08/shell-expansion.html' title='Shell Expansion'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-3689724344938330781</id><published>2011-02-04T03:55:00.000-03:00</published><updated>2011-02-04T03:55:40.677-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><title type='text'>Disk full with Squid3</title><content type='html'>Besides working in an &lt;a href="http://www.cpmbraxis.com/"&gt;excellent company&lt;/a&gt;, I have some networks I help to administer. And recently, one of these friends called me complaining about the internet dropping. Immediately I got a SSH session to his firewall, and started my investigation job.&lt;br /&gt;&lt;br /&gt;In fact, SQUID was not working anymore. Starting it was unuseful. Reading it's log gave me the following details:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;$ sudo less /var/log/squid3/cache.log&lt;/span&gt;&lt;/blockquote&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;CPU Usage: 0.044 seconds = 0.016 user + 0.028 sys&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Maximum Resident Size: 23936 KB&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Page faults with physical i/o: 0&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Starting Squid Cache version 3.0.STABLE19 for i486-pc-linux-gnu...&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Process ID 4628&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| With 1024 file descriptors available&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Performing DNS Tests...&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Successful DNS name lookup tests...&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| DNS Socket created at 0.0.0.0, port 35799, FD 7&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Adding nameserver 192.168.1.9 from squid.conf&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Unlinkd pipe opened on FD 12&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Swap maxSize 10240000 + 8192 KB, estimated 788322 objects&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Target number of buckets: 39416&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Using 65536 Store buckets&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Max Mem &amp;nbsp;size: 8192 KB&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;2011/02/03 15:16:42| Max Swap size: 10240000 KB&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;b&gt;2011/02/03 15:16:42| /var/spool/squid3/swap.state.new: (28) No space left on device&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;FATAL: storeDirOpenTmpSwapLog: Failed to open swap log.&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;I figured the problem was solved, but surprisingly, space was not the problem, as I could notice:&lt;/div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;$ df -h&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Size &amp;nbsp;Used Avail Use% Mounted on&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;/dev/sda1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9,2G &amp;nbsp;2,0G &amp;nbsp;6,8G &amp;nbsp;23% /&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;434M &amp;nbsp;208K &amp;nbsp;433M &amp;nbsp; 1% /dev&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;438M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;438M &amp;nbsp; 0% /dev/shm&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;438M &amp;nbsp; 68K &amp;nbsp;438M &amp;nbsp; 1% /var/run&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;438M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;438M &amp;nbsp; 0% /var/lock&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;438M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;438M &amp;nbsp; 0% /lib/init/rw&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;b&gt;/dev/sda3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;63G &amp;nbsp; 42G &amp;nbsp; 18G &amp;nbsp;70% /var&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;After some minutes mulling over this problem, I remembered that not only disk space is defined when a partition is formatted, but also the quantity of free inodes. To inspect this, I used&amp;nbsp;&lt;b&gt;df&lt;/b&gt;&amp;nbsp;again:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;$ df -i&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Inodes &amp;nbsp; IUsed &amp;nbsp; IFree IUse% Mounted on&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;/dev/sda1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 610800 &amp;nbsp; 70254 &amp;nbsp;540546 &amp;nbsp; 12% /&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;110874 &amp;nbsp; &amp;nbsp; 692 &amp;nbsp;110182 &amp;nbsp; &amp;nbsp;1% /dev&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;111924 &amp;nbsp; &amp;nbsp;1% /dev/shm&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp;36 &amp;nbsp;111889 &amp;nbsp; &amp;nbsp;1% /var/run&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp;111923 &amp;nbsp; &amp;nbsp;1% /var/lock&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;111924 &amp;nbsp; &amp;nbsp;1% /lib/init/rw&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;b&gt;/dev/sda3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4153344 4153344 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;100% /var&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;The line above means I have no spare inodes, although there is a considerable free space. I have to look for which directory is consuming the inodes, or in other words, crowded with small files. Since I know it is in &lt;b&gt;/var&lt;/b&gt;, there is where my search starts:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ sudo du -s /var/* | sort -n&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;That will show the "heaviest" directory. &lt;i&gt;In my case&lt;/i&gt;, it is &lt;b&gt;/var/lib&lt;/b&gt;. So let's start again:&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$ sudo du -s /var/lib/* | sort -n&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;The directory that was released was &lt;b&gt;/var/lib/sarg&lt;/b&gt;, with the following files:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;$ ls -l /var/lib/sarg/&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;total 52&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp; 7 root root &amp;nbsp;4096 2010-04-12 13:40 2010Apr12-2010Apr12&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;48 root root &amp;nbsp;4096 2010-04-15 04:00 2010Apr14-2010Apr14&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;45 root root &amp;nbsp;4096 2010-04-16 04:00 2010Apr15-2010Apr15&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;45 root root &amp;nbsp;4096 2010-04-16 16:45 2010Apr16-2010Apr16&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;41 root root &amp;nbsp;4096 2010-04-19 12:55 2010Apr19-2010Apr19&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;98 root root &amp;nbsp;4096 2010-09-06 14:22 2010Sep01-2010Sep06&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x 168 root root 12288 2010-09-30 20:01 Daily&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp; 2 root root &amp;nbsp;4096 2010-04-12 13:40 images&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;-rw-r--r-- &amp;nbsp; 1 root root &amp;nbsp; 780 2010-09-30 20:00 index.html&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp; 8 root root &amp;nbsp;4096 2010-09-01 02:38 Montly&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;drwxr-xr-x &amp;nbsp;49 root root &amp;nbsp;4096 2010-09-27 01:03 Weekly&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Precisely, these are files done in a previous (unsuccessful&amp;nbsp;installation&amp;nbsp;of sarg). I may also notice that it happened almost one year ago. It was my fault to forget removing old useless files.&amp;nbsp;After removing this directory, the inodes were restaured:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;$ df -i&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Inodes &amp;nbsp; IUsed &amp;nbsp; IFree IUse% Mounted on&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;/dev/sda1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 610800 &amp;nbsp; 70254 &amp;nbsp;540546 &amp;nbsp; 12% /&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;110874 &amp;nbsp; &amp;nbsp; 692 &amp;nbsp;110182 &amp;nbsp; &amp;nbsp;1% /dev&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;111924 &amp;nbsp; &amp;nbsp;1% /dev/shm&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp;37 &amp;nbsp;111888 &amp;nbsp; &amp;nbsp;1% /var/run&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp;111923 &amp;nbsp; &amp;nbsp;1% /var/lock&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;111925 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp;111924 &amp;nbsp; &amp;nbsp;1% /lib/init/rw&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="color: red; font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;b&gt;/dev/sda3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4153344 1922631 2230713 &amp;nbsp; 47% /var&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;After that, squid could be started.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-3689724344938330781?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/3689724344938330781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=3689724344938330781&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3689724344938330781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3689724344938330781'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2011/02/disk-full-with-squid3.html' title='Disk full with Squid3'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-2139149018574179847</id><published>2011-01-25T16:21:00.014-03:00</published><updated>2011-01-27T13:03:26.317-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><title type='text'>Installing a brand new Ubuntu box</title><content type='html'>I am using a Dell Optiplex 780 as my desktop at my job now, and so I do need my environment back, that means, I have to reinstall Ubuntu.&lt;br /&gt;&lt;br /&gt;Got a usb memory prepared to install it, asked Windows 7 to release some space in HD (almost 80% of space, in fact), and started the procedure.&lt;br /&gt;&lt;br /&gt;Ubuntu 10.10 up and ready, let's start to make it the best I can, and that's the reason why I wrote this post.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Cleaning old lists&lt;/span&gt;&lt;br /&gt;First of all, I need to rebuild the apt lists:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;sudo rm -v /var/lib/apt/lists/*&lt;br /&gt;sudo apt-get update&lt;/blockquote&gt;&lt;span style="font-size:100%;"&gt;This is only needed because for an unknown reason the original lists has some errors. I am really not aware about these mistakes.&lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;&lt;br /&gt;Basic tools&lt;/span&gt;&lt;br /&gt;Before starting, I need to prepare my surgery tools:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-get install vim aptitude htop ssh k3b ssh ipcalc&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; \&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;             &lt;br /&gt;vlc gnome-mplayer compizconfig-settings-manager&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; \&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;compiz-fusion-plugins-extra&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Compiz Configs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;There are some adjustments I always do in Compiz interface. Of course, they are optional:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;as_active_plugins = core;ccp;move;resize;place;decoration;gnomecompat;workarounds;neg;vpswitch;text;svg;ring;regex;commands;dbus;session;imgjpeg;mousepoll;shift;png;reflex;resizeinfo;animation;wobbly;fade;cube;rotate;3d;cubeaddon;scale;scaleaddon;expo;ezoom;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;as_next_key = &lt;alt&gt;Tab&lt;/alt&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;as_prev_key = &lt;shift&gt;&lt;alt&gt;Tab&lt;/alt&gt;&lt;/shift&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;as_initiate_key = Disabled&lt;/span&gt;&lt;/blockquote&gt;These configurations may be inserted through &lt;span style="font-weight: bold;font-family:courier new;" &gt;compizconfig-settings-manager&lt;/span&gt;, instead of dealing with configuration files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-2139149018574179847?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/2139149018574179847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=2139149018574179847&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2139149018574179847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2139149018574179847'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2011/01/installing-brand-new-ubuntu-box.html' title='Installing a brand new Ubuntu box'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-4325133413454249686</id><published>2011-01-25T16:12:00.003-03:00</published><updated>2012-01-08T12:05:05.477-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><title type='text'>Installing Java on Maverick Meercat</title><content type='html'>&lt;strike&gt;I don't know why, but Java is not available from Canonical repositories anymore. I just came over that because I needed to have my job's desktop reinstalled.&lt;/strike&gt;&lt;br /&gt;&lt;br /&gt;&lt;strike&gt;So,&lt;/strike&gt; These are easy and single steps to provide Java-6 and Jetty application service in my Ubuntu server:&lt;br /&gt;&lt;br /&gt;&lt;blockquote class="tr_bq"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New',Courier,monospace; font-size: x-small;"&gt;$ sudo aptitude install python-software-properties&lt;br /&gt;$ add-apt-repository "deb http://archive.canonical.com/ lucid partner"&lt;br /&gt;$ sudo aptitude install sun-java6-jdk sun-java6-jre&lt;br /&gt;$ sudo aptitude install libjetty-extra-java libjetty-java jetty&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Working fine now!!!&lt;br /&gt;&lt;br /&gt;This was edited after reading&amp;nbsp;&lt;a href="http://x4nd3m4c.blogspot.com/2011/02/instalando-o-jetty-no-ubuntu-1004.html"&gt;http://x4nd3m4c.blogspot.com/2011/02/instalando-o-jetty-no-ubuntu-1004.html&lt;/a&gt;. Thanks, Alexandre.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-4325133413454249686?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/4325133413454249686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=4325133413454249686&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/4325133413454249686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/4325133413454249686'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2011/01/installing-java-on-maverick-meercat.html' title='Installing Java on Maverick Meercat'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-6282182813912467956</id><published>2010-10-21T12:49:00.003-03:00</published><updated>2010-10-21T13:09:47.576-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Kernel vulnerabilities</title><content type='html'>Some serious vulnerabilities in kernel are forcing an update for Ubuntu Users, since version 6. Before the press start to shout out loads of hyperbolics tales stressing how vulnerable Linux really "is", everybody must know that solutions are ready to be downloaded and applied.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Knowing Ubuntu, desktop users have already been alerted about this update, that must be installed. But for Ubuntu Server administers, it must be manually performed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What you need to do is:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Update your repositories:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo apt-get update&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;2) Verify the kernel installed version&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ uname -r&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;2.6.32-25-&lt;b&gt;generic&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;My kernel version is &lt;b&gt;generic&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Install the right kernel version and dependencies:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo apt-get install linux-generic&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;And reinstall the server.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-6282182813912467956?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/6282182813912467956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=6282182813912467956&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/6282182813912467956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/6282182813912467956'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2010/10/kernel-vulnerabilities.html' title='Kernel vulnerabilities'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-1872046977143680742</id><published>2010-10-21T09:36:00.003-03:00</published><updated>2010-10-21T09:49:25.572-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><title type='text'>Empathy does not access MSN</title><content type='html'>Since yesterday my empathy client does not show my contacts from MSN anymore. It is an empathy problem, and I found the solution (workaround) for this. You can find this in &lt;a href="http://ubuntuforums.org/showpost.php?p=10003289&amp;amp;postcount=17"&gt;this page&lt;/a&gt;, but I will show it here quickly:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are in text interface, type the following line:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo vim /usr/share/pyshared/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In graphic interface, press ALT+F2 and type:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;gksudo gedit /usr/share/pyshared/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Look for this line:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;CONTACTS = ("contacts.msn.com", "?fs=1&amp;amp;id=24000&amp;amp;kv=7&amp;amp;rn=93S9SWWw&amp;amp;tw=0&amp;amp;ver=2.1.6000.1")&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and change it to&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CONTACTS = ("contacts.msn.com", "MBI")&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Save the file and restart Empathy. It will now work!&lt;/div&gt;&lt;div&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/8643718483964216321-1872046977143680742?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/1872046977143680742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=1872046977143680742&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/1872046977143680742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/1872046977143680742'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2010/10/empathy-does-not-access-msn.html' title='Empathy does not access MSN'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-8759172889606911193</id><published>2009-11-25T12:38:00.012-03:00</published><updated>2009-12-10T04:06:53.327-03:00</updated><title type='text'>No more bootmisc.sh in Karmic Koala</title><content type='html'>&lt;span class="Apple-style-span"  style="white-space: pre-wrap; font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Until 9.04, &lt;b&gt;/etc/init.d/bootmisc.sh&lt;/b&gt; was used to provide automatic initialization to several services. It was invoked from &lt;b&gt;/etc/rcS.d/S55bootmisc.sh&lt;/b&gt;, before &lt;b&gt;X&lt;/b&gt; starting.&lt;br /&gt;&lt;br /&gt;In 9.10, it does not work anymore, and I still do not know why.  So, &lt;b&gt;/etc/rc.local&lt;/b&gt; may be a replacemente for it. For instance, I have some VirtualBox shared folders I want to be available as soon as Karmic server is ready to work. So my &lt;b&gt;/etc/rc.local&lt;/b&gt; now is like:&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" white-space: pre-wrap;font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre-wrap;font-size:medium;"&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;#!/bin/sh -e&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# rc.local&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# This script is executed at the end of each multiuser runlevel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# Make sure that the script will "exit 0" on success or any other&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# value on error.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# In order to enable or disable this script just change the execution&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# bits.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# By default this script does nothing.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# Shared Folders Mounts&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;if [ -z "$(grep '/media/SwitchFiles' /proc/mounts)" ]; then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;/bin/mount -t vboxsf SwitchFiles /media/SwitchFiles&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;# Shared Folders Mounts&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;if [ -z "$(grep '/var/cache/apt/archives' /proc/mounts)" ]; then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;/bin/mount -t vboxsf AptArchives /var/cache/apt/archives&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;exit 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Some interestings notes:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;- I do not trust &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;/etc/mtab&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;, but I'd rather believe in &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;/proc&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; information;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;- Shared folders will just work if they are not mounted yet. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;- The module &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;vboxsf&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; was provided by Virtualbox compilation process.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;This procedure complements &lt;/span&gt;&lt;a href="http://linuxdrops.blogspot.com/2009/11/shared-folders-in-virtualbox-with.html"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;this article&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;. Do not forget to comment and to tell if this was useful or not.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&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/8643718483964216321-8759172889606911193?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/8759172889606911193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=8759172889606911193&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8759172889606911193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8759172889606911193'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/11/no-more-etcinitdbootmiscsh-in-karmic.html' title='No more bootmisc.sh in Karmic Koala'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-3951276641084204813</id><published>2009-11-23T18:52:00.004-03:00</published><updated>2009-12-06T13:23:29.882-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>MSN forced update</title><content type='html'>Until some days ago, My MSN Live was always reminding me to update. But, as lots of guys, I didn't. Right now, it refused to work until I accepted to update. I don't know what for, I did not received any comment about it, I did not authorized any download. But anyway, they did it again.&lt;br /&gt;&lt;br /&gt;I am not one of the Linux evangelists anymore, I do agree with interoperability, I do think it is necessary. But I paid any single cent for my computer, so I am the one to decided what will be in it or not.&lt;br /&gt;&lt;br /&gt;The reason I left MS Vista HP in my Toshiba was: it is legal. After some years only working with Linux in home and XP in the office left me behind in several topics. I tried to give MS a chance.&lt;br /&gt;&lt;br /&gt;But they keep wandering around in my laptop, in and out, without telling why or when. It is just like this is not my laptop. I am aware that they allowed me to use Vista, and that I do not own it. Okay!!! But the laptop is still mine, I own it, I must decide what I want or not! and also when!!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RJJW_7g4Nn4/SwsEokUQu7I/AAAAAAAAA8k/sf87-qwzQm4/s1600/MSN_Update00.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 173px;" src="http://4.bp.blogspot.com/_RJJW_7g4Nn4/SwsEokUQu7I/AAAAAAAAA8k/sf87-qwzQm4/s320/MSN_Update00.jpg" alt="" id="BLOGGER_PHOTO_ID_5407420872578350002" border="0" /&gt;&lt;/a&gt;Up here they allow me to choose yes (Sim) or no (Não) as an answer to "May I (MS) install the software I (MS) downloaded in your laptop (the sucker's laptop)? ".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SwsEo-zhZ_I/AAAAAAAAA8s/bQNZjHkHPEM/s1600/MSN_Update01.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 275px;" src="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SwsEo-zhZ_I/AAAAAAAAA8s/bQNZjHkHPEM/s320/MSN_Update01.jpg" alt="" id="BLOGGER_PHOTO_ID_5407420879688787954" border="0" /&gt;&lt;/a&gt;They "offered" some stuff to install, and I answered them "no,thanks". Since I have no choice (not democratic!), just give me Live MSN, thanks. But they warned it would cost 160MB. Awful!&lt;br /&gt;&lt;br /&gt;Not only this, but there is an interesting translating problem: Silverlight's is in English !!! Here in Brazil they always complained about our poor translation. But that, years ago. Now, in 2009, they did the same ? Shame on you ...&lt;br /&gt;&lt;br /&gt;After, I spent some minutes to overview the contract, and there they told me:&lt;br /&gt;- I cannot use the service in a "harmful way" (my translation) to MS or to the announcers. So, I can't use MSN to complain about my insatisfaction with MS? Is that correct ?&lt;br /&gt;- I agree that they may use whatever I type in MSN, almost in the way they understand they should.&lt;br /&gt;- In case of being prejudiced, the MS can refund me as compensation no more than the value I pay monthly. Not even a penny more. Also, it doesn't matter whether MS knew or should know about anything that could prejudice me!!!&lt;br /&gt;- This contract is eletronic, but I can not copy/paste it or at least perform a search in it. And if I need to find any word in it? no way!&lt;br /&gt;- MS does not guarantee anything. Software SHOULD work, OS SHOULD work. And where is the problem in using free software ? It is also not guaranteed.&lt;br /&gt;- In my case, as it is for everyone who lives in any country of South America, most problems related to the service should be resolved in Washington. If I am complaining, and if in Brazil we have MS offices also, why in the world should I go to Washington ?&lt;br /&gt;&lt;br /&gt;For now, I had to accept this all. I will still try to evaluate if it is really worthy to use a licensed Windows copy. I am not speaking about piracy. I am speaking about free software, mainly Ubuntu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-3951276641084204813?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/3951276641084204813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=3951276641084204813&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3951276641084204813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3951276641084204813'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/11/msn-forced-update.html' title='MSN forced update'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RJJW_7g4Nn4/SwsEokUQu7I/AAAAAAAAA8k/sf87-qwzQm4/s72-c/MSN_Update00.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-5009247254777384336</id><published>2009-11-20T20:56:00.011-03:00</published><updated>2009-11-22T16:04:14.239-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Root Security in Ubuntu</title><content type='html'>&lt;style type="text/css"&gt;  &lt;!--   @page { margin: 2cm }   P { margin-bottom: 0.21cm }   PRE { margin-left: 0.7cm; background: #e6e6ff; border: 1px solid #000000; padding: 0.05cm; text-align: left; page-break-before: auto; page-break-after: avoid }   PRE.western { font-size: 9pt }   PRE.cjk { font-family: "DejaVu Sans Mono", monospace }   PRE.ctl { font-family: "DejaVu Sans Mono", monospace }  --&gt;  &lt;/style&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;Most of my Linux students always question about Ubuntu's root password. "It is not comfortable, it is unnecessary", and many more excuses. That led me to start changings in my Linux study-pack, in User Administration chapter.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;Why ?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;Definitively, it is really dangerous to use any OS with an administrative account. At any moment, you can be called to do something else, or for a phone call, or even something that only you can do (and since you work with computers, you ALWAYS forget to do!!!).&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;Anyway, if this happen, and you need to leave the workstation, maybe you are not editing a file or doing something more complex, or you are doing one of those heavy duties. If you aren't involved with this, that's okay.&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;If you are, you will either remember to lock your graphic desktop (or CLI environment) or not. If you remember, that's okay.&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;If you don't, someone else can do anything as the administrator. This is really unwanted. And worst, commands issued are not logged. Some of them may write something. But not them all.&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;One more thing, and I really dislike this: I do not want to give away root permission to my team. Root password (when exists) should be known by few members, all of them with administrative corporative responsibilities.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;SUDO&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;Ubuntu Server root account has no valid password, by default. Since this is the only account common to all Linux distro, nobody will be able to access it. Since it is needed to know an account, system gets little bit less unsafe.&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;&lt;a name="result_box"&gt;&lt;/a&gt; “sudo” allows a user to execute commands as any other, mostly administrative commands. At first, the user created at install time is included in this "administrative staff". This user can do anything with sudo, as root. The configuration file is /etc/sudoers. &lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;This is written upon Karmic Koala (Ubuntu 9.10).&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;Including an Administrative account&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="western" style="margin-bottom: 0cm;"&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;If I want to include Thomas Martin (let's suppose his account is tmartin) as an administrative user, all I have to do is to add him to "admin" group:&lt;/span&gt;&lt;/p&gt; &lt;pre class="western"&gt;sudo adduser tmartin admin&lt;/pre&gt;&lt;p class="western"&gt; &lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;From now on, he can do &lt;b&gt;anything&lt;/b&gt; as root. But, whatever he does will be registered in &lt;b&gt;/var/log/auth.log&lt;/b&gt;. Watch this example from user "teste":&lt;/span&gt;&lt;/p&gt; &lt;pre class="western"&gt;Nov 13 21:55:14 fw-tosh sudo: teste : TTY=tty1 ; PWD=/home/teste ;&lt;br /&gt;USER=root ; COMMAND=/usr/bin/aptitude install vim&lt;/pre&gt;&lt;p class="western"&gt; &lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;He installed (or tried to install) &lt;/span&gt;&lt;b&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;vim &lt;/span&gt;&lt;/b&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;in Nov 13, at 21:55, in TTY1, he was in his home directory when issued this command, and it ran with "root" id We can also see that this happened in “fw-tosh” host.&lt;/span&gt;&lt;/p&gt; &lt;p class="western"&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;What this line does not tells me is if his operation was well succeeded or not. But there are other log files, such as &lt;/span&gt;&lt;b&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;/var/log/dpkg.log&lt;/span&gt;&lt;/b&gt;&lt;span style="-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; that really help.&lt;/span&gt;&lt;/p&gt; &lt;p class="western"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-5009247254777384336?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/5009247254777384336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=5009247254777384336&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/5009247254777384336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/5009247254777384336'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/11/root-security-in-ubuntu.html' title='Root Security in Ubuntu'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-5642120156153441769</id><published>2009-11-18T11:07:00.021-03:00</published><updated>2009-12-21T00:38:52.107-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>Shared Folders in VirtualBox with Ubuntu Server</title><content type='html'>&lt;div style="text-align: left;"&gt;I really enjoy VirtualBox. After knowing it a little, I quit thinking about VMWare, for my Linux courses. Now, there is something really necessary when you work with more than one Virtual Machines: a shared folder.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A shared folder exists in the host system, and accessed by one or more guest systems. Thus, if VM1 needs to copy a file to VM2, just copy it to that folder. Easy like that.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Defining the Shared Folders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;First, in Virtualbox console, you set one or more folders to be shared, as shown:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYCifAGI/AAAAAAAAA70/toeOr97kUQg/s1600/VBox_SharedFolders_01.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYCifAGI/AAAAAAAAA70/toeOr97kUQg/s320/VBox_SharedFolders_01.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5405464557447479394" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 198px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;In the right panel above, you can see "Shared Folders". In this example there are already 2 shared folders. Click "Shared Folders", written in blue.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYbBt1PI/AAAAAAAAA78/Wv1ozstBfAQ/s1600/VBox_SharedFolders_02.jpg"&gt;&lt;img src="http://1.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYbBt1PI/AAAAAAAAA78/Wv1ozstBfAQ/s320/VBox_SharedFolders_02.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5405464564020925682" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 201px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;All shared folders are listed here. To add one more, click the folder with a "plus" signal, at the right side.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYTGsbRI/AAAAAAAAA8E/XFuAch02YC8/s1600/VBox_SharedFolders_03.jpg"&gt;&lt;img src="http://4.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYTGsbRI/AAAAAAAAA8E/XFuAch02YC8/s320/VBox_SharedFolders_03.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5405464561894321426" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 308px; height: 201px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Write the host's folder full location, at "Folder Path" field. Optionally, this folder can be set as Read Only.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYjBgRuI/AAAAAAAAA8M/TJ1CcBRunWc/s1600/VBox_SharedFolders_04.jpg"&gt;&lt;img src="http://1.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYjBgRuI/AAAAAAAAA8M/TJ1CcBRunWc/s320/VBox_SharedFolders_04.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5405464566167520994" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 147px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Virtualbox will suggest a name according to the folder's name, as you can see above.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Preparing Virtualbox Software&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Now, let's make it available in our virtualized Ubuntu Server. First, we need to install it:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo aptitude install build-essential dkms&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After that, "install Guest Additions" in "Devices" menu. It is an ISO image, and will work as if it is a CD.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SwULuAJDJaI/AAAAAAAAA8c/-_0ghTMniVY/s1600/VBox_SharedFolders_05.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SwULuAJDJaI/AAAAAAAAA8c/-_0ghTMniVY/s320/VBox_SharedFolders_05.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5405739812667991458" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 208px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Let's access it's contents&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo mount /media/cdrom&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ cd /media/cdrom&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;In this folder there are several scripts, one for each system. You need to know wich version you have. Type the following:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ uname -m&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;x86_64&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My VM is a 64 bits. In my case I should type the following:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo ./VBoxLinuxAdditions-amd64.run&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If the answer is "i686", the script must be "VBoxLinuxAdditions-x86.run". Any of them will first verify it's integrity, and after start some compilations. It will take a couple of minutes. Since we are using Ubuntu Server, a message warns that "X Window drivers will not be installed".&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;b&gt;Building VirtualBox Kernel Modules&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;After all that, we are ready to build Virtualbox kernel modules, which is a really simple step. First, you will need to install kernel headers. Verify your kernel version with the command&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ uname -r&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My system is kernel "2.6.31-14-server". My kernel is "server" type, so my kernel headers are installed with the following command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;blockquote&gt;$ sudo aptitude install linux-headers-server&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is a good idea to always update your kernel. When the headers installation ends,  type the following command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo invoke-rc.d vboxadd setup&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After recompiling, Virtualbox recommends you to reboot. As you know, few operations require a system reboot, and most of them are kernel changings.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Mounting Shared Folders&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;We can now access it normally by mounting, using the module &lt;b&gt;vboxsf&lt;/b&gt; (VirtualBox Shared Folders). To mount it manually, we need to know the Shared Folders' name, which is "Example". I choose "/mnt" as mount point.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;$ sudo mount -t vboxsf Example /mnt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After that, you can copy files to and from /mnt folder. All these files will be available to the host system (in my case, Windows Vista System). If you want, with Windows Explorer you can access these files.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can also configure Linux to automatically mount this directory. As "root" user, edit &lt;b&gt;/etc/rc.local&lt;/b&gt; and add the following lines by the end of the file:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;if [ -z "$(grep '/media/SwitchFiles' /proc/mounts)" ]; then&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;/bin/mount -t vboxsf SwitchFiles /media/SwitchFiles&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;fi&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;/proc/mounts&lt;/b&gt; show all mount points. If "/media/SwitchFiles" is not listed there it will be mounted. Of course, you should create this directory, case it does not exist yet.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;My application&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Since I have many VMs with Ubuntu Server and Ubuntu Desktop working toghether, frequently I have to install some packages, thus downloading them. With shared folders, I can download once, through any VM and use it in all the others VMs. My "/var/cache/apt/archives" is the mount point of a shared folder in Windows, in "/etc/fstab" in all VMs, as follows:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;if [ -z "$(grep '/var/cache/apt/archives' /proc/mounts)" ]; then&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;/bin/mount -t vboxsf AptArchives /var/cache/apt/archives&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;fi&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Of course, in my Virtualbox console, I have created "AptArchives" shared folder in each VM.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do not forget to comment and to tell if this was useful or not.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-5642120156153441769?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/5642120156153441769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=5642120156153441769&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/5642120156153441769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/5642120156153441769'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/11/shared-folders-in-virtualbox-with.html' title='Shared Folders in VirtualBox with Ubuntu Server'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_RJJW_7g4Nn4/SwQRYCifAGI/AAAAAAAAA70/toeOr97kUQg/s72-c/VBox_SharedFolders_01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-6323335489545358362</id><published>2009-11-12T12:52:00.011-03:00</published><updated>2009-11-12T14:06:38.921-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>ODT being read in MS Word</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_RJJW_7g4Nn4/Svw2F_0y5LI/AAAAAAAAA7I/mDdAWEgW27A/s1600-h/WordError03.jpg"&gt;&lt;/a&gt;&lt;div&gt;Maybe I am late with this, but ...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img src="http://4.bp.blogspot.com/_RJJW_7g4Nn4/Svwwa5HKEQI/AAAAAAAAA6o/HObz9haXdL8/s320/MS+ODT.jpg" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 318px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5403246891503325442" /&gt;Until 2 weeks ago, I could not have my ODT document edited in MS Word 2007. All of a sudden, I open my work with Vista Home Premium (Legal Copy), and I saw my work with MS Word Icon. WOW!!! These last couple of days, Vista has warned several times it needed to restart, because of updates, and things like that. I understand updates, but I don't agree with all that everlastings restartings.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Anyway, I tried to watch the way MS Word understood my book. In past days, OpenOffice tried to understand DOC documents, but several troubles of formatting always were there, for&lt;/div&gt;&lt;div&gt; sarcasm of all: "it is awful, it will never do it, you will loose your work", and on.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MS did a really good job, except for some details:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://1.bp.blogspot.com/_RJJW_7g4Nn4/SvwyyQSprCI/AAAAAAAAA6w/DrCBPtOWjW4/s320/WordError01.jpg" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 189px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5403249491885796386" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1) Headings got off the margin:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;img src="http://2.bp.blogspot.com/_RJJW_7g4Nn4/Svw0776oCmI/AAAAAAAAA7A/WWepWj4UMLc/s320/WordError02.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5403251857238264418" style="float: right; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 10px; cursor: pointer; width: 320px; height: 189px; " /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) Bullets were not correctly interpreted&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://4.bp.blogspot.com/_RJJW_7g4Nn4/Svw2F_0y5LI/AAAAAAAAA7I/mDdAWEgW27A/s320/WordError03.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5403253129597871282" style="float: right; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 10px; cursor: pointer; width: 320px; height: 150px; " /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;3) Background images were not imported. In this image, there is a wall image behind the text "notas importantes", but it was not imported. Notice that, when I wrote this box, I inserted the image in the original ODT file. Also the watermark I defined (a Creative Commons license, converted to JPG) was not imported.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Other features I used in OOWrite worked perfectly. After all, opening ODT files in this updated version of Word was not as complicated as opening old DOCs format in OOWriter, but it was not perfect. Anyway, it is a good step for MS, having in mind interoperactivity.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you know about more details, let me know. Also, do not forget to comment and to tell if this was useful or not.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Update:&lt;/div&gt;&lt;div&gt;MSWord also does not natively export to PDF documents.&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/8643718483964216321-6323335489545358362?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/6323335489545358362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=6323335489545358362&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/6323335489545358362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/6323335489545358362'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/11/odt-being-read-in-ms-word.html' title='ODT being read in MS Word'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_RJJW_7g4Nn4/Svwwa5HKEQI/AAAAAAAAA6o/HObz9haXdL8/s72-c/MS+ODT.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-9162103966311789974</id><published>2009-10-07T12:33:00.006-03:00</published><updated>2009-10-07T13:31:30.621-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Colored man pages</title><content type='html'>&lt;span class="Apple-style-span"   style="  ;font-family:'Trebuchet MS', Trebuchet, Verdana, sans-serif;font-size:13px;"&gt;&lt;h3 class="post-title entry-title" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(158, 82, 5); font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; "&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0);   font-weight: normal; letter-spacing: normal; font-family:'Trebuchet MS', Trebuchet, Verdana, sans-serif;font-size:13px;"&gt;I found a &lt;a href="http://www.dicas-l.com.br/dicas-l/20090718.php" style="color: rgb(222, 112, 8); "&gt;really interesting post about in a brazilian site named DICAS-L&lt;/a&gt;, and thought it would be really helpful to have it here, for me or anyone else. Man pages may be read with colored keywords, what helps understanding the (usually complicated) text within.&lt;/span&gt;&lt;/h3&gt;&lt;div class="post-body entry-content"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style=" ;font-size:large;"&gt;Pagers&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;It should be good to first understand the idea behind &lt;b&gt;pagers&lt;/b&gt;. They are tools that ease the reading of long texts, as &lt;b&gt;man pages&lt;/b&gt; are.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For Unix, probably the oldest pager is &lt;b&gt;&lt;a href="http://en.wikipedia.org/wiki/More_(command)" style="color: rgb(222, 112, 8); "&gt;more&lt;/a&gt;&lt;/b&gt;, created by Daniel Halbert, in 1978. With ENTER the text is rolled up line by line, with SPACE we can read the next page, and for search the "/" character is used, as it is in &lt;b&gt;vim&lt;/b&gt;. Thus, &lt;b&gt;more&lt;/b&gt; became very important for Unix operator.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After, &lt;b&gt;&lt;a href="http://en.wikipedia.org/wiki/Less_(Unix)" style="color: rgb(222, 112, 8); "&gt;less&lt;/a&gt;&lt;/b&gt; was created by Mark Nudelman, from 1983 to 1985, offering more resources than &lt;b&gt;more&lt;/b&gt;. The names were meant to be a joke, obviously. &lt;b&gt;less&lt;/b&gt; allows the use of arrow keys for "navigating" the document, and much more interesting features than it's predecessor. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And finally, John Davis, from MIT, creates &lt;b&gt;most&lt;/b&gt;, a pager with more features than the well known &lt;b&gt;less&lt;/b&gt;. It is the basis of our article.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style=" ;font-size:large;"&gt;MAN pages&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;I strongly believe that MAN pages are simultaneously the best and the worst Unix documentation source, because (generally) they are written by the software author, but at the same time,  not only it does not offers (many) examples, as it mostly make wide use of technical jargon, which can be complicated to newbies. Another good point is that most of &lt;b&gt;man pages&lt;/b&gt; are written in English, and usually not localized, or at least as it should.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As said before, &lt;b&gt;man&lt;/b&gt; pages are huge, and a pager should be a great help. &lt;b&gt;pager&lt;/b&gt; is the default pager, and it is a symlink to some pager, as we can see:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;$ whereis pager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;pager: /usr/bin/pager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;$ file /usr/bin/pager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;/usr/bin/pager: symbolic link to `/etc/alternatives/pager'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;$ file /etc/alternatives/pager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;/etc/alternatives/pager: symbolic link to `/usr/bin/less'&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;We will replace &lt;b&gt;less&lt;/b&gt; by &lt;b&gt;most&lt;/b&gt;. What we need to do is to declare it with the environment variable &lt;b&gt;MANPAGER&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style=" ;font-size:large;"&gt;Installation&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;As usual, installing a software is really easy, specially in Debian-based distros:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;sudo aptitude install most&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style=" ;font-size:large;"&gt;Configuration&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;To manualliy configure most as &lt;b&gt;man&lt;/b&gt; pager, type the following:&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;$ export MANPAGER="/usr/bin/most -s"&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;But, by finishing your user session, this configuration vanishes. We really need to make it permanent, and we do so making smooth changes to start scripts:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If this pager must be ready only for the current user:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span"  style=" ;font-size:small;"&gt;$ echo 'export MANPAGER="/usr/bin/most -s"' &gt;&gt; ~/.bashrc&lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;If this pager must be ready for all users:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:small;"&gt;$ sudo su -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:small;"&gt;# echo 'export MANPAGER="/usr/bin/most -s"' &gt;&gt; /etc/profile&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style=" ;font-size:small;"&gt;# exit&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;From now on, man pages are all colored. Some tips about &lt;b&gt;most&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;b - bottom of the text&lt;/li&gt;&lt;li&gt;t - top of the text&lt;/li&gt;&lt;li&gt;/ - search for&lt;/li&gt;&lt;li&gt;q - quit the text&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;Of course, we should always try to edit the files above (~/.bashrc or /etc/profile) and add those lines manually, with correct comments, and on. Enjoy it !&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Don't forget to let down here what you thought about this article: useful, interesting or unuseful for you ?&lt;/div&gt;&lt;div&gt;Comments are welcome.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-9162103966311789974?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/9162103966311789974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=9162103966311789974&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/9162103966311789974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/9162103966311789974'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/10/colored-man-pages.html' title='Colored man pages'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-3398798536936622847</id><published>2009-09-22T04:21:00.003-03:00</published><updated>2009-09-22T04:52:20.266-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>My old Acer has finally gone ...</title><content type='html'>After almost 5 years wth me, my Acer laptop (Celeron) has been sold. Since it's arrival, it has mostly worked with Ubuntu in a partition, and Windows XP in another.&lt;br /&gt;&lt;br /&gt;After some months, only Ubuntu, and until last month, Ubuntu 9.04. I bought a brand new one (thanks, Lon !!!) from Toshiba. And a friend of us asked me that laptop for his son. I told him to keep Ubuntu, for it is better, safer, and all the stuff we know about it.&lt;br /&gt;&lt;br /&gt;- No, because he will have to learn lots of new concepts, and on.&lt;br /&gt;&lt;br /&gt;And that is for studying only. After some words, I finally gave up, and had to start reinstalling Windows XP on it. Vista would not work well. My first problem was with drivers, since I didn't have them. Not that difficult, Acer's site is really a breeze. I downloaded almost 10 drivers and started a painful path of OS rebuilding. More than 8 reboots after, I had a fully functional Windows: sound, video and anything useful else. Typical. No Compiz, jelly windows, cube desktop, or many other useful stuffs. Hummm ... I mentioned it was only a Celeron with 1G ?&lt;br /&gt;&lt;br /&gt;Office, Avira, hotfixes, all this stuff to be installed AFTER ending OS on Partition. More than 1:30 hours, My future ex-Acer is ready to serve someone else: a teenager ... (brrr).&lt;br /&gt;&lt;br /&gt;One week after, all the system was compromised with "some" viruses. Now, after all that problems, he'll give Linux a chance. I'll let you know about it after.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-3398798536936622847?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/3398798536936622847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=3398798536936622847&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3398798536936622847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3398798536936622847'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/09/my-old-acer-has-finally-gone.html' title='My old Acer has finally gone ...'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-100632179320220059</id><published>2009-05-03T00:23:00.008-03:00</published><updated>2009-05-03T07:44:22.558-03:00</updated><title type='text'>Speed up your Internet in Ubuntu</title><content type='html'>Where I live, fast Internet is a dream for most users. So, I need to do something to make my Internet speed increase. We will read here how to make a good use of the advantages offered by a &lt;a href="http://en.wikipedia.org/wiki/Linux_distribution"&gt;Linux Distro&lt;/a&gt; as &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The scenario&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I am using a &lt;a href="http://pt.wikipedia.org/wiki/3g"&gt;3G&lt;/a&gt; modem. Unfortunately here it does not work as it should, being unstable and slow, most of time. Only 10% of the full contrated speed is guaranteed. It still is expensive, but for mobility, it is what it is. One other detail: I am always in the same sites. A great number the sites, but usually the same.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The solution&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;A &lt;a href="http://en.wikipedia.org/wiki/Proxy_server"&gt;proxy&lt;/a&gt; is the best way to make it go faster. According to wikipedia, a proxy is "&lt;span style="font-style: italic;"&gt;a server (a computer system or an application program) that acts as a go-between for requests from clients seeking resources from other servers&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;Thus, every web access will be requested to the &lt;a href="http://en.wikipedia.org/wiki/Proxy_server"&gt;proxy&lt;/a&gt;, and it will fetch it in Internet. This web page will remain a little in the system, because if it is requested again, some components will already be downloaded. That means that your &lt;a href="http://en.wikipedia.org/wiki/Web_browser"&gt;browser&lt;/a&gt; will show the page faster.&lt;br /&gt;&lt;br /&gt;We will see some changes to be made in &lt;a href="http://en.wikipedia.org/wiki/Proxy_server"&gt;proxy&lt;/a&gt; server, and some others in &lt;a href="http://en.wikipedia.org/wiki/Web_browser"&gt;browser&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The Software&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;We'll be using &lt;a href="http://www.blogger.com/www.squid-cache.org"&gt;Squid&lt;/a&gt;, a well-known proxy server, famous, free and widely used. This configuration is not difficult, but requires attention. You should know how to use &lt;span style="font-weight: bold;"&gt;vim&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Squid installation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;As usual, installing a sofware in Ubuntu is a breeze. We will work using &lt;a href="http://en.wikipedia.org/wiki/Command-line_interface"&gt;CLI&lt;/a&gt;, instead of &lt;a href="http://en.wikipedia.org/wiki/Graphical_user_interface"&gt;GUI&lt;/a&gt;. I recommend you to copy the commands written here and paste them in &lt;a href="http://en.wikipedia.org/wiki/Bash"&gt;BASH&lt;/a&gt;, to avoid typos.&lt;br /&gt;&lt;br /&gt;First, let's assure that Ubuntu has informtion about the most recent packages. Open the &lt;a href="http://en.wikipedia.org/wiki/Command-line_interface"&gt;CLI&lt;/a&gt;, and paste the following lines:&lt;br /&gt;&lt;blockquote style="font-family: courier new;" face="courier new"&gt;sudo aptitude update&lt;br /&gt;sudo aptitude install squid&lt;/blockquote&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;Remeber that &lt;span style="font-weight: bold;"&gt;if you want&lt;/span&gt;, you can dispose the whole squid configuration with the following lines:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-family: courier new;font-size:130%;" &gt;&lt;span style="font-size:100%;"&gt;sudo chattr -i /etc/squid/squid.conf.original&lt;br /&gt;sudo rm &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: courier new;"&gt;/etc/squid/squid.conf.original&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sudo aptitude purge squid&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;You need &lt;a href="http://en.wikipedia.org/wiki/Vim"&gt;&lt;span style="font-weight: bold;"&gt;vim&lt;/span&gt;&lt;/a&gt; to be installed. If you are not sure about it, copy this line and paste it on Bash:&lt;br /&gt;&lt;blockquote style="font-family: courier new;" face="courier new"&gt;sudo aptitude install vim&lt;/blockquote&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Squid Configuration&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;First of all, let's do a backup copy of it's configuration file:&lt;br /&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-family: courier new;"&gt;sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sudo chattr +i /etc/squid/squid.conf.original&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;Squid Configuration file has lots of comments. They are really helpful, but can be annoying sometimes. So we will "clean" it all:&lt;br /&gt;&lt;blockquote face="courier new"&gt;&lt;span style="font-size:85%;"&gt;sudo egrep -v "^$|^ *#" \&lt;br /&gt;/etc/squid/squid.conf.original &gt; /etc/squid/squid.conf&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;We must know the version of our software. This is how I can identify squid version:&lt;br /&gt;&lt;blockquote&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sudo dpkg -p squid&lt;br /&gt;&lt;br /&gt;Package: squid&lt;br /&gt;Priority: optional&lt;br /&gt;Section: web&lt;br /&gt;Installed-Size: 1748&lt;br /&gt;Maintainer: Ubuntu Core Developers &lt;ubuntu-devel-discuss@lists.ubuntu.com&gt;&lt;br /&gt;Architecture: i386&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Version: 2.7.STABLE3-4.1ubuntu1&lt;/span&gt;&lt;br /&gt;Replaces: squid-novm&lt;br /&gt;Depends: libc6 (&gt;= 2.4), libcomerr2 (&gt;= 1.01), libdb4.7, libkrb53 (&gt;= 1.6.dfsg.2), libldap-2.4-2 (&gt;= 2.4.7), libpam0g (&gt;= 0.99.7.1), netbase, adduser, logrotate (&gt;= 3.5.4-1), squid-common (&gt;= 2.7.STABLE3-4.1ubuntu1), lsb-base (&gt;= 3.2-14), ssl-cert (&gt;= 1.0-11ubuntu1)&lt;br /&gt;Pre-Depends: debconf (&gt;= 1.2.9) | debconf-2.0&lt;br /&gt;Suggests: squidclient, squid-cgi, logcheck-database, resolvconf (&gt;= 0.40), smbclient, winbind&lt;br /&gt;Conflicts: sarg (&lt;&lt;&gt;&lt;br /&gt;&lt;/ubuntu-devel-discuss@lists.ubuntu.com&gt;&lt;/span&gt;&lt;/blockquote&gt;This another way to do te same:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;sudo dpkg -l | grep squid&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;In my system, this was the result:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ii  squid  &lt;span style="font-weight: bold;"&gt;2.7.STABLE3-4.1ubuntu1&lt;/span&gt;   Internet object cache (WWW proxy cache)&lt;/span&gt; &lt;/span&gt;&lt;/blockquote&gt;Note that if your version is different, &lt;span style="font-weight: bold;"&gt;may ther be&lt;/span&gt; some differences.&lt;br /&gt;&lt;br /&gt;Finally, let's start with the changes in Squid:&lt;br /&gt;&lt;blockquote face="courier new"&gt;sudo vim /etc/squid/squid.conf -c ":set number"&lt;/blockquote&gt;I did the following changes:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;&lt;span style="font-size:85%;"&gt;...&lt;br /&gt;35 icp_access deny all&lt;br /&gt;36 http_port &lt;span style="font-weight: bold;"&gt;127.0.0.1:&lt;/span&gt;3128&lt;br /&gt;37 hierarchy_stoplist cgi-bin ?&lt;br /&gt;...&lt;br /&gt;48 extension_methods REPORT MERGE MKACTIVITY CHECKOUT&lt;br /&gt;49 &lt;span style="font-weight: bold;"&gt;dns_nameservers 200.169.116.23 200.169.116.22&lt;/span&gt;&lt;br /&gt;50 hosts_file /etc/hosts&lt;/span&gt;&lt;/blockquote&gt;Line 36 makes my Ubuntu more secure. In line 49 I stated both DNS IPs from my provider. acrescentei a linha 49, com os IPs do &lt;a href="http://en.wikipedia.org/wiki/Domain_Name_System"&gt;DNS&lt;/a&gt; do meu provedor. If you don't know about these IPs (they should be given by your ISP), you may see them in your Ubuntu system:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;sudo cat /etc/resolv.conf&lt;/blockquote&gt;In my system, I had the following:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;nameserver 200.255.121.39&lt;br /&gt;nameserver 200.169.117.14&lt;/blockquote&gt;After these changes, we need to restart squid. So, let's do it:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;sudo /etc/init.d/squid reload&lt;/blockquote&gt;To assure it is working, we can search the open ports. Squid uses port &lt;span style="font-weight: bold;"&gt;3128&lt;/span&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;sudo netstat -ltnp | grep -i squid&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;In my system:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;tcp  0  0 &lt;span style="font-weight: bold;"&gt;127.0.0.1:3128&lt;/span&gt;       0.0.0.0:*          OUÇA       3216/(squid)  &lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;What is bold in this line, is the same content of line 36 of squid's configuration file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Browser&lt;/span&gt;&lt;/span&gt; &lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;configuration&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;The changes in our &lt;a href="http://en.wikipedia.org/wiki/Web_browser"&gt;browser&lt;/a&gt; will be much easier. Let's do it in Firefox, which is already present in Ubuntu:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEMDgNvI/AAAAAAAAA24/VTlVh-EpPTs/s1600-h/Browser1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 231px;" src="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEMDgNvI/AAAAAAAAA24/VTlVh-EpPTs/s320/Browser1.png" alt="" id="BLOGGER_PHOTO_ID_5331253778599393010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let's first access Preferences, in edit menu.&lt;br /&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;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEUsC1JI/AAAAAAAAA3A/Vnzm6-JjHjk/s1600-h/Browser2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 202px;" src="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEUsC1JI/AAAAAAAAA3A/Vnzm6-JjHjk/s320/Browser2.png" alt="" id="BLOGGER_PHOTO_ID_5331253780916917394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After, we need to push &lt;span style="font-weight: bold;"&gt;Advanced&lt;/span&gt; button. In &lt;span style="font-weight: bold;"&gt;network&lt;/span&gt; tab, click on &lt;span style="font-weight: bold;"&gt;CONFIGURE&lt;/span&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;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEu2ZXUI/AAAAAAAAA3I/x_-jOVlUjh0/s1600-h/Browser3.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 307px;" src="http://2.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEu2ZXUI/AAAAAAAAA3I/x_-jOVlUjh0/s320/Browser3.png" alt="" id="BLOGGER_PHOTO_ID_5331253787939659074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do the same changes I did in this screen. Mine is in Brazilian Portuguese, but the fields are in the same place.&lt;br /&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;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is done. Proxy server installed and configured, and browser configured to talk to proxy server. In my computer, in about 8 days of use, I had the folowing use of HD:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;sudo du -sh /var/spool/squid/&lt;br /&gt;32M    /var/spool/squid/&lt;/blockquote&gt;You should always control the space used by squid. If it increases too much, you can empty this cache.  Type the following:&lt;br /&gt;&lt;blockquote style="font-family: courier new;"&gt;sudo squid -z&lt;/blockquote&gt;Don't forget to answer our poll, saying if this was useful, interesting or unuseful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-100632179320220059?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/100632179320220059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=100632179320220059&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/100632179320220059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/100632179320220059'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/05/faster-internet.html' title='Speed up your Internet in Ubuntu'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_RJJW_7g4Nn4/SfxrEMDgNvI/AAAAAAAAA24/VTlVh-EpPTs/s72-c/Browser1.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-4561355787848421615</id><published>2009-04-27T20:03:00.010-03:00</published><updated>2009-04-27T20:19:43.587-03:00</updated><title type='text'>More security problems in Windows 7</title><content type='html'>In spite of the announced increase on security levels, a &lt;a href="http://www.schneier.com/blog/archives/2007/04/vbootkit_bypass.html"&gt;problem discovered in 2007&lt;/a&gt; in Vista is still causing complications, this time on Windows 7. In 2007, Bruce Schneier points out the problem with the following:&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;Experts say that the fundamental problem that this highlights is that every stage in Vista's booting process works on blind faith that everything prior to it ran cleanly. The boot kit is therefore able to copy itself into the memory image even before Vista has booted and capture interrupt 13, which operating systems use for read access to sectors of hard drives, among other things.&lt;/blockquote&gt;Interestingly, 2 years after, Windows 7 keep almost the same problems. During &lt;a href="http://www.hackinthebox.org/"&gt;HITB (Hack In The Box)&lt;/a&gt;, wich is a security event, the researchers &lt;span style="font-size: 100%;"&gt;&lt;/span&gt;&lt;span style="font-size: 100%;"&gt;Vipin Kumar and Nitin Kumar demonstrate&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;&lt;a href="http://www.hackinthebox.org/index.php?name=News&amp;amp;file=article&amp;amp;sid=31028"&gt;here&lt;/a&gt; how to gain control of a Windows 7 virtual machine, while during the boot.&lt;br /&gt;&lt;span style="font-size: 85%;"&gt;&lt;blockquote style="font-style: italic;"&gt;&lt;span style="font-size: 100%;"&gt;It's a design problem," Vipin Kumar said, explaining the software exploits the Windows 7 assumption that the boot process is safe from attack. While VBootkit 2.0 shows how an attacker can take control of a Windows 7 computer, it's not necessarily a serious threat. For the attack to work, an attacker must have physical access to the victim's computer. The attack can not be done remotely.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/span&gt;Not only this, but Nitim says that there is nothing to be done, because this is a project problem, where is presumed that during the boot the OS is safe against attacks.&lt;span style="font-size: 85%;"&gt;&lt;br /&gt;&lt;span style="font-size: 100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-style: italic; font-size: 100%;"&gt;"There's no fix for this. It cannot be fixed. It's a design problem," Vipin Kumar said (..)&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;VBootKit 2.0 is only 3 Kb !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-4561355787848421615?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/4561355787848421615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=4561355787848421615&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/4561355787848421615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/4561355787848421615'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/04/more-security-problems-in-windows-7.html' title='More security problems in Windows 7'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-2163759864241389448</id><published>2009-04-26T12:00:00.005-03:00</published><updated>2009-04-26T13:01:06.463-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Reinstalling our best tools in Ubuntu 9.04</title><content type='html'>Finally, Ubuntu 9.04 is right on the way. Since 8.10 version, I have installed lots of tools, and now it is time to install this 9.04 pearl. But, of course I get worried of wasteing some of the tools I was allways making use of. Here I'll show what to do to get all them again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Levantamento de Software Instalado&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;I have been using &lt;span style="font-weight: bold;"&gt;aptitude&lt;/span&gt; instead of &lt;span style="font-weight: bold;"&gt;apt-get&lt;/span&gt; for some time, for it is already in the system by the default, in any Debian variant, as Ubuntu is. Besides, &lt;span style="font-weight: bold;"&gt;aptitude&lt;/span&gt; records in log every action. This log file is &lt;span style="font-weight: bold;"&gt;/var/log/aptitude.log&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Thus, the folowing line will reveal back all tools that have been installed by &lt;span style="font-weight: bold;"&gt;aptitude&lt;/span&gt;, in Ubuntu:&lt;br /&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;sudo cat /var/log/aptitude | grep "\[INSTALAR\]" |\&lt;br /&gt;cut -d" " -f2   &gt; ~/Desktop/Inst.txt&lt;br /&gt;sudo zcat /var/log/aptitude*gz | grep "\[INSTALAR\]" |\&lt;br /&gt;cut -d" " -f2   &gt;&gt; ~/Desktop/Inst.txt&lt;/span&gt;&lt;/blockquote&gt;Consider the "&lt;span style="font-weight: bold;"&gt;\&lt;/span&gt;" by the end of 1st and 3rd lines. It tells &lt;a href="http://en.wikipedia.org/wiki/Bash"&gt;BASH&lt;/a&gt; that the following line is the continuation of the actual line. Thus I can assure that there are only 2 lines of &lt;a href="http://en.wikipedia.org/wiki/Command-line_interface"&gt;CLI&lt;/a&gt; code. Instead of having them typed, I strongly suggest you to copy and paste them both on &lt;a href="http://en.wikipedia.org/wiki/Bash"&gt;BASH&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Command-line_interface"&gt;CLI&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;A file &lt;span style="font-weight: bold;"&gt;Inst.txt&lt;/span&gt; will pop up in the Desktop, and in it a list of the installed files. This is the content of my file:&lt;br /&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;alien-arena&lt;br /&gt;avant-window-navigator&lt;br /&gt;build-essential&lt;br /&gt;chromium&lt;br /&gt;compizconfig-settings-manager&lt;br /&gt;debian-keyring&lt;br /&gt;dia&lt;br /&gt;extremetuxracer&lt;br /&gt;exuberant-ctags&lt;br /&gt;fdutils&lt;br /&gt;ffmpeg&lt;br /&gt;flashplugin-nonfree&lt;br /&gt;frozen-bubble&lt;br /&gt;gdm-themes&lt;br /&gt;gnochm&lt;br /&gt;gnome-ppp&lt;br /&gt;gpaint&lt;br /&gt;hping2&lt;br /&gt;htop&lt;br /&gt;idle&lt;br /&gt;iftop&lt;br /&gt;imagemagick&lt;br /&gt;ipcalc&lt;br /&gt;iptraf&lt;br /&gt;k3b&lt;br /&gt;mozilla-plugin-vlc&lt;br /&gt;mpg123&lt;br /&gt;msttcorefonts&lt;br /&gt;nmap&lt;br /&gt;p7zip&lt;br /&gt;python3&lt;br /&gt;rails&lt;br /&gt;rar&lt;br /&gt;smplayer&lt;br /&gt;sox&lt;br /&gt;ssh&lt;br /&gt;sun-java6-jre&lt;br /&gt;swat&lt;br /&gt;traceroute&lt;br /&gt;transcode&lt;br /&gt;tree&lt;br /&gt;unrar&lt;br /&gt;vim&lt;br /&gt;virtualbox-ose&lt;br /&gt;vlc&lt;br /&gt;wireshark&lt;/span&gt;&lt;/blockquote&gt;I removed the dependencies, because they will automatically be installed, but you don't need to.&lt;br /&gt;&lt;br /&gt;So, after installing the new Ubuntu version , I will be able to install my stuff with this following line:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;aptitude install $(cat &lt;/span&gt;&lt;span style="font-size:85%;"&gt;~/Desktop/Inst.txt)&lt;/span&gt;&lt;/blockquote&gt;Of course, this only applies to packages installed via &lt;span style="font-weight: bold;"&gt;aptitude&lt;/span&gt;. &lt;span style="font-weight: bold;"&gt;tar.gz&lt;/span&gt; and other ways of installation usually does not apply, because they are not logged by &lt;span style="font-weight: bold;"&gt;aptitude&lt;/span&gt; log file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-2163759864241389448?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/2163759864241389448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=2163759864241389448&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2163759864241389448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2163759864241389448'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/04/reinstalling-our-best-tools-in-ubuntu.html' title='Reinstalling our best tools in Ubuntu 9.04'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-8160548055945386578</id><published>2009-04-21T19:10:00.006-03:00</published><updated>2009-04-21T20:12:17.151-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>The top 10 Linux commands on BASH, and more ...</title><content type='html'>I recognize I am an almost 100% Ubuntu user, either in home or working. But even with all the resources ready to use in a Ubuntu Desktop, and the usability it provides, I am frquently in a &lt;a href="http://en.wikipedia.org/wiki/Command-line_interface"&gt;CLI (Command Line Interface)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Thus, almost with a new version of Ubuntu, the 9.04, I am searching for all the stuff I have installed in my 8.10, because I will probably reinstall them. Of course, registering this here will help others, and myself.&lt;br /&gt;&lt;br /&gt;But, in the warmth of the battle, I questioned myself: what was the command I used the most ? "Googling" the web, I found &lt;a href="http://linux.byexamples.com/archives/332/what-is-your-10-common-linux-commands/"&gt;a post written by &lt;span style="font-style: italic;"&gt;MySurface&lt;/span&gt;&lt;/a&gt;, that shows a soberb &lt;a href="http://en.wikipedia.org/wiki/Pipeline_%28Unix%29"&gt;&lt;span style="font-style: italic;"&gt;pipeline&lt;/span&gt;&lt;/a&gt; :&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | \&lt;br /&gt;column -c3 -s " " -t | sort -nr | nl |  head -n10&lt;/blockquote&gt;&lt;/pre&gt;Ok, great and terrible, &lt;a href="http://en.wikipedia.org/wiki/Godzilla"&gt;Godzilla&lt;/a&gt; is a tiny and cute gecko, and so on. I assure you, it will not bite you, nor melt your &lt;a href="http://en.wikipedia.org/wiki/Cpu"&gt;CPU&lt;/a&gt;. What it will really do is to show the top ten commands you've issued in BASH. Copy it from here and paste on your console. The result in my &lt;span style="font-weight: bold;"&gt;root&lt;/span&gt; account was:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;     &lt;span style="font-family:courier new;"&gt;1      73  14.6%  ls&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     2      37   7.4%    ufw&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     3      37   7.4%    cd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     4      25     5%        iptables&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     5      23   4.6%    aptitude&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     6      18   3.6%    ifconfig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     7      14   2.8%    man&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     8      13   2.6%    tail&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     9      13   2.6%    du&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;    10    11   2.2%    host&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;That means &lt;span style="font-weight: bold;"&gt;ls&lt;/span&gt; is my most used command: it represents 14.6% of all: it was issued 73 times, in different conditions. This &lt;span style="font-style: italic;"&gt;pipeline&lt;/span&gt; researched my command history and gave me this results.&lt;br /&gt;&lt;br /&gt;I have made a simple modification to see the whole list:&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | \&lt;br /&gt;column -c3 -s " " -t | sort -nr | nl |  less&lt;/blockquote&gt;&lt;/pre&gt;In this case, press &lt;span style="font-weight: bold;"&gt;q&lt;/span&gt; to finish.&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Conclusions&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;After that, I could see that:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To have a better information, I should no use &lt;span style="font-weight: bold;"&gt;sudo&lt;/span&gt; for my administration tasks. Instead, I should login to &lt;span style="font-weight: bold;"&gt;root&lt;/span&gt; (&lt;span style="font-weight: bold;"&gt;$ sudo su -&lt;/span&gt;). Now every command issued by &lt;span style="font-weight: bold;"&gt;root&lt;/span&gt; account will be stored in its history. Guys on Ubuntu does warn that this may be harmful, that's why they provide a so complete &lt;span style="font-weight: bold;"&gt;sudo&lt;/span&gt; resource. So be advised:&lt;span style="font-weight: bold;"&gt; USE IT WITH CARE&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;! :)&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Ubuntu default size for History File is 500 lines. I changed this to 1000 lines in &lt;span style="font-weight: bold;"&gt;~root/.bashrc&lt;/span&gt;, adding the line &lt;span style="font-weight: bold;"&gt;HISTSIZE=1000&lt;/span&gt;&lt;span&gt; i&lt;/span&gt;&lt;span&gt;n this file.&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-8160548055945386578?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/8160548055945386578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=8160548055945386578&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8160548055945386578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8160548055945386578'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/04/top-10-linux-commands-on-bash-and-more.html' title='The top 10 Linux commands on BASH, and more ...'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-482813990850802531</id><published>2009-04-19T12:31:00.003-03:00</published><updated>2009-04-19T14:51:44.112-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>MSN Messenger access Microsoft secretly</title><content type='html'>At least, most of MSN Messenger does not know that ...&lt;br /&gt;&lt;br /&gt;Recently I was called by a friend, to help him in his computer problems. A reasonable desktop box, with Windows XP and ESET anti-virus.&lt;br /&gt;&lt;br /&gt;MSN 2009 had been installed, but just was not working. I started ESET firewall, and set him to block data traffic, incoming or outgoing. This way I could watch any MSN access. Unfortunatelly, it did not worked at all, so I started working in some others tries, but left Firewall working in the same way. Searching on Internet, I found &lt;a href="http://www.oldversion.com/MSN-Messenger.html"&gt;this page&lt;/a&gt;, with older versions of MSN.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SetAAt3PQOI/AAAAAAAAA2w/s8sqgB20kJI/s1600-h/VLC+Privacy.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 294px; height: 241px;" src="http://3.bp.blogspot.com/_RJJW_7g4Nn4/SetAAt3PQOI/AAAAAAAAA2w/s8sqgB20kJI/s320/VLC+Privacy.png" alt="" id="BLOGGER_PHOTO_ID_5326421365351203042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After downloading 8.5, I started removing the 2009 version. Surprisingly, &lt;span style="font-weight: bold;"&gt;ESET Firewall blocked an access try to the Software Vendor. And more than 3 times !!! &lt;/span&gt;I cannot understand this. If I was uninstalling the software, why to contact Microsoft ?&lt;br /&gt;&lt;br /&gt;I immediately thought  of &lt;a href="http://www.videolan.org/"&gt;VLC&lt;/a&gt;, as shown in this popup. This just did not happened with MSN. The software did not warned me of this, just did it. this is disgusting. They could at least prompt the user about what was about to be done.&lt;br /&gt;&lt;br /&gt;After this bad experience, after breathing deeply, I decided to continue, of course. Having installed 8.5 version, I started it, and I was prompted by a warning of a new version to be installed. Of course, I denied, and ... nothing happened. Twice, 3 times, and nothing happened. That means, get the new verson, it is an order. Or else just does not use it.&lt;br /&gt;&lt;br /&gt;Wow! Those guy are really bold!! &lt;span style="font-weight: bold;"&gt;The computer is owned by the one who bought it, if he wants to use it with an older version, it is his business, not Microsoft business.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mais uma vez fiquei tremendamente irritado. &lt;span style="font-weight: bold;"&gt;O computador pertence ao seu dono, ou seja, a quem desembolsou dinheiro para o comprar, e o fornecedor do software se acha no direito de impôr suas decisões sobre qual versão do software o usuário tem que usar. It was his own money!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Went for a little (a lotta) water, to cool my hatred. I found some tricks to apply on Register (nothing that easy, as many says) and MSN 2009 (after being re-downloaded) was ready to be used. That's okay, it is a Beta version. It will be fixed.&lt;br /&gt;&lt;br /&gt;But, I ask any of you: Why does it must be this way ? please, technical answers, and not those built upon a "I think" basis.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-482813990850802531?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/482813990850802531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=482813990850802531&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/482813990850802531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/482813990850802531'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2009/04/msn-messenger-access-microsoft-hiddenly.html' title='MSN Messenger access Microsoft secretly'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_RJJW_7g4Nn4/SetAAt3PQOI/AAAAAAAAA2w/s8sqgB20kJI/s72-c/VLC+Privacy.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-8719953491395346125</id><published>2008-12-16T09:09:00.008-03:00</published><updated>2008-12-23T16:21:00.177-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>HTML errors messages</title><content type='html'>Do you want to know what is the meaning of those weird error messages in your web browser, such as "error 407" or "error 400", whenever you try to access an internet page ?&lt;br /&gt;&lt;br /&gt;Here is a helpful table, mainly when you are reading Squid's access log file. I found it in &lt;a href="http://www.stretchedout.com/articles/htmlerrors.htm"&gt;Stretched Out&lt;/a&gt; site:&lt;br /&gt;    &lt;style type="text/css"&gt;  &lt;!--   @page { margin: 2cm }   TD P { margin-bottom: 0cm }   P { margin-bottom: 0.21cm }  --&gt;&lt;/style&gt;&lt;br /&gt;&lt;table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="8%"&gt;&lt;p class="western"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;&lt;b&gt;Comment/Reason&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="100" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;100&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Continue&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="101" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;101&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Switching Protocols&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="200" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;200&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;OK&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Action complete successfully&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="201" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;201&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Created&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Success following a POST command&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="202" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;202&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Accepted&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The request has been accepted for    processing, but the processing has not yet been completed.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="203" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;203&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Partial Information&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Response to a GET command, indicates that    the returned information is from a private web.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="204" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;204&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;No Content&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Server has received the request but there is    nothing to send back. (Empty Document)&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="205" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;205&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Reset Content&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="206" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;206&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Partial Content&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The requested file was partially sent.      Usually caused by stopping or refreshing a web page before it    loads.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="300" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;300&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Multiple Choices&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The request could fit multiple files.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="301" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;301&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Moved Permanently&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Requested a directory instead of a file.      The web server substituted the index.html file.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="302" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;302&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Moved Temporarily&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="303" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;303&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;See Other&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="304" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;304&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Not Modified&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The cached version of the requested file is    the same as the file to be sent.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="305" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;305&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Use Proxy&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="400" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;400&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Bad Request&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The request had bad syntax or could not be    interpreted.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="401" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;401&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Unauthorized&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;User failed to provide a valid user name /    password required for access to file / directory.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="402" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;402&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Payment Required&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="403" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;403&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Forbidden&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;Access to a protected or private password    protected folder was attempted.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="404" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;404&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Not Found&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The requested file was not found.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="405" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;405&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Method Not Allowed&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="406" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;406&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Not Acceptable&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="407" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;407&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Proxy Authentication Required&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="408" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;408&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Request Time-Out&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The server did not respond in the allocated    time.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="409" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;409&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Conflict &lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="410" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;410&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Gone&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="411" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;411&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Length Required&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="412" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;412&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Precondition Failed&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="413" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;413&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Request Entity Too Large&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="414" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;414&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Request-URL Too Large&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The submitted URL was too long to be    interpreted by the server.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="415" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;415&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Unsupported Media Type&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="500" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;500&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Server Error&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The server encountered an unexpected    condition which prevented it from fulfilling the request&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="501" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;501&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Not Implemented&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The server does not support the service    required.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="502" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;502&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Bad Gateway &lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt; &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="503" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;503&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Out of Resources&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The server cannot process the request due to    a system overload.  This is usually a temporary condition.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="504" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;504&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;Gateway Time-Out&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The service did not respond within the time    frame that the gateway was set to wait.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td sdval="505" sdnum="1046;" width="8%"&gt;    &lt;p class="western"&gt;505&lt;/p&gt;   &lt;/td&gt;   &lt;td width="28%"&gt;    &lt;p class="western"&gt;HTTP Version not supported&lt;/p&gt;   &lt;/td&gt;   &lt;td width="63%"&gt;    &lt;p class="western"&gt;The Web Server does not understand the    version of http used by the browser.&lt;/p&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/8643718483964216321-8719953491395346125?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/8719953491395346125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=8719953491395346125&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8719953491395346125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/8719953491395346125'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/12/html-errors-messages.html' title='HTML errors messages'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-878115778851118219</id><published>2008-12-12T17:53:00.005-03:00</published><updated>2008-12-23T17:22:51.809-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Free software'/><title type='text'>Teacher says that there is no free software</title><content type='html'>I have just known &lt;a href="http://br-linux.org/2008/desconfianca-de-pirataria-de-linux-faz-professora-colocar-alunos-na-detencao/"&gt;that&lt;/a&gt; (in portuguese), and it is astonishing. You can read more about this in &lt;a href="http://linuxlock.blogspot.com/2008/12/linux-stop-holding-our-kids-back.html"&gt;Blog of Helios&lt;/a&gt; and &lt;a href="http://www.contractoruk.com/news/004117.html"&gt;The Contractor UK&lt;/a&gt;, both in English.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The summary&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Karen (the teacher) saw students around a laptop, and went to understand it. She found one of them with the laptop showing what Linux could do in his machine (take a look at some of this &lt;a href="http://www.youtube.com/results?search_query=compiz+ubuntu+8.10&amp;amp;search_type=&amp;amp;aq=1&amp;amp;oq=compiz+ubunt"&gt;videos&lt;/a&gt;). Not only this, but he was GIVING copies of it to his friends.&lt;br /&gt;&lt;br /&gt;Karen kept them all and after talking to the students, she had a name: &lt;a href="http://www.linux.com/feature/51737"&gt;Ken Starks&lt;/a&gt;. She wrote the email with lots of wrong ideas. Both emails, from Karen and Starks' answer are in &lt;a href="http://linuxlock.blogspot.com/2008/12/linux-stop-holding-our-kids-back.html"&gt;Blog of Helios&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The worst&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Even in US, a great country, even in Texas, a great state, developed, with lots of technologies, lots of people just don't know that there are others possibilities besides MS Windows. A teacher, whose responsability is to prepare youngs , should know this. At least, not to be saying so many wrong things.&lt;br /&gt;&lt;br /&gt;I have no doubt: she did what she understood as correct. Where she saw a threat to the kids, she reacted in defense of them. But she is indeed not prepared. Not in technology matters.&lt;br /&gt;&lt;br /&gt;She needs to stay in touch with technoloy, as to other subjects. Or else, she may be teaching that the Earth is flat ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-878115778851118219?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/878115778851118219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=878115778851118219&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/878115778851118219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/878115778851118219'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/12/teacher-says-that-there-is-no-free.html' title='Teacher says that there is no free software'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-946242277453000313</id><published>2008-12-08T22:38:00.006-03:00</published><updated>2008-12-09T01:54:46.601-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux for simple users - Ubuntu and OpenOffice</title><content type='html'>Since the beginning in my Linux story, Linux installations has been easier and easier. Up to now, what we see is Linux growing more and more in companies. Not on the desks, but working where the common user does not see.&lt;br /&gt;&lt;br /&gt;There, there are no need to use graphic interface, or mouses. It is a completely different world, where all the commands are issued at a black screen with small white letters, completely senseless. At least, for common users.&lt;br /&gt;&lt;br /&gt;Common users want to turn on the system, enter their login account and password, and use it by clicking the Internet browser. Oh, forgot the MSN also. We will try to discuss and show some details of Linux security and Linux installation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;High Cost of Aquisition&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RJJW_7g4Nn4/ST3UEZEUK_I/AAAAAAAAA1U/W_a89lFczas/s1600-h/Brasoftware.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 170px; height: 133px;" src="http://1.bp.blogspot.com/_RJJW_7g4Nn4/ST3UEZEUK_I/AAAAAAAAA1U/W_a89lFczas/s200/Brasoftware.JPG" alt="" id="BLOGGER_PHOTO_ID_5277607510261640178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The problem is the cost of proprietary software. Here in Brazil MS Windows and MS Office are very expensive, as can be seen in the picture. In this famous &lt;a href="http://www.blogger.com/www.brasoftware.com"&gt;Brazilan store&lt;/a&gt;, I choose Windows Ultimate with SP1 in DVD, an MS Office 2007 Standard version, in CD. Both cost R$ 1,798.00 (&lt;a href="http://www.xe.com/ucc"&gt;US$ 715.90 and EUR$ 555.00&lt;/a&gt;), today. Almost the same buy in Amazon.com costs a a little less, but with the more complete MS Office Professional 2007 full version: US$ 649.98 (R$ 1,632.43). I am not considering the Anti Virus (there is no chance for making use of MS &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_RJJW_7g4Nn4/ST3oMQnMfVI/AAAAAAAAA1c/uKC19VM5vJA/s1600-h/Amazon.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 167px; height: 104px;" src="http://1.bp.blogspot.com/_RJJW_7g4Nn4/ST3oMQnMfVI/AAAAAAAAA1c/uKC19VM5vJA/s200/Amazon.JPG" alt="" id="BLOGGER_PHOTO_ID_5277629635663527250" border="0" /&gt;&lt;/a&gt;Windows if you do not install such software).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;No Cost of Aquisition&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Considering all the functions that MS Office offers to you (and I believe that today there are no better Office Suit) I'd say that it is reasonable to pay such value. But, I believe that the majority of end users doesn't even know lots of basic procedures of MS Word or MS Excel. Many just need Power Point installed to read those presentations that come attached in many emails. So, in second hand, this money stars to get really expensive. If I consider the Linux I am using nowadays (&lt;a href="http://www.ubuntu.com/products/WhatIsUbuntu/desktopedition"&gt;Ubuntu 8.10&lt;/a&gt;, download &lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;here&lt;/a&gt;) and the Office Suite (&lt;a href="http://www.openoffice.org/"&gt;Open Office 2&lt;/a&gt;) that is always helping me in writing my texts an sheets, I will conclude that I just "spent" the time to download Ubuntu, since OpenOffice is already installed in it. Nothing to buy, nothing difficult to use, and much more interesting (in brightness and cute stuff on screen). If you wanna know how, take a look at &lt;a href="http://www.youtube.com/watch?v=xC5uEe5OzNQ"&gt;this&lt;/a&gt;, &lt;a href="http://www.youtube.com/watch?v=7QyyC4LRoYI"&gt;this&lt;/a&gt; and &lt;a href="http://www.youtube.com/watch?v=Kxk6oFqMJVY"&gt;this&lt;/a&gt;. Just to start.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Compatibility&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Of course, there are problems. No software made to Windows will work in Linux. In fact, some of then can, but not usually. Depending on the format of files, they can all be read. Except the new format DOCX. Ok, lots of people that yet use Office 2003 will have some troubles reading documents saved with MS Office 2007 also. Games and some other software will not work. But the problem is not resting on Linux. The software developers just make a version for Windows. Until they make a version for Linux (as they sometimes make an Apple version), their software will never work.&lt;br /&gt;&lt;br /&gt;Open Software people are always looking for soving such problems of us. For DOCX problems, there is &lt;a href="http://maketecheasier.com/ubuntu-howto-open-docx-file-in-openoffice/2007/12/05"&gt;this solution&lt;/a&gt;. It is worhty.&lt;br /&gt;&lt;br /&gt;Today, I am extremely used to work with Ubuntu 3D Desktop, and I get some frustated when I havo to use Windows and I find no especial effects, not only because it is funny, but because it is practical.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Conclusion&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;So, if you read/send emails, write some texts and sheets, and access Internet, Ubuntu may be for you. You should really give a try.&lt;br /&gt;&lt;br /&gt;Next time, let's try to understand a little more about Linux security procedures and Linux installation. Feel free to post any questions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-946242277453000313?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/946242277453000313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=946242277453000313&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/946242277453000313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/946242277453000313'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/12/linux-for-simple-users-ubuntu-and.html' title='Linux for simple users - Ubuntu and OpenOffice'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_RJJW_7g4Nn4/ST3UEZEUK_I/AAAAAAAAA1U/W_a89lFczas/s72-c/Brasoftware.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-2429952000555313531</id><published>2008-12-04T18:39:00.005-03:00</published><updated>2008-12-24T02:46:24.140-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Hello World</title><content type='html'>Me and Mabuya were talking about something of FTP, and so I searched for some additional informations in Google. I then found a very interesting, funny and inteligent text,  &lt;a href="http://www.pcs.usp.br/%7Ejkinoshi/bs/b001023.html"&gt;here&lt;/a&gt; about the famous first piece of most programmers. Have fun.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Who are you ?&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;from Luiz Kobayashi.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;Scholar:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;10 PRINT "HELLO WORLD"&lt;br /&gt;20 END&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Script Kiddie:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;program Hello(input, output)&lt;br /&gt;begin&lt;br /&gt;writeln('Hello World')&lt;br /&gt;end.&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Computers lover:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;(defun hello&lt;br /&gt;(print&lt;br /&gt;(cons 'Hello (list 'World))))&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Post-graduated &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Professional&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;:&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;blockquote&gt;#include&lt;br /&gt;void main(void)&lt;br /&gt;{&lt;br /&gt;char *message[] = {"Hello ", "World"}; int i;&lt;br /&gt;for (i = 0; i &lt; ptr =" new" operator ="(const" operator ="(const" size =" strlen(chrs);" ptr =" new" str = "Hello World"&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Master &lt;/span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Programmer &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;[&lt;br /&gt;uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)&lt;br /&gt;]&lt;br /&gt;library LHello&lt;br /&gt;{&lt;br /&gt;// bring in the master library&lt;br /&gt;importlib("actimp.tlb");&lt;br /&gt;importlib("actexp.tlb");&lt;br /&gt;// bring in my interfaces&lt;br /&gt;#include "pshlo.idl"&lt;br /&gt;[&lt;br /&gt;uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)&lt;br /&gt;]&lt;br /&gt;cotype THello&lt;br /&gt;{&lt;br /&gt;interface IHello;&lt;br /&gt;interface IPersistFile;&lt;br /&gt;};&lt;br /&gt;};&lt;br /&gt;[&lt;br /&gt;exe,&lt;br /&gt;uuid(2573F890-CFEE-101A-9A9F-00AA00342820)&lt;br /&gt;]&lt;br /&gt;module CHelloLib&lt;br /&gt;{&lt;br /&gt;// some code related header files&lt;br /&gt;importheader();&lt;br /&gt;importheader();&lt;br /&gt;importheader();&lt;br /&gt;importheader("pshlo.h");&lt;br /&gt;importheader("shlo.hxx");&lt;br /&gt;importheader("mycls.hxx");&lt;br /&gt;// needed typelibs&lt;br /&gt;importlib("actimp.tlb");&lt;br /&gt;importlib("actexp.tlb");&lt;br /&gt;importlib("thlo.tlb");&lt;br /&gt;[&lt;br /&gt;uuid(2573F891-CFEE-101A-9A9F-00AA00342820),&lt;br /&gt;aggregatetable&lt;br /&gt;]&lt;br /&gt;coclass CHello&lt;br /&gt;{&lt;br /&gt;cotype THello;&lt;br /&gt;};&lt;br /&gt;};&lt;br /&gt;#include "ipfix.hxx"&lt;br /&gt;extern HANDLE hEvent;&lt;br /&gt;class CHello:public CHelloBase&lt;br /&gt;{&lt;br /&gt;public:&lt;br /&gt;IPFIX(CLSID_CHello);&lt;br /&gt;CHello(IUnknown *pUnk);&lt;br /&gt;~CHello();&lt;br /&gt;HRESULT __stdcall PrintSz(LPWSTR pwszString);&lt;br /&gt;private:&lt;br /&gt;static int cObjRef;&lt;br /&gt;};&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include "thlo.h"&lt;br /&gt;#include "pshlo.h"&lt;br /&gt;#include "shlo.hxx"&lt;br /&gt;#include "mycls.hxx"&lt;br /&gt;int CHello::cObjRef = 0;&lt;br /&gt;CHello::CHello(IUnknown *pUnk):CHelloBase(pUnk) {&lt;br /&gt;cObjRef++;&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString) {&lt;br /&gt;printf("%ws\n", pwszString);&lt;br /&gt;return (ResultFromScode(S_OK));&lt;br /&gt;}&lt;br /&gt;CHello::~CHello(void)&lt;br /&gt;{&lt;br /&gt;// when the object count goes to zero, stop the server&lt;br /&gt;cObjRef--;&lt;br /&gt;if (cObjRef == 0) PulseEvent(hEvent);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include "pshlo.h"&lt;br /&gt;#include "shlo.hxx"&lt;br /&gt;#include "mycls.hxx"&lt;br /&gt;HANDLE hEvent;&lt;br /&gt;int _cdecl main(int argc, char *argv[]) {&lt;br /&gt;ULONG ulRef;&lt;br /&gt;DWORD dwRegistration;&lt;br /&gt;CHelloCF *pCF = new CHelloCF();&lt;br /&gt;hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);&lt;br /&gt;// Initialize the OLE libraries&lt;br /&gt;CoInitializeEx(NULL, COINIT_MULTITHREADED);&lt;br /&gt;CoRegisterClassObject(CLSID_CHello, pCF,&lt;br /&gt;CLSCTX_LOCAL_SERVER,&lt;br /&gt;REGCLS_MULTIPLEUSE, &amp;amp;dwRegistration);&lt;br /&gt;// wait on an event to stop&lt;br /&gt;WaitForSingleObject(hEvent, INFINITE);&lt;br /&gt;// revoque and release the class object&lt;br /&gt;CoRevokeClassObject(dwRegistration);&lt;br /&gt;ulRef = pCF-&gt;Release();&lt;br /&gt;// Tell OLE we are going away&lt;br /&gt;CoUninitialize();&lt;br /&gt;return(0);&lt;br /&gt;}&lt;br /&gt;extern CLSID CLSID_CHello;&lt;br /&gt;extern UUID LIBID_CHelloLib;&lt;br /&gt;CLSID CLSID_CHello = {/*&lt;br /&gt;2573F891-CFEE-101A-9A9F-00AA00342820*/&lt;br /&gt;0x2573F891,&lt;br /&gt;0xCFEE,&lt;br /&gt;0x101A,&lt;br /&gt;{0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20}&lt;br /&gt;};&lt;br /&gt;UUID LIBID_CHelloLib = {/*&lt;br /&gt;2573F890-CFEE-101A-9A9F-00AA00342820 */&lt;br /&gt;0x2573F890,&lt;br /&gt;0xCFEE,&lt;br /&gt;0x101A,&lt;br /&gt;{0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20}&lt;br /&gt;};&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include&lt;br /&gt;#include "pshlo.h"&lt;br /&gt;#include "shlo.hxx"&lt;br /&gt;#include "clsid.h"&lt;br /&gt;int _cdecl main(int argc, char *argv[]) {&lt;br /&gt;HRESULT hRslt;&lt;br /&gt;IHello *pHello;&lt;br /&gt;ULONG ulCnt;&lt;br /&gt;IMoniker *pmk;&lt;br /&gt;WCHAR wcsT[_MAX_PATH];&lt;br /&gt;WCHAR wcsPath[2 *_MAX_PATH];&lt;br /&gt;// get object path&lt;br /&gt;wcsPath[0] = '\0';&lt;br /&gt;wcsT[0] = '\0';&lt;br /&gt;if (argc &gt; 1)&lt;br /&gt;{&lt;br /&gt;mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);&lt;br /&gt;wcsupr(wcsPath);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;fprintf(stderr, "Object path must be specified\n");&lt;br /&gt;return(1);&lt;br /&gt;}&lt;br /&gt;// get print string&lt;br /&gt;if (argc &gt; 2)&lt;br /&gt;mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);&lt;br /&gt;else&lt;br /&gt;wcscpy(wcsT, L"Hello World");&lt;br /&gt;printf("Linking to object %ws\n", wcsPath);&lt;br /&gt;printf("TextString %ws\n", wcsT);&lt;br /&gt;// Initialize the OLE libraries&lt;br /&gt;hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED); if&lt;br /&gt;(SUCCEEDED(hRslt))&lt;br /&gt;{&lt;br /&gt;hRslt = CreateFileMoniker(wcsPath, &amp;amp;pmk); if&lt;br /&gt;(SUCCEEDED(hRslt))&lt;br /&gt;hRslt = BindMoniker(pmk, 0, IID_Hello, (void&lt;br /&gt;**)&amp;amp;pHello);&lt;br /&gt;if (SUCCEEDED(hRslt))&lt;br /&gt;{&lt;br /&gt;  // print a string out&lt;br /&gt;  pHello-&gt;PrintSz(wcsT);&lt;br /&gt;  Sleep(2000);&lt;br /&gt;  ulCnt = pHello-&gt;Release();&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;printf("Failure to connect, status: %lx", hRslt);&lt;br /&gt;// Tell OLE we are going away&lt;br /&gt;CoUninitialize();&lt;br /&gt;}&lt;br /&gt;return(0);&lt;br /&gt;}&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Novice Hacker:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;#!/usr/local/bin/perl&lt;br /&gt;$msg="Hello, world.\n";&lt;br /&gt;if ($#ARGV &gt;= 0)&lt;br /&gt;{&lt;br /&gt;while(defined($arg=shift(@ARGV)))&lt;br /&gt;{&lt;br /&gt;$outfilename=$arg;&lt;br /&gt;open(FILE, "&gt;".$outfilename) || die"Can't write&lt;br /&gt;$arg:$!\n"; print(FILE $msg);&lt;br /&gt;close(FILE) || die "Can't close $arg:$!\n";&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;print($msg);&lt;br /&gt;}&lt;br /&gt;1;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt; Experimented &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Hacker:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;#include&lt;br /&gt;#define S "Hello, World\n"&lt;br /&gt;main(){exit(printf(S) == strlen(S)?0:1);}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Super Hacker:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;%cc -o a.out ~/src/misc/hw/hw.c&lt;br /&gt;%a.out&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Mega Enhanced Hacker:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;%cat&lt;br /&gt;Hello, world.&lt;br /&gt;^D&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Junior Manager:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;10 PRINT "HELLO WORLD"&lt;br /&gt;20 END&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Senior Manager:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;mail -s "Hello, world". ze@b12&lt;br /&gt;Hey, can you write me a program that writes "Hello, world"? I need this for tomorrow.&lt;br /&gt;^D&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Master Manager:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;%zmail jim&lt;br /&gt;I need a "Hello, world" program to this afternoon.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CEO:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span&gt;%letter&lt;br /&gt;letter: Command not found.&lt;br /&gt;%mail&lt;br /&gt;To ^X^F^C&lt;br /&gt;%help mail&lt;br /&gt;help: Command not found.&lt;br /&gt;%damn!&lt;br /&gt;!: Event unrecognized&lt;br /&gt;%logout&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-2429952000555313531?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/2429952000555313531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=2429952000555313531&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2429952000555313531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/2429952000555313531'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/12/hello-world.html' title='Hello World'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-7982944339403261948</id><published>2008-11-30T14:17:00.000-03:00</published><updated>2008-12-03T20:36:50.090-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Windows 7 and it's news</title><content type='html'>For some time, I have been working with computers. In &lt;a href="http://livresocial.blogspot.com/"&gt;my blog in portuguese&lt;/a&gt;, I have detailed &lt;a href="http://livresocial.blogspot.com/2007/09/software-livre-como-ferramenta-social.html"&gt;some funny moments of this road&lt;/a&gt;, although many of them were not so funny.Here in Brazil Windows is the OS market leader, and there is nothing anyone can say to change this. It's just that. But we must face a fact, things are really changing.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Apple in Brazil&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Unfortunatelly, Apple does not do a good marketing work here. And that is really a pity, if you know what an Apple can do for you, you do know what I am talking about. Prices are always hiting the ceiling, almost no official reseller, and the few are concentrated in RJ or SP. The &lt;a href="http://www.apple.com/br/"&gt;brazilian site&lt;/a&gt; itself does not shows the same stuff you find in american version. For sure, there are reasons, and I just don't know anything about them. So, Windows has been the choice.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;A better Windows&lt;/span&gt;&lt;br /&gt;Guys from networking knows that just since last years, Windows has become a secure option. Windows 2003 is a shift, if you see the bad steps of MS, in security, resource comsunption and so on. It is astonishing to see how a so unperfect OS has been working for so long. And not only to end users, but for the network basements. After 2003 (&lt;a href="http://en.wikipedia.org/wiki/IMHO#IM"&gt;IMHO&lt;/a&gt;) things started to change. Lighter, faster, less unsecure. Okay, nobody is perfect. You still MUST be afraid of tons of new aggressive codes that works through loads of MS Windows weakness. not only about virus, but worms &amp;amp; Co. Just to remember, Unix OS also may be affected by them. Hummm ... in second thought: mostly server softwares may be, and much more than the OS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;NNF Technology&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Anyway, there is another thing we cannot deny: Vista was such a wrong shot. Oh, there is the &lt;a href="http://en.wikipedia.org/wiki/The_Mojave_Experiment"&gt;Mojave Experiment&lt;/a&gt;. That made think about the &lt;a href="http://www.urbandictionary.com/define.php?term=Next%20next%20finish"&gt;NNF technology&lt;/a&gt; wich is the knowledge basis of most computers technicians I know. Most of "computer guys" are not really prepared. But they know that reading the screens wil help them to make the work. They acquire that "knowledge", but are really not prepared to different situations. Let's then suppose that a Martian Ideas Transmission device is to be installed. That's the best moment for applying the , such as: it is not working, it is not compatible, your computer is not ready for that, it may be spoiled.&lt;br /&gt;&lt;br /&gt;In another hand, the "Mojave OS" was already there, and correctly installed. And that is okay! End user are not to install an OS. Or it is ready-to-use or you should have someone to install it. Ops!!! As far as I can remember, &lt;a href="http://news.bbc.co.uk/2/hi/science/nature/1507908.stm"&gt;MS warriors complained about Linux complexicity&lt;/a&gt;. &lt;span style="font-style: italic;"&gt;Touché!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;"News" on Windows 7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Why this all? There are tons of noise about Windows 7 and its innovative-brand new-shiny desktop. In Brazilian version of PCWorld, some shots of it is shown, and I got some disappointed to see that it is not that all. As an user of Ubuntu Desktop, I see some characteristics I have been making full usage since 04/2007. They were fully disponible in Ubuntu 7.04 version. If the goal is to prepare an eye-candy desktop, there are a lot to go through. I know it is just a preview, a Beta version, and so on. But all these has been ready to be used, as I told before. Not to commom users to install, but it was (and is) there.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/"&gt;Windows Gadgets&lt;/a&gt; are available through &lt;a href="http://www.gdesklets.org/"&gt;gdesklets&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_1"&gt;Jumplists&lt;/a&gt; were first shown in &lt;a href="http://www.kde.org/"&gt;KDE&lt;/a&gt; through &lt;a href="http://viruscg.wordpress.com/2007/04/10/suse-menu-no-kubuntu-edgy-eft/"&gt;SuSE&lt;/a&gt;. Note that this page is from April 2007. &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_13"&gt;Windows Media Player&lt;/a&gt; also makes use of Jumplists.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_2"&gt;Device stage&lt;/a&gt; is somehow innovative, and not. It depends on the manufacturers to make available hardware specifications, and he correct drivers will be done. &lt;a href="http://www.petitiononline.com/vialinux/petition.html"&gt;Here&lt;/a&gt; a petition for compatibility from VIA to Linux states the following:&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify; font-style: italic;"&gt;&lt;blockquote&gt;While VIA has been on the market for a lot of time and claims to support Linux, this is not actually true. VIA does not support Linux (any distribution), at least regarding Video Chipsets support, since it's Linux drivers do not allow users to use their hardware up to the chipset specifications. However, using the same hardware on Windows, the manufacturer specifications are met. This shows that current driver developing efforts by VIA consider only Windows users (again, Linux is *not* supported). &lt;/blockquote&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_3"&gt;Media Collections&lt;/a&gt; (is that supposed to be correct in English ?) seems to be an development of &lt;span style="font-weight: bold;"&gt;Images&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;Video&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;Music&lt;/span&gt; folders in &lt;span style="font-weight: bold;"&gt;My Documents&lt;/span&gt;. I really do not know if there is something referred native to system. Of course, we have softwares that can work like this, but not native to the desktop environment. Since I am an Gnome fan, I haven't watched KDE yet. But the KDE guys really work hard on media stuff.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_4"&gt;User Account Control&lt;/a&gt; is something that has no corresponding item since securitty issues are dealt in different manners.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_5"&gt;Windows Solution Center&lt;/a&gt; seems to group several warnings in one place allowing the user to see them all. Guess some advanced users asked for this, but it can be a problem to common users, who are just used to make use of the sytem, and almost never care about security levels, warnings, and on. Most of time, they just want to know where is the OK button. Again, I don't know wether there is or not such a feature in an Linux Desktop Environment.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_6"&gt;Federated Search&lt;/a&gt; is an useful network search tool. Probably it will search for data in different versions of MS OS, like XP, 2003, and so on. Probably, it will not search in Apple or Linux hosts.&lt;/li&gt;&lt;li&gt;&lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_7"&gt;Themes&lt;/a&gt; should be easier to work with. It was not difficult, but the screen shows a broader range of options. In Ubuntu, it is really easy to make detailed changes in theme configuration. &lt;a href="http://www.wonderhowto.com/how-to/video/how-to-change-your-ubuntu-theme-184058/"&gt;Here&lt;/a&gt;, one of the many videos showing how to do so.&lt;/li&gt;&lt;li&gt;Zoom effect is a quite useful feature, specially in a presentation. In this screen a square shows an magnified square area.  &lt;a href="http://www.youtube.com/watch?v=ruOvM7aJHCU"&gt;Zoom in linux&lt;/a&gt;, as shown in this video, works in the full screen area.&lt;/li&gt;&lt;li&gt;When the &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_9"&gt;desktop is crowded&lt;/a&gt; with many windows, sometimes is necessary to see the desktop, or the gadgets. &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_10"&gt;Hiding the winows&lt;/a&gt; is a solution.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I don't understand how useful could be the resource of &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_11"&gt;streaming&lt;/a&gt;. If videos and musics must be licensed, what will be done in my system to control this ? Only my medias can be deployed, but many will spread forbidden media, and that may arouse legal issues. Is this feature an effort against P2P networks ?&lt;/li&gt;&lt;li&gt;A &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_12"&gt;lighter Windows Media Player&lt;/a&gt;. Hopefully, it will be. Linux has Totem, but it is way too slow and somehow buggy. Installing VLC and making it the default media player is preferred. It can be installed directly by &lt;a href="https://help.ubuntu.com/community/SynapticHowto"&gt;Synaptic&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_14"&gt;MSPaint&lt;/a&gt; now uses the "brand-new" and complicated substitute for old-fashioned Menu bar. I did not understand what is new about this. I hope Paint records in JPG format by default.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Some visual enhancing to the &lt;a href="http://http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_15"&gt;calculator&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;The &lt;a href="http://pcworld.uol.com.br/galerias/windows-7-faz-sua-estreia-em-pre-beta/paginador/pagina_16"&gt;Battery Monitor&lt;/a&gt; now shows minutes remaining, as Gnome always did.&lt;/li&gt;&lt;/ul&gt;Don't forget that I am only comparing what an review states abou the new Windows version with a few things I know in Linux. I'd love to receive opinions about Windows 2007.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-7982944339403261948?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/7982944339403261948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=7982944339403261948&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/7982944339403261948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/7982944339403261948'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/11/windows-7-and-its-news.html' title='Windows 7 and it&apos;s news'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8643718483964216321.post-3576581818717816018</id><published>2008-11-20T23:00:00.001-03:00</published><updated>2008-12-04T16:57:40.649-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>AVG says Windows (only a file) is a big Virus.</title><content type='html'>I have just received an email from my ex-student Rubenaldo. This email points to some interesting links that show AVG and a very tiny mistake: at version 7.5 and 8.0, user32.dll is a virus. Check it out:&lt;span style="display: block;" id="formatbar_Buttons"&gt;&lt;span class="on down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;img src="img/blank.gif" alt="Link" class="gl_link" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;a href="http://apcmag.com/oops_avg_accidentally_kills_windows.htm"&gt;http://apcmag.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.geek.com/articles/news/avg-update-identifies-windows-system-file-as-trojan-20081112/"&gt;http://www.geek.com/&lt;/a&gt;&lt;/blockquote&gt;So, let's open our minds, and understand what can happen:&lt;br /&gt;&lt;blockquote&gt;1 - User starts AVG&lt;br /&gt;2 - AVG complains&lt;br /&gt;3 - User erases the file, and the SO stops&lt;/blockquote&gt;&lt;br /&gt;Unfortunately, most of end users, or home users, believe that anti-virus software can let them protected. As we see above, this just does not happen.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Others OS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Not only this, but the most popular end-user operating system is way too vulnerable, if we compare to others, mostly MacOS and Linux.&lt;br /&gt;&lt;br /&gt;As my first post, I want to show, as impartially as I can, that there are other ways to do the same job. Of course, I want to show that nothing is a whole solution in itself.&lt;br /&gt;&lt;br /&gt;In an &lt;a href="http://news.cnet.com/Security-from-A-to-Z-OS-X/2100-1002_3-6138723.html"&gt;cnet Review in 2006&lt;/a&gt;, Natasha Lomas remembered the famous &lt;a href="http://www.blogger.com/www.apple.com/getamac/"&gt;Apple campaign&lt;/a&gt;, and pointed some flaws. We should never forget that softwares will allways have failures. The point is: Some are worst.&lt;br /&gt;&lt;br /&gt;To state this, when you can, take a look at &lt;a href="http://www.securityfocus.com/bid"&gt;Security Focus Bugtraq Vulnerabilities List&lt;/a&gt;. Today (11-21-2008), I found the following results:&lt;br /&gt;&lt;blockquote&gt;Vendor = Apple : 30 pages of vulnerabilities&lt;br /&gt;Vendor = Ubuntu: 31 pages of vulnerabilities&lt;br /&gt;Vendor = Microsoft: 68 pages of vulnerabilities&lt;/blockquote&gt;&lt;br /&gt;Note that I choose no software. Only the vendor. Also, most of the vulnerabilities there are solved. So, numbers here will not reflect the security information we are searching.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Usability&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Besides, we  must consider the usability question: "Will I know how to deal with that ?" The other Operating System may seem really secure, or less insecure. But, will I know how to deal with it's stuffs ? The text editor has the same controls ? My spreadsheet will have suffcient collumns/rows to work ?&lt;br /&gt;&lt;br /&gt;I will make things worst then: Okay, I don't have sufficient time to re-learn it all. I will &lt;a href="http://en.wikipedia.org/wiki/KISS_principle"&gt;keep it simple&lt;/a&gt;. But I wish I could work without worrying so much about &lt;a href="http://en.wikipedia.org/wiki/Malware"&gt;malwares&lt;/a&gt;. So, the end is to invest in a anti-virus solution, somehow expensive. And, sometimes it really does not work, or work insufficiently.&lt;br /&gt;&lt;br /&gt;The question??? it is "How to lift security levels to the user ?"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8643718483964216321-3576581818717816018?l=linuxdrops.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxdrops.blogspot.com/feeds/3576581818717816018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8643718483964216321&amp;postID=3576581818717816018&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3576581818717816018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8643718483964216321/posts/default/3576581818717816018'/><link rel='alternate' type='text/html' href='http://linuxdrops.blogspot.com/2008/11/i-have-just-received-email-from-my-ex.html' title='AVG says Windows (only a file) is a big Virus.'/><author><name>Gilberto "Kowalsky" Martins</name><uri>http://www.blogger.com/profile/04517964547666527101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/-XZHwQKetFnU/TiJEr0DFUZI/AAAAAAAABvQ/egFQiMzgQBU/s220/GilbertoKowalskyMartins_GooglePlus.jpg'/></author><thr:total>0</thr:total></entry></feed>
