Top 10 pratfalls for novice Linux admins

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

COMMENT

If you are new to Linux, a few common mistakes could land you in hot water, says Jack Wallen.

For many, migrating to Linux is a rite of passage that equates to a thing of joy. For others, it is a nightmare waiting to happen. But if you know the most common mistakes new Linux administrators make, you can avoid disaster. Here are 10 of the most frequent Linux errors.

1. Installing applications from various types
This practice might not seem like such a bad idea at first. You are running Ubuntu, so you know the package-management system uses .deb packages. But there are a number of applications that you find only in source form. No big deal?

They install, they work — so why not use them? Simple: your package-management system cannot keep track of what you have installed if it is installed from source. So what happens when package A, installed from source, depends on package B, installed from a .deb binary, and package B is upgraded from the update manager?

Package A might still work, or it might not. But if both package A and B are installed from .debs, the chances of them both working are far higher. Also, updating packages is much easier when all packages are from the same binary type.

2. Neglecting updates
This failing is not confined to Linux and has more to do with poor administration skills. However, many admins get Linux up and running, then think they need do nothing more. It is solid, secure and it works.

New updates can patch new exploits. Keeping up with your updates can make the difference between a compromised system and a secure one. And just because you can rest on the security of Linux does not mean you should.

For security, for new features, for stability — the same reasons we have all grown accustomed to updating with Windows — you should always keep up with your Linux updates.

3. Poor root password choice
Repeat after me: "The root password is the key to the kingdom." So why would you make the key to the kingdom simple to crack?

By all means, make your standard user password something you can easily remember and type. But the root password — you know, the one that is protecting your enterprise database server — merits a much higher difficulty level.

Read this

Comment: Ten add-ons to boost the power of OpenOffice

However much you like OpenOffice, the judicious use of extensions can make it even better, says Jack Wallen...

Read more +

Make that password one you might have to store, encrypted, on a USB key, requiring you to slide the key into the machine, mount it, decrypt the password and use it.

4. Avoiding the command line
No-one wants to memorise a set of commands and, for the most part, the user interface takes care of the majority of them.

But there are times when the command line is easier, faster, more secure and more reliable. Avoiding the command line should be considered a cardinal sin of Linux administration.

You should at least have a solid understanding of how the command line works, and a small arsenal of commands you can use without having to read the manual. With a small selection of command-line tools on top of the user-interface ones, you should be ready for just about anything.

5. Not keeping a working kernel installed
You do not need 12 kernels installed on one machine. But you need to update your kernel, and the update process does not delete previous ones. So what do you do?

You keep at least the most recently working kernel at all times. Say you have 2.6.22 as your current working kernel...

Talkback

pratfall - <a href="http://dictionary.reference.com/browse/pratfall">http://dictionary.reference.com/browse/pratfall</a>
pitfall - <a href="http://dictionary.reference.com/browse/pitfall">http://dictionary.reference.com/browse/pitfall</a>

kevburger 17 August, 2009 20:05
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Roberto_Store

Now On Sale, Unlocked iPhone 4S / Galaxy Note In Factory Box. Roberto-Techie(UK) ”Now on Sales” Smartphone, Android,Tablets,Gadget &...

3 hours ago by Roberto_Store on Samsung Galaxy S III lined up for sale
Paul Smyth

Is this classic FUD? One thing I would definitely have notice is a Mozilla threat to stop supporting GNU/Linux.

5 hours ago by Paul Smyth via Facebook on Firefox rapid release improves Fedora Linux
UnderINK

I agree with the previous commenter wholeheartedly. I couldn't say it better myself. This is very 'Big Brother'. And while I agree with protecting...

9 hours ago by UnderINK on European e-identity plan to be unveiled this month
Simon Bisson and Mary Branscombe

Nice to see that Turing's idea of a general purpose computer doing once-hardware-powered tasks in software is now universal ;-) Mary

14 hours ago by Simon Bisson and Mary Branscombe on Software with everything
Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

18 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

22 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

23 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

1 day ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

1 day ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

1 day ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

1 day ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

1 day ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

2 days ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

2 days ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

2 days ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

2 days ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

2 days ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

2 days ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

2 days ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

2 days ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT