CertCities.com -- The Ultimate Site for Certified IT Professionals
Keep on Top of the Latest Certification News: Subscribe to CertCities.com Newsletter Share share | bookmark | e-mail
  Microsoft®
  Cisco®
  Security
  Oracle®
  A+/Network+"
  Linux/Unix
  More Certs
  Newsletters
  Salary Surveys
  Forums
  News
  Exam Reviews
  Tips
  Columns
  Features
  PopQuiz
  RSS Feeds
  Press Releases
  Contributors
  About Us
  Search
 

Advanced Search
  Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on
Redmondmag.com!

Cover Story: IE8: Behind the 8 Ball

Tech-Ed: Let's (Third) Party!

A Secure Leap into the Cloud

Windows Mobile's New Moves

SQL Speed Secrets


CertCities.com
Let us know what you
think! E-mail us at:



 
 
...Home ... Editorial ... Columns ..Column Story Thursday: January 14, 2010
TechMentor Conferences


 Inside the Kernel  
Emmett Dulaney
Emmett Dulaney


 Ubuntu: Getting Back to Linux Basics  
Despite some difficulties with the root account, Emmett finds the simplicity and true openness of this Linux distro very appealing.
by Emmett Dulaney  
3/8/2006 -- It's a funny thing: If you ask any number of IT professionals to describe the Linux operating system, they almost always spout out rather quickly that it is non-proprietary and open source. While that is technically true, most distributions have licensing agreements that closely parallel those of their proprietary counterparts -- you can only do this and this, are expressly prohibited from doing this, and so on.

Enter Ubuntu. Named after an African word for “humanity to others,” it is a completely free distribution (based on Debian) fully developed by the Linux community. While this may be said for other Linux distributions, the real difference is in the ability (or right) that Ubuntu grants you to alter the software in any way that you want. To quote the developers, “Not only are the tools you need available free of charge, you have the right to modify your software until it works the way you want it to.”

Among the other public commitments the Ubuntu team makes, the team promises that the operating system will always be free, and there will be a new release every six months (each release is supported for 18 months).

Curious about how the distribution compares to others I have been using of late (SUSE, Red Hat, etc.), I started poking around with it, and was very impressed by what I found.

Downloading and Installing Ubuntu
The distribution can be downloaded from links found on the Ubuntu site at http://www.ubuntulinux.org. If, for some crazy reason, you cannot download the distribution, you can request a copy of it mailed to you for free (see http://shipit.ubuntu.com). The core OS still fits on a single CD (just over 617 MB), and the requirements for a standard server installation of the most recent version (5.10) are minimal:

  • Intel x86, AMD64), or PowerPC
  • 64MB RAM
  • 500 MB free hard drive space
For a desktop, these numbers are slightly higher, and I would recommend they be considered minimums for a server installation as well in order to provide an environment you can be comfortable working within:
  • Intel x86, AMD64), or PowerPC
  • 128MB RAM
  • 2 GB free hard drive space

Installation is as simple as can be and done in text mode. At the initial prompt, you can type “server” to install only the base system, or just press Enter to begin the regular installation. After answering a few questions about the language and keyboard, the system detects the hardware and networking equipment/peripherals then disk partitioning takes place. Following that, the base system is installed, and then the packages. You must add one regular user, pick a time zone, set up users and passwords, and install GRUB to finish the first stage of installation.

After a reboot, you pick the video mode to use and the rest of the packages install. All the programs included with Ubuntu are free software (no licensing), and the welcome screen informs you that, “Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.” In other words, you assume all responsibility for it -- while that may also be the case with other distributions, it isn't often spelled out so directly.

Using Ubuntu
Overall, I was impressed the distribution for its simplicity and bare-bones approach. Included with the distribution are the 2.6.12 kernel, GNOME desktop (2.12.1), OpenOffice.org (2.0) and a minimal number of miscellaneous applications. There is support for up to 4GB of RAM, Bluetooth, and Python. Filesystem choices include ext3, JFS, ReiserFS and XFS.

I've come to the point where I am favoring KDE over GNOME, and it would have been nice to have that desktop option included, although I can fully understand why it is not. It would have also been nice to have Adobe Acrobat Reader and a few other almost-necessary programs as well (they are included with most other distributions -- you simply independently agree to the license agreements), but I am being picky: They can all be downloaded from their respective sites after the fact.

I did run into one problem that drove me up the wall, however. In the interest of security/safety/whatever, the root account essentially does not work in Ubuntu. Although there is an entry for it in the /etc/passwd file, you do not create a password for it during the installation, and thus it is essentially unable to be used. I spent countless hours trying to figure out a way to change the password associated with this account without having the proper permissions to do so before deciding to go with sudo. Although the user I created during installation does not have the permission to run a command such as init 6, it is possible to type sudo init 6 and then enter the password associated with that user and the command executes.

While I can appreciate the desire to make the system more secure, and to get around the fact that everyone with malicious intent targets the root account, I am not convinced that this is the best approach to that problem. Once I figured out what was going on, I entered the command sudo vi passwd and removed the “x” in the second field of the root entry, then saved the file (leaving the root user without any password at all). I next became root (using the su command and, of course, there was now no prompt for a password), changed the passwd (passwd root) to the entry I wanted and typed pwconv to write it to the /etc/shadow file. Shazam, I was back to working in an environment (right or wrong) that I was more comfortable with.  

