Slashdot Mirror


BSD Hacks

GMan00 writes "A flurry of BSD UNIX-related (Berkeley Software Distribution) books have hit the bookstores during the recent past, and more are on the way. From books specific to Secure Architectures with OpenBSD in April 2004 and the reissue of The Design and Implementation of the BSD Operating System for FreeBSD 5.x (expected in August 2004), to Michael Lucas' series of BSD Books from NoStarch Press, print documentation is certainly available for those interested in learning about the free, open source UNIX system which powers operations such as Yahoo! portal and Sendmail.org website, Verio and Pair hosting, not to mention web server survey site Netcraft. Dru Lavigne's BSD Hacks (O'Reilly and Associates, May 2004), is the latest book in these releases, and is an enormously useful resource for system administrators and end-users alike." Read on for the rest of George's review. BSD Hacks author Dru Lavigne pages 427 publisher O'Reilly & Associates rating 10 reviewer George ISBN 0596006799 summary A great array of hacks you can perform on your BSD box, many applicable to all the BSDs, including FreeBSD, NetBSD, OpenBSD and Darwin/OS X.

Dru writes the BSD Basics column on O'Reilly & Associates' OnLamp. Her clarity and fluid style are perfect for those looking to understand aspects of the BSD operating systems. I have had some email communications with Dru about various New York City *BSD User Group-related activities, and managed to speak with her several times at BSDCan this past May.

Like most computer nerds, Dru has a sense of humor. Unlike most, however, she's actually funny.

BSD Hacks is the first book that is almost solely focused on hacks for sysadmins, without boring you with the details for basic operating system installation and configuration that has been so well documented elsewhere. BSD Hacks is not just for sysadmins, though. Intermediate and advanced BSD users will also find the book an excellent tool. For those who find difficulty in BSD installs and other fundamentals, on the other hand, it's best to start with the FreeBSD Handbook, the NetBSD Guide or the OpenBSD FAQ.

There's lots of good hacks buried in the various BSD books, around the internet in different HOWTOs and tutorials. But BSD hacking is the sole purpose of BSD Hacks; there's no need to browse through install screens and overviews of TCP/IP before getting to the heart of the matter.

With 100 listed hacks, multiplied by an impressive level of detailed angles for each, Dru provides an array that demands the placement of this book right in your server room, not in a pile of "must-read-at-some-distant-point-in-the-future" texts.

The majority of hacks are applicable to all the BSDs, including Darwin and OS X, although some are specific to one BSD or another.

This review obviously can't list every hack, although you would be smart to sit and work through the book yourself over a weekend or two. But it is possible to provide a good flavor of BSD Hacks in brief. O'Reilly and Associates does give a good glimpse on their Sample Hacks page, but let's do a quick work through ourselves.

The first chapter is called "Customizing the User Environment," and is probably best for end-users looking to go beyond their first steps. But it does include some useful hacks, such as "Use an Interactive Shell" that certainly fit well into the arsenal of any sysadmin, not to mention Hack #12 "Use Multiple Screens on One Terminal."

The second chapter, "Dealing with Files and Filesystems" also contains gems for both end-users and sysadmins. The use of mtree, which maps a directory hierarchy, is mentioned as a tool for recovery. Later on in chapter 6, Dru details its use for making a hacked data integrity checker, thus filling the role often played by products such as Tripwire.

Another great tool Dru covers in the second chapter is g4u, a free ghosting program that gives you the ability to perform quick restores over ftp. Ghosting a drive image is an incredibly useful tool, whether it's about replicating servers or doing a quick reinstall and configuration when a server fails in an emergency.

Chapter 3 is entitled "Boot and Login Environments." It gives some hacks that aren't just for basic system administration, but also some useful security ones including changing your /etc/passwd file to Blowfish encryption and utilizing OPIE for one-time passwords, which is built into FreeBSD.

"Backup Up" is the focus of Chapter 4. It includes some very creative methods of dealing with maintaining that necessity, and also includes an excellent primer on Bacula, which is increasingly gaining prominence as a cross-platform backup system.

Chapter 5 covers "Network Hacks," and continues on educating a sysadmin. Included in this chapter is the tcpdump program, a vital tool for watching traffic flowing by your network interfaces.

There's a strong security focus in Chapter 6, entitled "Securing the System." While security hacks are sprinkled generously throughout the book, this chapter works with firewalling with IPF and PF, in addition to covering SSH and Snort. It also includes the earlier mentioned 'intrusion detection-lite' approach with mtree.

