Sunday, February 6, 2011

Fortune for you!!

Almost all linux users are familiar with the fortune program. For new users, here is a small snippet:

Name:
fortune - print a random, hopefully interesting, adage

Description from the man page:
When fortune is run with no arguments it prints out a random epigram. Epigrams are divided into several categories.

Well, in order to fully utilize the program, I went ahead and wrote a small script that automatically displayed a random fortune everytime I logged in. Here is the script and all it requires is the notification daemon to be installed for your particular wm.

#!/bin/bash
sleep 3
notify-send "Hello $(whoami), Your Daily Fortune..." "$(fortune)"

Save it as fortune.sh and mark it as executable by:

chmod +x fortune.sh

and just add it to the post login scripts in your particular wm, openbox in my case so '~/.config/openbox/autostart.sh'

Dreamers and Artists of our time...

There were the greats of old such as Picaso, Rembrandt, Dali etc etc... but of our time in the digital age, they still exist. I would just like to direct people to such masters of our time. Their mind and work produce awe to the colorful earth around us. I salute to them as their work has inspired me and artists all over . Some of whom I know

Ryan Bliss : Digital Blasphemy
Greg Marting : Art Of Greg Martin
Gary Tonge : Vision Afar
Rudolf Herczog : Rochr
Bjørn Breivik : http://breivik.deviantart.com/

and many more...

Friday, June 11, 2010

Migration To Arch

Finally decided to switch to Arch Linux from Fedora. I really like the concept of rolling release vs point release systems and the idea of building the system from ground up. Also I wanted to try out Awesome WM but sadly Fedora didn't cut it due to lack of XCB support in Cairo which was available in the current Fedora Repos.

A short description from Wikipedia:

Arch Linux (or Arch) is a Linux distribution intended to be lightweight and simple. The design approach of the development team focuses on simplicity, elegance, code correctness and minimalism."Simplicity", according to Arch, is defined as "...without unnecessary additions, modifications, or complications.." and is defined from a developer standpoint, rather than a user standpoint.

Also with Arch I have made the push to 64 bit. Check it out:

http://www.archlinux.org/

http://en.wikipedia.org/wiki/Arch_Linux

And their Wiki is outstanding!

http://wiki.archlinux.org/index.php/Main_Page

Saturday, May 1, 2010

Wednesday, April 21, 2010

Defaults can be bad...

Ubuntu is one of the leading Linux distributions out in the world and drives the image of Linux among the masses and this image of Linux always has a sense of security to it. This feeling of being safe is mostly true but does have slight weaknesses to it, one of them being in Ubuntu itself.

A default installation of Ubuntu always comes with a many options for customization and control, one of them is the Recovery Mode. Adept Linux users would know where I am going with this but the reality of the fact is that even the most proficient zealots make this very small mistake. The Recovery Menu allows for a lot of customized tools to fix obvious issues but also provides an option to drop to a root shell!! FOR FREE!! Now I don't need to explain how dangerous that is. It's a free LPE (Local Privilege Escalation).

The fault just doesn't lie with Ubuntu itself, most distros allow the option but differently and just requires editing the grub config at bootup. It's just that Ubuntu makes it more readily available for skiddies.

The fault lies with both parties, the user and the distro makers configuring the distros. A simple 'password protect the bootloader' option at install time would be more than helpful to deter skiddies gaining root access to your comp if they have physical access to it.

A simple guide to protect the bootloader is available here, its a howto on Ubuntu Forums but can be applied to other distros as well.

http://ubuntuforums.org/showthread.php?t=7353


Always remember, the default settings aren't always best for you.