Acquiring Distributions and Compendiums

Linus Torvalds and the Linux development team created the linux operating system kernel. The kernel includes the software for managing memory, files, programs that are running, networking, and various hardware devices. Think of the kernel as a cop directing traffic.

The compilers and other programs that fo into making up what most people think of as Linux come from a variety of people who distribute the programs over the Internet or on CR-ROM. Typically, these people add an installation technique, system management tools, a file system (the way that directories and files are organized), some applications (either freeware or commercial), and a distribution medium. The Linux system must be able to be freely copied, even if value-added components are not.

In addition to a single distribution that may come on one or more CD-ROMS, you can find compendiums of distributions, which are like samples, that include several distributions as well as copies of Internet sites that hold Linux programs and documentation. Some information on compendiums is redundant and harder to use than if it came on a single-distribution CD; other information is useful and usually inexpensive. after you have Linux up and running, you may want to try out a compendium just to see what it holds for you.

The question you’re probably asking now is “which Linux distribution is best?” The answer is “It depends on what you want.” Some people want a Linux distribution that works with an older kernel that has had time to mature: others want the latest and greatest distribution. Some people want small distributions with few programs other than operating system; others want distributions overflowing with goodies. Most people, however, want a combination of those features as well as a stable name brand offering reliable customer support.

Linux distributions are so inexpensive that you can easily buy two or three versions to see what they’re like. Many Linux distributions may be installed on multiple computers. And after you install Linux for the second or third time, think of the experience you’ll have gained.

Accessorizing Linux

Accessorizing Linux

In This Chapter

>Discovering which Linux distribution is the one for you

>Getting Linux for free or not

