feed-image  ISSN 1836-5930



Receive Your Complimentary Guide to Linux NOW!


A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)




Poll

Do you care about your privacy when using a FACEBOOK?
 

linuxconfig.org
is hosted by:



Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
All For Linux

LINUX ADMINISTRATION NOTES & CODE SNIPPETS

Convert Matroska mkv video to PS3 m2ts container file format

Converting Matroska file format to m2ts for use on PS3 has number of advantages. PS3 is able to play mt2s directly from the USB or m2ts file can be copied ...

Read more ...

Download, install, update, erase rpm packages using yum

yum - basics yum – Red Hat tool for RPM package management used to download, install update, erase or list info about system packages /etc/yum.repos.d/ -> list of configured repositories (web or ...

Read more ...

Time countdown bash script example

This is a simple skeleton of a bash countdown script. The script takes two arguments . Here are some examples of its usage: countdown time to 90 minutes from now: ./bash-countdown.sh ...

Read more ...

Send an email using Telnet

Here are simple steps on how to send an email using telnet. This a great way to test your mail server configuration such as exim, sendmail or postfix without a ...

Read more ...

Mount remote ftp directory host locally into linux filesystem

Do you often access your ftp site to make some simple changes or your share some documents that you wish to be accessible from anywhere. You can make your access to ...

Read more ...

Set and Get environmental shell variable using c++

Here is a small example on how to set and get environmental variables using getnenv() and putenv() functions defined by C/C++ stdlib.h library. Environmental variable expansion is a great feature ...

Read more ...

Clone / Burn Encrypted DVD using Linux

By default K3b or brasero burning software will refuse burn encrypted dvd. One way to overcome this problem is by using libdvdcss library whish allows K3b or brasero to look ...

Read more ...

How to get wdiddle3 to set iddle timer for WD EARS drive

Here are simple to follow steps on how to disable and set timer for head parking with WD EARS drive. To do this task we are going to use wdiddle3 ...

Read more ...

More in: Linux administration notes & code snippets

-
+
8

Linux News

openSUSE 11.3 is here!

The openSUSE Project is pleased to announce the release of the latest incarnation of openSUSE, with support for 32-bit and 64-bit systems. openSUSE 11.3 is packed with new features and ...

Friday, 16 July 2010

Read more ...

Linux Mint 9 KDE RC released!

New features at a glance: KDE Network Manager New applications New Software Manager 30,000 packages Review applications straight from the Software Manager APT daemon Visual improvements New Backup Tool Incremental backups, compression, integrity checks Backup/Restoration of ...

Monday, 28 June 2010

Read more ...

Announcing Fedora 13 release

I'm proud to announce the release of Fedora 13, the latest innovative Linux distribution from the Fedora Project, a global, collaborative partnership of free software community members sponsored by Red ...

Saturday, 29 May 2010

Read more ...

Slackware 13.1 Released

Slackware 13.1 brings many updates and enhancements, among which you'll find two of the most advanced desktop environments available today: Xfce 4.6.1, a fast and lightweight but visually ...

Tuesday, 25 May 2010

Read more ...

Linux 2.6.34 kernel released !

So 2.6.34 is out, and the merge window is thus officially open. As usual, I probably won't do any real pulls for a day or two, in the (probably ...

Thursday, 20 May 2010

Read more ...

The MMORPG Ryzom goes Free Software!

Developers can now access the source code of the end-user client, content creation tools and server in order to make modifications, enhancements or to create their own virtual worlds. This ...

Thursday, 6 May 2010

Read more ...

Canonical to roll out independent Ubuntu Certified Professional certification fo

Canonical, the company behind Ubuntu, today announced that it will provide its own fully-independent certification for junior-level system administrators to help them with Ubuntu deployments in their office environments. The ...

Monday, 26 April 2010

Read more ...

Red Hat Enterprise Linux 6 Beta Available Today for Public Download

We are excited to share with you news of our first public step toward our next major Red Hat Enterprise Linux platform release with today’s Beta availability of Red Hat ...

Friday, 23 April 2010

Read more ...

GNOME 2.30: Waiting for the Big Release

Another utility that has received small but telling improvements is the user-admin tool. The simplest of these is the ability to remove the home directory along with the account. ...

Sunday, 11 April 2010

Read more ...

Firefox Search In Ubuntu 10.04 Changed To Google

Each release we determine the best default web browser and the best default search engine for Ubuntu. When choosing the best default search provider, we consider factors such as user ...

Sunday, 11 April 2010

Read more ...

The GNOME Project is proud to announce GNOME 2.30

The GNOME Project is proud to announce GNOME 2.30, the latest stable release of the popular Free Software desktop environment and applications suite. GNOME 2.30 builds on previous GNOME releases ...

Thursday, 1 April 2010

Read more ...

New PlayStation 3 Update Removes Linux Support

Sony plans to release a new Playstation 3 firmware update worldwide this week in hopes of combating potential software piracy. System update v3.21 will disable the console's "Install Other ...

Monday, 29 March 2010

Read more ...

NVIDIA Drops Their Open-Source Driver, Refers Users To VESA Driver

NVIDIA's open-source Linux efforts as it concerns their GPU support have historically been minimal. The xf86-video-nv driver has been around that provides very basic 2D acceleration and a crippled set ...

Monday, 29 March 2010

Read more ...

'Lucid Lynx' Ubuntu enters beta

Lucid Lynx is a long-term support version of the OS, meaning the software will be supported for three years on the desktop or five years for the server version, in ...

Wednesday, 24 March 2010

Read more ...

Is Microsoft About to Declare Patent War on Linux?

Microsoft's comments on happenings outside its immediate product portfolio are rare, and all the more valuable when they do appear. Here's one from Horacio Gutierrez, “Corporate Vice President and Deputy ...

Monday, 22 March 2010

Read more ...

More in: Linux News

-
+
4
Linuxconfig.org
LPI 101 - Linux certification practice exam

The best way to memorize all linux commands and techniques used in Linux administration to gain Linux Professional Institute certificate is by practice. The following LPI sample exam should be taken as a middle way between reading a book and practice on command line. It includes questions from all topics required for LPIC 101 ( the first step in Linux certification progress ). Currently the test consist of 20 questions randomly taken from pool of 50.

 

The Linux Professional Institute is a provider of Linux Certification (LPIC). Each LPIC level requires a candidate to pass two exams. For example to gain a certification for Level 1 a of LPIC a candidate must pass both, 101 and 102 exams.

 

Each LPIC level requires successful completion of two exams for certification. A first level 1 of LPIC is considered as Junior Level Administration. Candidate should demonstrate solid knowledge of Linux operating system in terms of Linux installation, troubleshooting as well as demonstrate the ability to work from a command line by use of various CLI tools.

The pass score for each subsequent LPI 101 sample test is 85% with unlimited time.  You can test your Linux skills with this test as many times as needed.

 

Click here to begin your sample LPI 101 exam:

LPI 101 Linux certification

 
Data recovery of deleted files from the FAT filesystem

Introduction

Although FAT32 or FAT16 are very old file systems, which reflects on their poor performance in comparison with other file system alternatives they are still widely used by many electronic devices. Usually, these devices include USB stick's, digital cameras , camcorders and etc. Chances are that you own and store personal data on a device with FAT flesystem is very high as is a likelihood of an accidental deletion of your important data. In this article we will use testdisk utility to undelete files from FAT file system.

OOPS.. I have accidentally removed a video file from my camcorder ! The first thing before we start panic is to unmount USB device and create a low level backup of the device partition with a dd command.

If from any reason you cannot unmount your device, remount it with read-only permissions:

# mount -o remount,ro /dev/sdX

Any data written or file manipulation after accidental file removal will weaken our chances for deleted file recovery. On the other hand creation of a low level backup with dd command gives us an opportunity for unlimited recovery attempts since we are always able to put the entire partition back bit by bit exactly as it was right after accidental file deletion.

After file deletion from a FAT file system the actual file was not removed immediately, but the sectors on which the file resides is now available to be overwritten. From this reason a backup of the entire partition:

# dd if=/dev/sdX of=/my/storage/backup_sdX.dd

To recover a backup for *.dd file we simple reverse the process:

# dd if=/my/storage/backup_sdX.dd of=/dev/sdX

Testing conditions

To test testdisk recovery utility we will create a vfat file system, store video.mp4 and readme.txt files, get md5sum and simply remove and undelete both files.

Read more...
 
Secure Online Banking with Linux USB Live

Abstract:

Online banking is becoming a very popular way to satisfy our banking needs and this even includes people with no or very little technical background. There are numerous advantages when doing banking transactions online, such as 24/7 bank opening hours, ability to make transactions from anywhere in the world and convenience. The only problem is that we do not take our secured home PC everywhere with us. Consequently, the use of other computer and operating system rather than our own for online banking may involve a great security risk. However, what we can and usually carry on us everywhere we go is some sort of the USB key storage device. This article describes a way of building our own customized Online banking USB live Desktop.

Introduction

Solution to online banking by having an USB key with some bootable Live Linux distribution solely dedicated to serve our online banking needs can be very handy not even when traveling, but also when used on day to day basis. Usually, computers are shared among colleges, family members or friends and therefore chances are very high that our personal details will be made available to some fraudsters and their sophisticated scams and software. What is more, encrypting our non-persistent USB key will make Live USB online banking desktop worthless when falling into enemy hands. Therefore, there is no harm of storing our online passwords directly on the USB itself using an application such as gorilla-password ( double encryption ). Perhaps the outcome of this guide is not as good as the famous IronKey with all its shiny features, but we would all missed the fun if there will be no space to improve it.

This article will comprise of four major sections:

  • build Debian USB live image
  • customize desktop environment within USB live image
  • rebuild USB live image with customized environment and encryption
  • transfer USB LIVE image to USB memory device
Read more...
 
USB stick encryption using Linux

Introduction

In case you will loose your USB stick, all data stored on it will be lost and what is more important they will be most likely in hands of some other person which will then have an access to your private information and use this information in any way s/he sees fit. This is one of many fears of USB stick users. One solution which can be easily applied is to not to store any private information on USB stick, however this will diminish a prime usage of your USB stick to a bare minimum as all non-private data usually do not have to be stored on USB since they can be almost always downloaded anytime and anywhere from the Internet. Another solution is to encrypt your USB stick so it will be accessible only to those users who posses a correct password which will fit to decrypt an used encryption method. This article will deal with the second solution and that is encryption of an USB stick device.

Although encrypting an USB stick seems to be the best and easiest solution it must be said that it also comes with number of disadvantages. The first disadvantage is that decryption of the USB key must be done using a Linux system with kernel version 2.6 and higher which has a "dm_crypt" module loaded in the running kernel. In other words, you cannot use your encrypted USB stick on any Windows machine and UNIX-like system with kernel version below 2.6. Therefore, to encrypt only a part of USB stick which holds only a private information seems to be a good solution. In this article we will use USB stick of capacity 16GB known to the system as a block device /dev/sdc. We first partition the disk to hold two partitions, one for encrypted data and the other for non-private data and then encrypt only single partition intended to hold private data.

NOTE:

All data on your USB stick will be destroyed so Back up your USB stick before continuing. Replace /dev/sdX with file name of your USB block device.

Partitioning an USB stick

Let's start with partitioning of our USB stick. Insert your USB stick into PC's USB slot and as a root user execute:

# parted -l

Search the output of parted command and retrieve a Disk's file name of your USB stick. As it was already mentioned before, in this article we will use /dev/sdc. Once we have a file name of our USB stick we can create partitions to be used for encryption and for storage of non-private data. In my case I will split the USB stick into two partitions, first with size of 2GB and the rest of the space will be used to create second partition and this will produce /dev/sdc1 and /dev/sdc2 respectively. Use any partition tool you see fit for this purpose, in this article I will use parted as it seems to be becoming a standard these days:

# parted /dev/sdX

Following commands are executed within a parted interactive mode:

(parted) mkpart primary 0.0 2GB
(parted) mkpartfs primary fat32 2GB -1s
(parted) quit

First parted command had created a primary partition with size of 2GB and this partition ( /dev/sdX1 ) will be used to store encrypted data. Second command created a second partition with fat32 file system ( /dev/sdX2 ) starting from 2GB up to last sector ( -1s ). The second partition will serve as a general storage. The final look of your USB stick partition table may look similar to the one below:

Disk /dev/sdc: 16.2 GB, 16236150784 bytes
255 heads, 63 sectors/track, 1973 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cd7ef

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         243     1951866   83  Linux
/dev/sdc2             244        1974    13903718+   c  W95 FAT32 (LBA)

Read more...
 
«StartPrev12345678910NextEnd»

Page 1 of 11