Chapter 7, "Going Beyond the Basics" explores scripting, analyzing dreaded buffer overflows and more. Dru also includes a bit on "Creating a Trade Show Demo," not something you'd expect documented in print anywhere, but nevertheless quite useful for anyone working for the BSDs at a conference.

Dru continues with "Keeping Up-to-Date" in Chapter 8, which includes useful details on upgrading and downgrading your installed ports.

The final chapter is "Grokking BSD." "Grok," as Dru comments, refers to the science fiction writer Heinlein's Martian phrase for having a "thorough understanding." Dru covers creating your own manual pages, dealing with custom patches, playing with dictionaries and more.

Certainly there are no walls between each chapter, as many of the hacks could be shifted around. All the more reason to work your way through the book from beginning to end.

One useful addition for this book could have been somehow denoting which of the BSDs (in some cases, it's all of them) to which each listed hack can be applied. Certainly not all are available to Darwin and Apple's OS X. And certainly there's no point in making the OpenBSD /etc/passwd file encrypted in Blowfish, since that is its default.

While many of the hacks are found somewhere in the manual pages, on some useful website, buried in another book or in the minds of some developer somewhere, they're not necessarily in the annals of official documentation. But there's no single book or site that provides the depth and breadth that Dru provides. She managed to tap into the thoughts of dozens of developers and sysadmins around the world, greatly enhancing the variety of hacks in this book.

As a side note, the scope of BSD Hacks isn't limited to just the BSD family. Many of these are likely applicable to Linux and the other UNIX systems. But with recent, impressive increases in the BSD install base, there's a good chance that you can access a BSD box somewhere.

Whether you're a sysadmin managing hundreds of servers, or a power user ready to go beyond the obvious, BSD Hacks belongs next to your CRT.

You can purchase BSD Hacks from bn.com. Slashdot welcomes readers' book reviews. To see your own review here, carefully read the book review guidelines, then visit the submission page.

122 comments

  1. Recent Past by Anonymous Coward · · Score: 5, Funny

    From the write-up "have hit the bookstores during the recent past"

    Yes, those are much easier to review than those that arrive in the recent future.

    FYI, the word you are looking for is "recently".

    HTH

    1. Re:Recent Past by Anonymous Coward · · Score: 0

      "Actually the word i was looking for was DIE you mother fucker."

      Well, I guess it doesn't make much sense to write this as an Anonymous Coward, if you'd really be the author.

      But then, wo am I supposed to be :B

    2. Re:Recent Past by cpghost · · Score: 1

      Or was it "The Dead Past"? Oh, waitaminute! That would have infringed Asimov's copyright (to a great story, btw.). Of course, it's OT here.

      --
      cpghost at Cordula's Web.
    3. Re:Recent Past by Anonymous Coward · · Score: 0
      Try reading the rest of the sentence. . .

      hit the bookstores during the recent past, and more are on the way.

      It's amazing how the education system has declined during the Bush years. . .I wasn't in the smartest generation, but at least we had the ability to fool our teachers. You can't even fool the Slashdot audience.

    4. Re:Recent Past by _Sharp'r_ · · Score: 1


      Try also the list of books (with reviews) at Books Under Review/Computers/Software/Operating_Systems/Unix/B SD/.

      I especially like "Absolute BSD", but then I'm more partial to FreeBSD.

      --
      The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
    5. Re:Recent Past by Anonymous Coward · · Score: 0

      The rest of the sentence doesn't change anything. The word he was looking for is still "recently". Referring to the "recent past" is non-sensical because anything recent is by definition, in the past.

  2. RED INK FLOWS LIKE A RIVER OF BLOOD by Anonymous Coward · · Score: 0, Funny

    Q: What do you call a *BSD developers convention?
    A: A mortuary!

  3. Re:*BSD is dying by Anonymous Coward · · Score: 3, Informative

    Good News Everyone!
    Turns out that *BSD is stronger than ever!
    According to an Inernetnews article, Netcraft has confirmed that *BSD has "dramatically increased its market penetration over the last year."
    There has been a steady increase in *BSD developers over the past decade.
    There are currently 307 FreeBSD developers as of the 2004 core team election.
    You can read more about FreeBSD here

    If you would like to try out a BSD, you can download: FreeBSD, OpenBSD, NetBSD, or DragonflyBSD
    Enjoy!

  4. Oh my! by Anonymous Coward · · Score: 1, Funny

    *BSD is... ALIVE!

    1. Re:Oh my! by twigles · · Score: 1

      Ssshhhh, don't tell /.

  5. 10 replies and all of them at -1 by GillBates0 · · Score: 5, Funny
    What can you expect when the article summary contains references to both Netcraft and BSD.

    I can hear the sound of a million BSD-is-dying trolls banging on their keyboards.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:10 replies and all of them at -1 by Anonymous Coward · · Score: 0

      But it is!

    2. Re:10 replies and all of them at -1 by Anonymous Coward · · Score: 0

      I can hear the sound of a million BSD-is-dying trolls banging on their keyboards.

      Most of that banging is focused on the Control, C, and V keys.

  6. Legitimate question. by lpangelrob2 · · Score: 5, Interesting

    Is a hacks book a good way to go about learning more about the insides of an OS (BSD) and how it works, or are there other books out there for this purpose? I know elementary UNIX (if you count Terminal OS X as UNIX) but I'm not sure if books like this are a good way to broaden the scope of what I know in the language, or just specific directions and instructions on how to get some things power users have always wanted to work... to work.

    1. Re:Legitimate question. by Unnngh! · · Score: 4, Informative

      I've found books help to take me over certain hurdles in learning, particularly with unix. That being said, I kindof need to hit a hurdle for them to be useful, or at least have enough real experience under my belt to see how the material is applicable. Unix Power Tools is a great book, it will show you so many nuts and bolts of any Unix-like OS that it will really put you in another realm. But try picking it up as a noob, it'll only give you a massive headache.

    2. Re:Legitimate question. by name773 · · Score: 1

      i always found tutorials to be very helpful in learning things, because they provide examples.
      however, using the thing daily is (for me) the best way to learn it

    3. Re:Legitimate question. by Short+Circuit · · Score: 5, Informative

      For me, O'Reilley's Linux in a Nutshell allowed me to charge in with both guns drawn back in 2000. (Read: I'd hosed my Windows installation, and the Compaq restore CD wasn't working.)

      They have books on both Linux and BSD here. And, so long as you have a machine to read them from, check out their Safari service. I loved it. (but had to cancel to pay for tuition last Fall. I'm still planning on going back.)

    4. Re:Legitimate question. by fiskbil · · Score: 3, Informative

      I have read The Design and Implementation of the 4.4 BSD Operating System and it is a very good way to learn the inner workings of an OS. This is an older book than the one mentioned in the article and I'm sure the new book has some more up to date information. But I would expect it to be just as good as the one I mentioned.

      The authors of the book helped in writing BSD and they give the impression of knowing what they are writing about.

    5. Re:Legitimate question. by joeykiller · · Score: 3, Informative
      Is a hacks book a good way to go about learning more about the insides of an OS (BSD) and how it works, or are there other books out there for this purpose?
      I haven't read "BSD Hacks", but I have read O'Reilly's "Linux hacks". If BSD Hacks is anything like the O'Reilly book "Linux hacks", I'd have to say that the answer is no.

      Don't misunderstand -- "Linux hacks" is an awesome book, but it is a book that helps users that have some experience solve a couple of (or more like 100) special problems you really have to experience before you even know they exist. I don't know if this makes any sense, but what I'm trying to say is that it may be more suited for experienced users.

      Since you seem to be an OS X user I think you'd get more help from another O'Reilly book: Learning Unix for Mac OS X Panther. It teaches you the basics and might even get you far enough to experience the kind of situations where you'd start wanting a Hacks book.
    6. Re:Legitimate question. by Sir_Real · · Score: 1

      check out their Safari service. I loved it. (but had to cancel to pay for tuition last Fall. I'm still planning on going back.)

      Good Lord! How much does it cost?!

    7. Re:Legitimate question. by Short+Circuit · · Score: 1

      $15/month for the one I subscribed too. There are cheaper and more expensive options, though. It depends on how many books you want access to at one time. (Keep in mind that there's a minimum time you can have a single book checked out.)

    8. Re:Legitimate question. by value_added · · Score: 2, Informative

      The FreedBSD Handbook (which you can download or read here probably contains everything you need, and then some.

      Reading more than one book on any subject is always a good idea, but when you're starting off, the original documentation (in this case, excellent and well written) should not to be skipped.

    9. Re:Legitimate question. by chromatic · · Score: 4, Informative

      The goal of a Hacks book is much different from a Cookbook. A Cookbook will cover everything common you'll eventually want to do. A Hack will cover things you may never have known you want to do, but will want to do after you read them.

      (I edited this book, so that was my goal at least.)

  7. Re:FreeBSD vs Linux -- check it out by diegocgteleline.es · · Score: 0, Flamebait

    Do you realize that nobody cares about your shitty and subjective comparison, true?

  8. Re:Linux by astellar · · Score: 0

    Of course, todays linux is good, but major linux vendors should to make a choice between developing server os or system for desktop applications. We all know there lots of differences. Server OS cannot be easy-to-use. And desktop cannot be extremely stable.

  9. Seems like an interesting read by grunt107 · · Score: 0

    Although more basic/moderate in experience, it seems well partitioned and presents many of the important topics in OS admin. The 'Grok' section is intriguing.

    BSD (to me) would be an interesting study, as it is a familiar design, but has a different license structure and fan base.

    Makes me want to BSD an old 'puter and get a *nix/*nix/win (lone client laptop) network.

  10. Awesome hack. by Eric_Cartman_South_P · · Score: 3, Funny
    Here's a really cool hack... it's one of my favorite:

    http://www.apple.com/macosx/

    1. Re:Awesome hack. by burns210 · · Score: 2, Interesting

      GUIs are for wimps. I perfer the Command Line!

  11. Secure architectures by carnivore302 · · Score: 5, Informative

    I happen to own Secure Architectures with openBSD. While it covers a lot of ground found in other admin books as well, there are some nice things to be found here. Especially the comments on how-not-to-do-it were sometimes... well let's say useful :-)

    Click on the Mystery Futures Link!

    --
    Please login to access my lawn
    1. Re:Secure architectures by andreyw · · Score: 1

      Agreed - I just got the book yesterday and its simply awesome!

    2. Re:Secure architectures by Anonymous Coward · · Score: 0

      You should also check out "Building Firewalls with OpenBSD and PF".
      The section on altq is very detailed.
      It also has great tips on defending agains DoS attacks such as using automatic adaptive timeouts, "For linear scaling of timeouts based on number of states". page 177.

  12. Re:FreeBSD vs Linux -- check it out by mnemonic_ · · Score: 0, Offtopic

    False!

  13. dying? by Anonymous Coward · · Score: 0

    Dang! And I thought BSD was dying... guess Daryl better not find out...

    1. Re:dying? by Not+The+Real+Me · · Score: 0, Troll

      BSD is dying...Try getting BSD to run on a quad processor system using 2+ ghz processors.

  14. Re:What Killed FreeBSD by Anonymous Coward · · Score: 0

    Good News Everyone!
    Mike Smith now works for Apple, whose OS is based on BSD.
    Check it out: www.lemis.com/~grog/msmr.html
    and at: daemonnews, under "BSD at Apple"
    He didn't like the direction that v5 was taking so he quit and starting writing BSD code for Apple.

  15. Alive and well by shaitand · · Score: 4, Insightful

    It's good to see BSD getting some well deserved recognition.

    Although BSD isn't commonly seen as an end platform in practice (with some notable exceptions), the code and technology in it are probably used in favorite OS no matter what OS that is.

    So for once guys, be you linux fans, windows fans, or OS X fans, tip your hats. We should all be encouraging the growth and development of BSD.

    1. Re:Alive and well by shaitand · · Score: 1

      ok ok I give, actual BSD fans can encourage the growth and development of BSD too... I suppose.

  16. RE: LINUX IS NOT AN OS by astellar · · Score: 0

    Unfortunately this is just another OS. Business don't care what we love. I will never suggest FreeBSD to customer who need another OS independently how much I love BSD. But sometimes I really hate linux, don't care I use them :-)

  17. LUNIX IS NOT AN OS, ITS A WAY OF LIFE by Anonymous Coward · · Score: 0

    n/t

  18. Re:Linux...except Ninnle by Anonymous Coward · · Score: 0

    BSD may be dying but Ninnle Linux is stronger than ever, and so is NinnleBSD!

  19. About BSD-Hacks by koinu · · Score: 5, Interesting

    There is no question. This book is useful and one of the best books that I've seen for a long time.

    I'm using FreeBSD 4 and 5. That's why I like this book really much. It gives so many examples how to cope with shell settings, file systems, backups and many other typical problems. I have learned a lot from this book.

    This here, is not the whole truth:

    The majority of hacks are applicable to all the BSDs, including Darwin and OS X, although some are specific to one BSD or another.

    While reading this book you will find quite a lot passages saying: "For NetBSD, look at: http://...", "For OpenBSD, try: http://...", "Unfortunatelly, NetBSD..." or explaining NetBSD/OpenBSD features in one short paragraph and pointing to man-pages, while FreeBSD is explained with lots of details. I mean, this does not disturb me, but it might be annoying for other users.

  20. Re:FreeBSD vs Linux -- check it out by Short+Circuit · · Score: 1, Offtopic

    supported for longer

    So they've found a new way to hide "BSD is dying" in their trolls?

  21. *BSD as a Four Letter Word by karniv0re · · Score: 5, Insightful

    What is it with the "Slashdot Scene" that the mere mention of *BSD invokes insults from every corner. I can see this coming from the Microsoft crowd, but from FOSS advocates?

    Come on people, it's not like you pay for it! It's just as free as Linux! Each serve their purpose. Now, if you can't say anything positive, don't say anything at all.

    1. Re:*BSD as a Four Letter Word by Valar · · Score: 2, Interesting

      Actually, browsing at the civilized levels, I've noticed far more people complaining about BSD being insulted than actual anti-BSD sentiment. Either you guys take the trolls more seriously than I do, or you have a minority complex. :P

    2. Re:*BSD as a Four Letter Word by Anonymous Coward · · Score: 1, Insightful

      WTF are you talking about? The insults you see aren't from FOSS advocates they are from jackass Trolls who have nothing to do with OSS. I've read through every -1 post here and none of them are posts from known Linux users saying that standard BSD sucks and Linux is bettter. Your further comment about how its "just as Free Linux" are wasted on people who have NOTHING to do with Linux and are just here to act like jackasses.

      Your obviously new here so I'll cut you some slack but don't make the same mistake again confusing Linux users and FOSS advocates with the morons modded at -1 who copy and paste the same trolls over and over. Whoever modded this as Insightful needs to have their head inspected.

    3. Re:*BSD as a Four Letter Word by bastardadmin · · Score: 1

      Quoth the AC:
      "The insults you see aren't from FOSS advocates they are from jackass Trolls who have nothing to do with OSS."

      I'll buy that. Most real live IT workers (sysadmin and dev) that I know and work with are very pragmatic about their open source. I think the Perl folk sum it up quite nicely: 'There's more than one way to do it.'

      "... none of them are posts from known Linux users saying that standard BSD sucks and Linux is [sic] bettter."

      Well, I wouldn't go that far, look back at the comparison post. And if there aren't yet there will be soon.

      But, yes, these are likely not real FOSS advocates, just random jackasses.

    4. Re:*BSD as a Four Letter Word by karniv0re · · Score: 1

      No, I'm not new here, I know how this shit works. And you know there are exceptions to every rule. My reference was mostly made to the comparison people, and the ones who love to pretend that they're in a gang because they use a certain OS.

      If you read through every -1 post, then you'd probably also notice that they're all Anonymous Cowards, much like yourself. So your point that none of them are known Linux users is moot.

      Finally, I will agree, whoever mods me as insightful, does indeed need to have themselves examined. Or maybe they were in the process of examining themselves and hit the "Moderate" button by accident. Anyway, I'm not sure why I'm responding to an AC. I'll be sure to put that on my 'NOT to do" list for next time.

  22. The fight continues by Bill+Hayden · · Score: 1, Funny

    I see someone is still taking up arms in the "hack vs. crack" nomeclature war. I thought we had surrendered.

    --
    Protect your browser with the Force Safe Search add-on
  23. Re:Laugh ! OS used by Yahoo is dying. by Anonymous Coward · · Score: 0

    Netcraft?

  24. BSD Dead? WTF by Anonymous Coward · · Score: 0, Informative

    How Can BSD be dead? I'm running it... it's doing its job... looks alive to me!

  25. Informative review by bastardadmin · · Score: 5, Insightful

    Documentation is a good thing.
    Good documentation is considerably better.

    It's good to see that the market is there for decent, affordable reference works for more than just Linux and Windows (though the latter is debatable... and that's not trolling, I have been a Windows admin for years and the thing that keeps me running Linux and *BSD baxes in my environments is that, as a rule, the documentation is a hell of a lot more affordable and accessible and generally better).

    It is a shame that any BSD story on slashdot has to be inundated with the same tired "BSD is dead" trolls. Not that I am surprised to see trolling here, but get some creativity FFS (and that doesn't mean Fast Filesystem in this context).
    You aren't even worth the mod points to flag you for what you really are, you sad, friendless twits.

  26. Humanity is dying by Anonymous Coward · · Score: 1, Funny

    It is official - Netcraft now confirms: Humanity is dying

    One more crippling bombshell hit the already beleaguered Human community when IDC confirmed that Human market share has dropped yet again, now down to less than a fraction of 1 percent of all things on the net. Coming on the heels of a recent Netcraft survey which plainly states that Humans has lost more market share, this news serves to reinforce what we've known all along. Humanity is collapsing in complete disarray, as fittingly exemplified by failing dead last [samag.com] in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin [amazingkreskin.com] to predict Humanity's future. The hand writing is on the wall: Humanity faces a bleak future. In fact there won't be any future at all for Humanity because Humanity is dying. Things are looking very bad for Humans. As many of us are already aware, Humanity continues to lose market share. Blood flows like a river of red ink.

    "Smart People"(tm) are the most endangered of them all, having lost 93% of its core reproducers. The sudden and unpleasant departures of long time people Stephen King and Feynman only serve to underscore the point more clearly. There can no longer be any doubt: Humanity is dying.

    Let's keep to the facts and look at the numbers.
    Human watchdog organisation BBC states that there are around 42,140 nuclear warheads poised to annihilate Humanity . How many People are there? Let's see. The number 6,382,978,111 was given by http://www.census.gov/cgi-bin/ipc/popclockw. Therefore there are about 6,383,000,000 humans. Therefore there are about 6,400,000,000 people. A recent article put China's population at about 20 percent of the world population. Therefore there are about 1,261,832,482 chinnese people. This is consistent with the number of people in china.

    Due to the troubles of world politics, abysmal birth rates in Japan and Italy, germ warfare, natural plauges, famine, and so on, people are largely screw. Now more people are dead, and with the death rate holding at a steady 100% there's little hope.

    All major surveys show that Humans are pretty damn stupid. Humanity is very sick and its long term survival prospects are very dim. If Humanity is to survive at all it will be through space travel. Earth continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, Humanity is dead.

    Fact: Humanity is dying

  27. Unix Power Tools by TilJ · · Score: 4, Interesting

    This book (which I picked up in a recent book shopping binge) reminds me most of Unix Power Tools. I own the 2nd edition and I've reviewed the 3rd edition. The similarities to the "Hacks" series is striking (not surprising, considering that they're both published by O'Reilly). The "Hacks" books seem to be shorter and with fewer tips receiving more thorough treatment.

    A comment I wrote for the Power Tools review applies to BSD Hacks as well:

    Among the most hyperlinked book I've seen, this book is filled with hundreds of useful tips and, perhaps most interestingly, Unix culture. It's only marginally successful as a reference manual or as a teaching aid as it focuses on the useful-but-obscure aspects of Unix. Where it truly excels is in steeping the reader in ``How do I''-style Unix lore until it comes out of their pores.

    --
    "The purpose of argument is to change the nature of truth." -- Bene Gesserit Precept
    1. Re:Unix Power Tools by chromatic · · Score: 1

      Unix Power Tools was definitely an inspiration for the Hacks series. Fortunately, the Hacks are a lot shorter, a lot more focused, a lot less expensive, and very much easier to write.

  28. Re:*BSD is dying by Anonymous Coward · · Score: 1, Insightful

    Keep in mind that the BSD's share alot of code with eachother.
    They have different niches that attract different type of developers.
    If you knew anything about programming, you mind understand that.

  29. Is the book in the creative common license? by Anonymous Coward · · Score: 0

    That would be great!!!

  30. Re:Expel the Daemons by Anonymous Coward · · Score: 0

    You also can send your money to me! That's right, for just $9.99 USD a month you get the Basic Intro To Heaven package and the Lord's Angles will view you favorably no matter what you did on earth.

    But wait, there is more. For only an extra $4.95 USD a month, you can get the Hall Way To Heaven upgrade. This nice package lets you in Gods personal hall way where you will spend eternity with the many others who bucked-up just like you.

    And finally, we offer the Deluxe Heaven package for $39.95 USD a month. With this package you will actually get to see the Lord himself. And no matter how cruel, mean or bad you were on Earth, this package will guarantee your entry into heaven and at the right-hand side of God. But hurry, limited quantities available for first-time purchase.

    VISA and Master credit cards accepted.

  31. Re:*BSD is dying by Lando+Griffin · · Score: 0

    NOBODY does "whatever the f***" they want with OpenBSD. Not as long as Theo draws breath.

  32. Re:*BSD as a Four Letter Word[OT] by bastardadmin · · Score: 1

    I don't get it either.

    It truly boggles my mind. What's the problem? Does it upset the trolls so that another free unix-like operating system exists? Deal with it. You don't have to use it.

    Whatever. My real beef (as stated in my post somewhere below) is that we get the same tired cut and paste trolls, which waste my time with screens full of crap when I want to peruse the comments.

    I am curious though... how many of the trolls have actually worked with a *BSD system? More to the point have any of these trolls ever actually been in a network/systems admin position (and sorry, helpdesk doesn't qualify as network admin -- I've been both and it is a big difference)?

  33. Re:*BSD is dying by aristotle-dude · · Score: 1
    Are you a troll or totally clueless? Linux is a kernel.

    If you look at the userland "linux" distros, there are a lot of them and most of them are incompatible with each other.

    --
    Jesus was a compassionate social conservative who called individuals to sin no more.
  34. OOOWWW by ShadowRage · · Score: 1

    Those books hurt when thrown through bookstore windows, one hit my head :(

    They're quite potent when they hit anything, bookstores, lamps, craniums, etc.

  35. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  36. website for QuickPatch and IPFilter scripts by mmerlin · · Score: 1

    My good friend Michael Vince had two of his scripts included in the BSD Hacks book, including Quickpatch which was also featured as a sample chapter

    His projects website is here at ROQ.COM and also has the very useful IPFilter script.

    As an aside, he said that in his bio in the book, OReilly credited him with different hacks than the ones he actually wrote... editorial snafu.

    --

    smile, it makes everyone else wonder what you're up to :-)
  37. Another view on "BSD Hacks" by hubertf · · Score: 4, Interesting
    Being a long term NetBSD user, I'm not too thrilled by the mixture of contents in the book. See my NetBSD blog entry for a few more details.

    - Hubert

    1. Re:Another view on "BSD Hacks" by Chris+Scott · · Score: 1

      Agreed.

  38. Secure Architectures with OpenBSD by zyche · · Score: 4, Informative

    I bought a copy of Secure Architectures with OpenBSD and I think it is quite good, especially if you consider its relatively low price.

    It's not that it cover every detail of every feature of OpenBSD, rather it many gives some background to them that the (ohh so excellent) man pages doesn't provide. For example: while the man page explain what rarpd does, the book admits that the service is quite archaic. :-)

    I like it, and have learned a lot from it, even then I thought I knew most of it (or know where to look).

  39. Re:Expel the Daemons by Anonymous Coward · · Score: 0

    But how do we find out where to send our money if you post as AC? Please email me with the address to send the $$$!

    Sincerely,
    AC

  40. Re:*BSD is dying by Eradicator2k3 · · Score: 0, Offtopic

    Uh-huh-huh-huh-huh-huh-huh

    He said "Penetrated."

    --
    Mr. T pitied this fool on 27 July 1992.
  41. Doesn't look good... by evilviper · · Score: 1

    From the samples, it doesn't look good at all... It was written by someone with rather limited knowledge, who doesn't really like to do things the right way.

    For instance, hack 100 tells you to copy the ~/.Xauthority file from user "dru" to root's home, then set DISPLAY. This is so root can display an X11 window...

    The right way to do this is to:
    A) use "xhost" as "dru". Specifically, "xhost +local:root" will give root access to the X server. If you're root, it's easy to su to dru, run xhost, then exit back to the root shell.
    B) instead of exporting "DISPLAY" manually, it's best to just leave the "-l" off of SU, and inherent that variable automatically. Afterall, it could be DISPLAY=:19.0

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    1. Re:Doesn't look good... by Anonymous Coward · · Score: 0

      Actually, the right way to do it is to use "xauth list" (as "dru") and "xauth add" (as "root") to directly transfer the authorization.
      You could also use "xauth extract" and "xauth merge" to the same effect.
      This has the added benefit of not trashing any existing authorizations, in case you happen to be actually logged in as root on another screen.

  42. Re:*BSD is dying by Anonymous Coward · · Score: 1, Informative

    Dragonfly BSD....a BSD I have not tried yet? Thanks, I'll look into it shortly.

    For those of you that think BSD is dead, look at Net|Scaler. It's clients inlcude WebEx, MSN, AOL, Amazon, Google, Yahoo, Royal Bank of Scotland, Autozone.com and thousands of other high volume, high traffic, sites. These sites demand the highest consideration for uptime, reliablity, throughput, and management functions. They all rely on the BSD based Net|Scaler to load balance, SSL offload, Content Switch, URL Filter and protect their back-end server farms.

  43. Does it cover DragonFly BSD? by Anonymous Coward · · Score: 1, Interesting

    Do any of these new books cover DragonFly BSD? I'm in the process of switching all my computers over from FreeBSD to DragonFly. It would sure be nice to have some DragonFly books.

  44. *BSD literature/comparison for Linux admins? by FUF · · Score: 1

    Anyone know of any good literature out there on *BSD written as such that it is geared towards experienced Linux sysadmins? i.e. offering a list of key differences (or similarities) on various levels of system organization, administration, common/best community practicies etc.?

  45. Re:FreeBSD vs Linux -- check it out by diegocgteleline.es · · Score: 0, Flamebait

    Uh? I'm _RIGHT_. You only deserve to be wrong, if you like. Seriously, how can anyone take that pile of shit seriously? You've to be drugged to eat that. Hell, I've never used BSD nor I intend to but if you beileve shit like that, lemme give you and advice - kill yourself.

  46. Re:FreeBSD vs Linux -- check it out by torstenvl · · Score: 2, Informative

    Look at some of the most popular sites out there:

    • www.slashdot.org: Linux
    • www.sourceforge.net: Linux
    • www.hotmail.com: Win2K
    • www.msn.com: Win2K (w/ FreeBSD backup?)
    • www.netcraft.com: FreeBSD
    • www.yahoo.com: FreeBSD
    • www.google.com: Linux
    • www.apache.org: FreeBSD (this one gets weight, I believe)
    • www.oracle.com: Solaris
    • www.mozilla.org: Linux
    Some other sites:
    • www.x.org: Solaris
    • www.xfree86.org: FreeBSD (heh)
    • mac.com: Darwin & BSD/OS (some back and forth)
    • www.stanford.edu: Solaris
    • www.berkeley.edu: Solaris (eh!?)
    • www.mit.edu: Solaris
    • www.wmich.edu: Solaris
    • www.gatech.edu: Solaris
    • www.helsinki.fi: Solaris
    • www.cmu.edu: I could have guessed...
    • www.adti.net: FreeBSD (sigh)
    • www.unix.org: Solaris
    • www.opensource.org: FreeBSD
    • www.xig.com: FreeBSD
    • www.sco.com: Linux (mwahahaha)

    Also see this article at Netcraft. Sure, Linux outnumbers BSD. But that's not the point. I hate to disappoint you all, but BSD is not dying.

  47. Maybe because BSD users by RLiegh · · Score: 0, Troll

    are some of the biggest biters this side of YRO?

    I'm just sayin....

  48. It's time for the Daily Puzzler by Anonymous Coward · · Score: 0
    Today's Puzzler's asks you to discover what the following four items have in common:
    1. Laci Peterson
    2. Lori Hacking
    3. Nicole Simpson
    4. BSD
    Submit your response along with a stamped self-addressed envelope.
    See contest rules for further details. Void where prohibited.
  49. Re:Expel the Daemons by Anonymous Coward · · Score: 0

    P.O Box 666
    Oklahoma City, Oklahoma 73101

  50. Re:*BSD is dying by Anonymous Coward · · Score: 0

    "If you look at the userland "linux" distros, there are a lot of them and most of them are incompatible with each other."

    tar -xzvf clueless.tar.gz
    cd clueless ./configure clueless
    make
    make install clueless ./clueless
    rpm not found
    deb not found
    your distro is incompatible...you are a package junkie
    whois clueless
    package junkies like aristotle dude

  51. Re:*BSD is dying by Anonymous Coward · · Score: 0

    haha quality a BSD isn't dying troll.

    that'll learn em :)

  52. Re:*BSD is dying by aristotle-dude · · Score: 1
    So where do I get the source to compile a closed source commercial app for linux? I can't?

    Sorry pal, you may think you are helping the cause but you are actually hurting it.

    What linux needs to do is to stop forking the core libraries and functionality. There are way too many linux distros out there claiming to be for general use.

    Linux needs to have an agreed upon minimum standard set of libraries, a standard basic GUI toolkit and a standard basic package management system.

    I personally think how apps are installed should be rethought to make it easier for users to move apps around or to uninstall at wimp. The *nix/linux way was great when HD sizes were small but now we have really big HDs so you all might want to look at local installs of dependencies for each of your apps.

    --
    Jesus was a compassionate social conservative who called individuals to sin no more.
  53. Need to go wait in line.... by Anonymous Coward · · Score: 0

    http://software.silicon.com/os/0,39024651,10006289 ,00.htm
    http://www.newsfactor.com/story.xhtml?sto ry_id=225 94

    Yeah, it's sold flawlessly... And I only had to wait 4 hours before the store opened!!!