>Using Linux `a la MS-DOS or Windows

>Examining text editors

>Making the most of email interfaces

>Marveling at multimedia programs

>Cavorting with commercial programs

The first accompanying CD-ROM (CDI) is based on Red Hat Linux, which is an excellent distribution. Some people, however, prefer other distributions. Several Linux distributions are available, and each one differs in certain ways, such as the manner in which you install and manage the distribution. We list some of these distributions in this chapter, in case you want to investigate them later. We also show you some text editors and mail interfaces, and demonstrate a few other programs, just to whet your appetite. (In other chapters, we cover these programs in greater detail.)

A distribution is the combination of the Linux kernel, supporting software, and the organization of all the files and directories. Companies like Red Hat add their own innovations and charge for the convenience of getting the total package on CD-ROM. Other non-profit organizations like Debian develop their own distribution and merely charge for the media. In many ways, distributions are like a favorite flavor of ice cream governed by personal preference. We say try them all!!

Installing a Printer to be used with PPC Linux

Installing a printer to be used with PPC Linux is quick and effortless because every Linux distribution comes with tools that make the task easy. Red Hat-based systems come with graphical printtool client, while SuSE PPC Linux users can apply the yast command or yast2 client to configure a printer.

A wonderful update for Intel-based Linux users migrating to PPC Linux is that your older, Linux-supported parallel port printer can work with USB while running PPC Linux! If you got a legacy parallel port and would want to use it with PPC Linux on your Power Mac, the D-Link DSB-P36 USB parallel port printer adapter is indispensable, you are able to attach your parallel port printer and connect it to your computer’s USB port.

Setting up a parallel port or USB printer under Linux can be accomplished in a matter of a sew seconds. For example, under SuSE PPC Linux, launch the yast2 client. Choose the Hardware/Printer menu item, and then click the Launch Module button. You would see a dialog box with five different printers listed: Novell, parallel, remote, Samba, and USB.

If you have a USB printer, or a printer connected to the D-Link adapter, click USB and then hit on the Add button.

Choose a printer device name, like /dev/usb1p0 (if you have only one printer), and then click the Next button. You will then see a dialog box that lists a number of printer manufacturers and devices. Click on your printer’s manufacturer, like Hewlett Packard, and a list of supported printers for that manufacturer will appear.

Do not get nervous if you aren’t able to find the printer model that matches the one you are using. There are many printers on the market, but many printers from the same manufacturer and family will work with one or more printer drivers. Let’s take for examples, HP 658C USB printer functions quite well using the Deskjet 500 printer device driver. When you are done, click on the Next button.

You will be asked next to give your printer a name. Give your printer except the one that has been used in default. Remember this name as this will be used during printing.

Quality Hotel Winnipeg
One Hour Canada
One Hour Heat and Air

Applying the passwd command

The passwd command allows the user to create or change a password. This feature is also helpful if there are multiple users and security is a concern. There is a functionality called password expiration. This will also work great for temporary users or contractual employees. This functionality will require the user to renew or change the password after a preset amount of time. Temporary user accounts can also be set with actual user expiration.

For Red Hat-based Linux system, again use the userconf command (as root), such as this: # userconf &

Navigate to the User dialog box, and click on the Params tab.

Use this tab to indicate the number of days before password must be modified, how long a user account is good for, when the warnings of impending expirations are going to show up, and the amount of time an account or password is good after a warning has been issued.

SuSE Linux administrators can turn to the yast command’s user dialog box. But you must press the F6 key when inputting the user’s name.

Use this dialog box in the same way as you would operate userconf’s controls. When you are done, use the Tab key to highlight the Continue button in order to return to user configuration.

Quality Hotel Winnipeg

One Hour Canada

One Hour Heat and Air

GNOME desktops and areas

GNOME supports the use of multiple desktop areas, and for the advanced user, multiple desktops. The control over these areas and desktop is actually done by the window manager. The Enlightenment Configuration tool permits modification of areas and desktops you have use of in your work environment.

The Desktops Section of E-conf has two main tools that allow one to change the areas and desktops you work with. The first tool is the Size of the Virtual Screen. This will control the number of desktop areas. Desktop areas are really just one big screen broken into many “virtual areas”. This advantage to using virtual areas over multiple desktops is that drag and drop on the desktop will work across areas as will work being done in applications such as the GNOME File Manager. To use this tool slide the two sliders until you have the number of virtual areas, across and down, that you wish to use.

The second tool is the Separate Desktops, which permits one to set the number of desktops you wish to use. Unlike desktops areas these are completely separate desktops. To use this tool move the slider up or down until you have the number of desktops you wish to use.

One good way to visualize your multiple areas or desktops situation is to ascertain you have the GNOME Pager running. The GNOME Pager will display the number of areas and desktops you have and the location of those apps are within those spaces. The GNOME Pager may also be used to navigate from area to area and desktop to desktop.

Quality Hotel Winnipeg

One Hour Canada

One Hour Heat and Air

Launching GNOME desktop environment

GNOME is a desktop environment that is independent and self-supporting in terms of how it controls interactivity between applications and other features. GNOME works with a variety of window managers. The window manager is what controls the window borders, window decorations, and the functionality of those windows. Currently there are about three or four window managers that are considered GNOME compliant. Being GNOME compliant means much more than simply being able to run with GNOME; it also means being aware of GNOME and want GNOME offers. This includes session management, desktop settings, and interactivity with applications such as GNOME Pager.

The Default Window Manager for this release of Red Hat Linux is a window manager called Enlightenment. Within this manager is a tool that allows configuration.

To launch the Enlightenment configuration tool, you may access the GNOME Control Center and choose the Window Manager Capplet from the Desktop group. If Enlightenment was activated as your window manager, you may run E-conf by clicking the Run Configuration tool for Enlightenment button.

Another way to launch E-conf is by clicking your middle mouse button or both mouse buttons, if you have emulation, on the desktop and choosing the Enlightenment Configuration item from the pop-up menu.

Quality Hotel Winnipeg

One Hour Canada

One Hour Heat and Air

Data Movement in Linux – Often No More than Renaming

Strictly speaking the file still has not moved.  The data bits are still on the same part of the disk where they were in the first place originally.  The file specification ( the-directory-path plus the filename) that you use to talk about the file is different so that it appears to have moved , whereas it has not in actuality.

In early versions of Unix , the users were not allowed to use mv to move a file from one disk partition to another , you could only copy it ny using the  cp(1) command.  Linux allows you to use the mv command to move a file anyplace.  Normally , mv leaves the data in place and just changes the file name or the directory where the name is placed.  But when the file is moved across the disk partitions ( for example form /usr to /home in a lot of Linux systems) , the data is copied to the new disk partition, the new name is put in place.  In that partition’s directory structure, and the name and file data are removed from the old disk partition.

Car Auto Carrier Sudbury

Badger Linux Net

wwww.badgerlinux.net

Moving and Copying Files and Directories

The command for moving and opying directories and files are mv for moving and cp for copy.  If you want to rename a file,  you can use the move command .  No you are not really moving the file, but in both Linux and Unix , the developers realized that renaming something was a lot like moving it .

Hence the format of the move command is    my < source>  <destination>

With the example files, you could move the file named stupidkirk to a file named  evenmorestupid  by executing the following command

mv  stupidkirk evenmorestupid

This leaves the file in the same directory, but changes its name to  evenmorestupid .

Hence the file is not moved – it is just simply renamed .

Next you can try moving the evenmorestupid  file to the top of the stupidpeople directory.  To do this you first have to move the file up and then move it to the stupidpeople  directory.

This can be done with one simple command :

mv evenmorestupid ../ stupidpeople

Lastly note that the destination file uses the ..( or parent) directory designation.  This tells Linux to go up one directory level and look for a directory called stupidpeople . and then put the file into that directory with the name stupidpeople,  as you did not specify any other name.

Badger Linux Net

wwww.badgerlinux.net


Making Linux More Mainstream

Many decisions and opinions in the Linux world are justified by the idea that the decision will help attract new users to Linux, but why should anyone care at all if other people use Linux? KillaGeorge recently posed the question directly in response to a recent post, titled “A Simple Feature of Ubuntu 8.04 That Could Be So Important:”

“I always wondered why linux users are always trying to convert microsoft users. Whats the deal with that? Who cares what other people use. I use linux and i’m happy with it. If my friends don’t want to use it then no sweat of my back. Who cares?”

The main reason for wanting more users to switch to Linux is that the more people use an operating system, the better it will be supported by hardware and software companies and, in the case of open-source software, there will also be more people to develop the operating system. In fact, a good example of this showed up earlier today.

With AMD open-sourcing their graphics drivers, many people are looking to nVidia to see if they will follow suit. Earlier today, an open letter to nVidia was posted that has already received 547 signatures at this time, yet even if this number grows to 1,000 or more, nVidia may still never respond. With Linux’s current market share, nVidia can continue to ignore people for as long as they want. That does not mean they will, but even if nVidia listens, they are only one of many companies that do not have open-source drivers or do not have Linux drivers at all. If Linux had a larger market share, companies would finally have to pay attention to the Linux world and release drivers for Linux.

Unfortunately, the issue is not as simple as more users being better. If Linux ever achieved a large market share, it would become the target of viruses, much like Windows is now. The question is how to find the perfect balance, so that Linux is widely supported, but not the target of viruses and spyware. Right now, Windows is obviously far over that perfect market share and Linux is way under. The closest may be the Mac, since most companies do support OS X, but, so far, there are no viruses for OS X in the wild. If you think I am advocating everyone switch to OS X, however, you are wrong. Apple has no intention of stopping their growth. Any day now the viruses will start to come for the Mac and each day it just gets more and more likely.

Hopefully this will not happen to Linux, but it seems hard to escape. Once an operating system gains enough momentum to make it to a significant market share, it is unlikely to stop and no matter what you tell me about the security of Linux, someone will find a way around that security. Perhaps Linux will really find a way to avoid this .

http://www.linuxloop.com/news/2008/02/29/why-attracting-more-users-to-linux-matters/

Badger Linux Net

wwww.badgerlinux.net


Linux is a Wiser Choice Always than Windows : You Were not Imagining it

Why Linux is More Secure Than Windows

In my last post, I showed how the vulnerability counts for Ubuntu Dapper LTS were lower than Windows Vista. However, I also mentioned that this should be used only to counter Microsoft FUD, and not as a measure of security. What, then, shows that Linux is actually more secure than Windows.

To answer this, we first have to look at what security actually is. Too many people make the mistake of calling a product secure, e.g Linux is more secure than Windows, Opera is more secure than IE etc. Now, security is not a product. It is a process with the user in a central role. Security is a state to be actively attained by proper interaction of the user and the software. Vulnerability patch management is just an important part of this process. What are perhaps more important are proper tools for patch management, stronger defaults and a multilayered approach to security keeping in mind the practical security scenario for that particular software, with the user forming both the first and last line of defence.

With this is mind, I turn to the reasons why an educated user using a Linux distro is in general more secure than while using Windows:

Much better patch management tools: In Windows, the automated update procedure just updates the components supplied by Microsoft. No third party applications are patched. Now, third party applications make up the bulk of the security vulnerabilities. Using Real player? You have to update separately. Using Flash? Update separately. So, for all applications, you have to regularly check for updates for each and every software. This is extremely cumbersome, (though, fortunately, this experience is made tolerable by use of the Secunia PSI) and most users just forget to do it. In Linux, you have automated update system which will update all your software. In Ubuntu, any product you have downloaded, if present in the repository, will be updated at the single click of a mouse. In other distros, if the downloaded software is not present in the repository provided by the distro, adding the product repository is a one time process. This greatly increases user compliance in staying fully updated.

Much stronger default configuration: Linux was designed to be a multi-user system. Therefore, the underlying system files will remain protected even if the user is compromised. If, unfortunately, any remote code execution takes place, it will only take place locally. This is to be contrasted to Windows XP, where the user logs in as administrator by default, and any compromise takes on a system wide character. Windows Vista has also moved to a limited user account by default, and therefore is more secure than its predecessor.

Modular Design: Linux is modular by design, that is, any system component may be removed if unnecessary. As a result, if the user feels that a part of the system is more insecure, he or she may remove that component. The same cannot be said of the Windows system. e.g If I feel that Firefox is the most vulnerable part of my Linux distro, I may remove it completely and replace it with another browser, say, Opera. In Windows, I cannot remove Internet Explorer.

Better tools to protect against zero-day attacks: It is not always sufficient to keep oneself fully patched. Zero-day attacks (an attack where the exploit code is released before the vendor patches the vulnerability) are increasingly becoming common. One study has also shown that it takes only six days for crackers to release exploits, it takes vendors much longer to release them. Therefore, a sensible security policy will make provisions for zero-day attacks. Windows XP has no such provision. Vista, in protected mode, though useful, provides only limited protection to Internet Explorer Attacks. Contrast it to the protection provided by AppArmor or SELinux, both of which provide finely granular protection against any types of remote code execution attacks. It is increasingly becoming common for Distros to ship with AppArmor (e.g SuSE, Ubuntu Gutsy) or SELinux(Fedora, Debian Etch, Yellow Dog) by default. In others, they can be downloaded from the repositories (e.g AppArmor in Mandriva 2008)

Open Source Architecture: In Linux, it is mostly “What you see is what you get” as far as security is concerned. The Open code means that vulnerabilities are seen by “many eyes” and fixed as fast as possible. What, more importantly, this also means, is that there is no scope to hide the patched vulnerabilities, there are no hidden fixes. The user, if motivated, may find out the security issues known for his Operating System, and take precautionary measures against potential exploits, even if the vulnerabilities are not patched. In the Windows world, however, many security issues are hidden. Internally found flaws are not publicly released, and the vendor waits for a major update or service pack to patch silently. While this may lead to lesser vulnerability counts, and better publicity using flawed statistics, this keeps the user in ignorance. As a result, an user may not patch a system if he finds that he is not vulnerable to the reported vulnerabilities, while he may, in reality, be affected by a hidden patch.

Diverse Environment: The Windows environment has been likened to a monoculture. There is great homogeneity which makes it easier for crackers to write exploit code, viruses and the like. Compare this to the Linux world. Here, a program can be a .deb, .rpm, or source code, to name a few. This heterogeneity makes it difficult for crackers to have the widespread impact that is possible on Windows

Badger Linux Net

wwww.badgerlinux.net