Note: Before you point out that some of these steps could have been combined -- “Was vi really needed?” -- let me point out that this is the path I took because it allowed me to make sure what I wanted to happen was happening at every phase of the process.)

A Few Notes…
A few assorted and sundry notes about Ubuntu:

  • The current version, 5.10, is also known as the “Breezy Badger” build – this name appears in the welcome screen and various other places.  
  • The next announced version, 6.04, nicknamed “Dapper Drake” is currently planned for an April release.
  • In addition to English, Ubuntu is available in a number of derivatives and languages ranging from Finnish to Taiwanese.
  • Free technical support is available online, but you can also purchase support in the marketplace (see http://www.ubuntulinux.org/support/supportoptions).
  • At the Ubuntu shop (http://www.cafepress.com/ubuntushop/), you can buy everything ranging from shirts and boxer shorts to postcards and mugs to show your support for the OS.
  • There is an unofficial Ubuntu Starter Guide that can be found at http://ubuntuguide.org. As I write this, it has not been updated for the latest build, but most of the items it addresses are the same in 5.04 and 5.10, so it is a valuable resource to look at.

Final Thoughts…
Ubuntu offers an interesting approach to Linux. An attempt to make everything truly free, and including only software that requires no licensing, Ubuntu is definitely a step in the right direction. The ability to not only have the operating system, but make the modifications to it that you want in order to fulfill your needs, is something that should appeal to developers and businesses of all types. It is my belief that this distribution will become a strong marketplace contender in coming years, and one that is worth becoming familiar with now.


Emmett Dulaney is the author of several books on Linux, Unix and certification. He can be reached at .

 


More articles by Emmett Dulaney:

-- advertisement --


There are 27 CertCities.com user Comments for “Ubuntu: Getting Back to Linux Basics  ”
Page 2 of 3
3/9/06: variant says: and what distro other than perhaps linspire has such restrictive licences as proprietry os's? they are all equally bound by the licence's of the software they distribute.. (mostly gpl same as ubuntu) so to be honest.. apart from the distros that include proprietry tools/libs then they are just as Free as ubuntu!
3/9/06: Anonymous says: a
3/9/06: Anonymous says: Why can't anyone realise that " sudo passwd " will run passwd as root! changing root's password! :P By the way use sudo! is not that hard!
3/9/06: Anonymous says: Perhaps you should become a Linux review site. You've gotten more comments on this article than most of your articles that actually concern certifications.
3/9/06: Jeff says: I know that the sudo question has already been discussed quite heavily, but if you would just read the FAQ from ununtu.com, you would have the official answer. Here it is: What's the root password after I install? How do I use the root account? The root account is disabled when you first install Ubuntu. The first user created during the installation has administrative rights on the system, and can run programs as root with sudo, using only their normal user password. For example: sudo apt-get update. If you wish to use the root account in more traditional UNIX fashion, you can set the root password by typing sudo passwd root. This will allow you to use su or login as root on the console. If you need a shell with root privileges, run sudo -s. All uses of sudo will require the user's password. Some additional comments about sudo can be found in the wiki here. From: http://www.ubuntu.com/support/faq?action=show&redirect=FAQ
3/9/06: Karl says: Rememeber Ubuntu ships with documentation - While i dont have a clean box, my breezy box has help, and to get the lowdown on enabling the root account go: System - Help - Ubuntu 5.10 Starter Guide - Users Admin. The first point is "How do i use sudo", followed by a "the root acount is disbled" warning. kk
3/10/06: Jon from Dallas says: Hi. No need to touch the sudo thing. It has been beaten up adequately. If you liked Ubuntu but missed KDE, then try Kubuntu. Same rock solid OS except KDE-centric obviously. After you have installed Ubuntu or Kubuntu. Run sudo apt-get update ; sudo apt-get upgrade. This will update your current configuration. Then go to the ubuntuforums.org and follow the instructions there to download automatix which is a gui install script which will allow you to install all your missing plugins and codecs. Running this script will also update your sources.list for apt and you can run sudo apt-get update and sudo apt-get upgrade one more time after automatix has completed your software installations that you have selected. Everything just works at this point. You will be missing nothing that you need, and have everything you want.
3/10/06: Sid Boyce from West Midlands, UK says: I've never come across a Linux distro that has "licensing agreements that closely parallel those of their proprietary counterparts", please do tell as I'm truly puzzled by that statement. I've been using Linux since the first kernel Linus put up for ftp, mcc, SLS, slackware, RedHat , SuSE, Mandrake/Mandriva and gentoo distros, plus freeBSD and picoBSD. Not one of them has ever imposed the slightest restrictions such as found with OpenSolaris or Windows. This is so for the x86, SPARC and z/390 platforms I've handled.
3/10/06: smartass says: variant, your spelling is terrible, and yes it does matter. i think we should ignore your comment completely.
3/10/06: J_K9 says: [snip] There is an unofficial Ubuntu Starter Guide that can be found at http://ubuntuguide.org. As I write this, it has not been updated for the latest build, but most of the items it addresses are the same in 5.04 and 5.10, so it is a valuable resource to look at. [/snip] There is a newer, updated Unofficial Ubuntu Guide which has been created by a different author at: http://easylinux.info.
First Page   Previous Page     Next Page   Last Page
Your comment about: “Ubuntu: Getting Back to Linux Basics  ”
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comment:
   

top