Send mail to yourself and read in your favourite client and configure the rules to move to directory.

2010-01-10 2 min read Fedora Linux

By default when you send a mail using sendmail, the mail goes to the default directory. What I wanted to do was, use rss2email, to send the mails and then sort them in different folders depending on the From address.

Sendmail uses procmail to deliver mail locally. So here’s what I had to do:

Configure the rss2email to send the mail to amit@localhost

Next, configure the procmail to deliver mail to my home directory. To do this we will use the procmailrc file in the home directory. The contents of the file are :

Continue reading

Fedora 12 demonstrates sandbox for desktop applications

2010-01-03 1 min read Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Security-Enhanced Linux (SELinux) specialist and Red Hat developer Dan Walsh has souped up the security mechanisms in Fedora and SELinux by adding a desktop sandbox which he&#8217;s calling “sandbox -X”. Users can run desktop applications of their choice inside his sandbox, which then protects the underlying system from any possible damage.

A browser started inside the sandbox is unable to damage the host system.
SELinux extends the standard Unix privileges concept to add a role-based privilege model which, in principal, allows a user to forbid a PDF viewer from, for example, sending email. Currently, however, SELinux is mainly used to wall off server services.
<a HREF="http://www.h-online.com/security/Fedora-12-demonstrates-sandbox-for-desktop-applications–/news/114298">read more <table CELLSPACING="0" CELLPADDING="0" WIDTH="100%">

Continue reading

query and downgrade selected packages based on version or repository

2009-12-24 1 min read Fedora Linux

If you have worked on rpm based distro then you know how difficult it is to downgrade packages. And unluckily I upgraded some packages to fc12 and was still on FC11. Completely my mistake while doing some R&D. Anyway to downgrade I had to device some mechanism and here it is:

rpm -qa –qf &#8221;%-30{NAME}%-20{RELEASE}\n&#8221; |grep fc12 |awk '{print $1}&#8217;|tr &#8217;\n&#8217; &#8217; &#8217; >downgrade

yum downgrade `cat downgrade`

EncFS – Simple article to use Encrypted filesystem in Linux

2009-12-24 3 min read Linux

A nice article here

EncFS is an easy-to-use, command-line tool for storing information in encrypted form. It’s not really a file-system, but it pretends to be one at the CLI. If you’ve been searching for a means of encrypting and decrypting your sensitive data easily, here it is.
User Level: Intermediate
EncFS is included with the distribution I’m using on the desktop, Ubuntu Dapper, so all I needed to do to install it was a few clicks in Synaptic. Look for the encfs package, and select if for installation. It should pull down all of the dependencies for the system. If you’re not so lucky, and your distro doesn’t include EncFS packages, you can download the latest tarball from a here and build it from the source. See the EncFS site for a dependencies.

Continue reading

Chrome – Chromium on Linux (repo)

2009-12-19 1 min read Fedora

Fedora people put up a repo for the chrome web browser and it is quite frequently updated. All you need to do to install the browser is following:

sudo vi /etc/yum.repos.d/chrome.repo

and add the following lines

name=Chromium Test Packages
baseurl=http://spot.fedorapeople.org/chromium/F$releasever/
enabled=1
gpgcheck=0

Once this is done, you can install the browser with yum as follows:

sudo yum install chromium

[[danscartoon]]

gnome-shell and gnome-do on F11 Screenshots

2009-12-02 1 min read Fedora GNOME

Here are some screenshots of gnome-shell :

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe"><img class="size-full wp-image-1246" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png"><img class="size-full wp-image-1247" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png"><img class="size-full wp-image-1248" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png"><img class="size-full wp-image-1249" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png" alt="Gnome Shell" width="840" height="525" />

Older posts Newer posts