Saturday, August 29, 2009

Backdoor entry as Root

The login into Run level 1,is by default the the ROOT login that is granted to the user,even without any password.Any unauthorised person can boot the system in RL 1 and just gain control of your system.
But don't take this as a hole,the security is just one file and couple of clicks away.All is needed is editing 'inittab' file present under /etc.And add a special line in there.

In steps it will be :
1. Be the root user.
2. Open the file in vi editor
vi /etc/inittab
3. Enter the 'Insert' mode,by pressing Insert button.
4. Append the line at last of the file
5. Save the file and exit.

The back-door is now secured by the root password.

Saturday, August 22, 2009

Fedora DVD == Yum Repository

Last night i corrupted out my Xorg ,and was left in the 'Black World' of run-level 3. While trying to re-install it through YUM the N/W went out [all bad against me]. So had no other option than to install the xorg server though the Fedora DVD that i had.

Trying my hands to configure the DVD as the source for YUM was a great experience ,though it was much simple task.

Better to go step by step[Everything as a super user] :
1. All of the repositories configuration files under /etc/yum.repos.d/ were backed up and placed under a new directory created /etc/yum.repos.d/back-up/
#mv /etc/yum.repos.d/* /etc/yum.repos.d/back-up/
2. A new file 'dvd.repo' was created under /etc/yum.repos.d/ that will act as the configuration file for the new repository to be created with source as the Fedora DVD.
3. The file 'dvd.repo' was opened up in vi editor and following lines were added in there

and the file was saved.
PS : make sure that there is no other file under /etc/yum.repos.d/ except the 'dvd.repo'
4. The DVD was inserted in the dvd rom.
5. Fedora does mounts the DVD or any inserted media in runlevel 5 [GUI mode] and all such is available under /media/ directory ,but the case was not same here in run level 3.
6. I had to locate the dvd ,which was later located under /dev/cdrom ,having the soft link to
/dev/cdrom -> sr0
7. The dvd was to be mounted manually under /media/ in this case ,in order to make the repo file baseurl sync with the location of the DVD.Which was done using
#mount /dev/cdrom /media/
8. All was done now,the presence of the DVD under /media/,was verified using the long listing of the directory.
9. Tried out using yum,with following command and the packages were located well
#yum install xorg* -y
10. Once the installation was done,the system was rebooted passing out
# init 6
11. The system booted up under xorg ,with all GUI back...

Saturday, August 8, 2009

Chrome @ Fedora

Installing Chromium on Fedora isn't really all that much harder than it is on a Debian-based system. But with Fedora you have a couple of different options. You can either install from command line or you can install using the yum package management too. The benefit of installing via yum is that you will be able to update Either way the installation is simple.

Let's take a look at the Yum.

You have to follow the following steps:

  1. Open your vi editor and enter the gain 'root' access.
  2. Create the '/etc/yum.repos.d/chromium.repo' file.
  3. Add the following contents to the file:
    name=Chromium Test Packages

  4. Save the file.
  5. Update the yum database using : 'yum update'
  6. Finally fire the install : 'yum install chromium -y'
Doing this all will install Chromium on your fedora 11 system.Which can be accessed from under Applications -> Internet -> Chromium Web Browser

The steps can also be used to install chromium on Fedora 10 ,with just a small change in the '/etc/yum.repos.d/chromium.repo' file ,the baseurl should be replaced with
Source :

Thursday, August 6, 2009

Some of the good links found over the net

- Gedit Plugins
- Mirroring Fedora
- Official Mirrors for North India
- Online Distro Store
- Third Party Plug-ins for Pidgin
- An open source VoIP and video conferencing application for Gnome
- Plug-ins for Evolution,mail client for Gnome
- Linux installation:No CD,DVD,USB drive,N/W needed
- The Open Web Foundation
- cynin
- Google Wave
- Elgg
- GnomeShell
- Software forge for Free Software
- Creative Commons India
- Secure system from SSH Attacks
- Add Python / C++ Auto-complete Support
- Scripts for Nautilus
- Ubuntu 9.10 with netbooks

The list is increasing day by do come back to find new ones, and if you want to be good enough, please add a comment for one that you think is missing here,which may be i have not knocked at yet...