Slashdot Mirror


Practical Unix & Internet Security

Charles McColm writes "At just under 1,000 pages the 3rd edition of Practical Unix & Internet Security might look intimidating on the shelf, but a quick glance through the pages reveals that it is both practical and entertaining. With Slammer and Blaster making their way into the news it seemed like a good time to brush up on security. Already considered a classic reference, the 3rd edition of the book provides extensive updated information about topics like PAM (Pluggable Authentication Modules), LDAP, forensics, intrusion detection, wireless devices, and cryptography." Read on for the rest of McColm's impressions of the book. Practical Unix & Internet Security author Simson Garfinkel, Gene Spafford & Alan Schwartz pages 954 publisher O'Reilly & Associates rating 8/10 reviewer Charles McColm ISBN 0596003234 summary The 3rd edition of Practical Unix & Internet Security adds much-needed updated information to an already classic security text. It's very comprehensive but a little dry in parts.

Practical Unix & Internet Security is divided up into six sections:

The first section covers the basics of computer security, tracing the history of Unix and security, as well as providing details of what should be in a good security policy.

The second section covers the building blocks of security, authentication, users and groups, filesystems, cryptography, physical security for servers, and personnel security.

Network and Internet security are focused on in the third section, with emphasis on modems and dialup security, TCP/IP networks, securing TCP and UDP services, Sun RPC, NIS, Kerberos, LDAP, NFS, and SAMBA, and finishing up with a chapter dedicated to secure programming techniques.

Day-to-day operations are the focus of the fourth section. Keeping up to date, making backups, defending accounts, using integrity checking tools, and auditing, logging, and forensics are all expanded upon in detail over five chapters.

The fifth section rounds off the main part of the book by describing how to handle security incidents. Special focus is given to discovering a break-in, protecting against programmed threats, Denial of Service Attacks (& DDoS), legal options, and a chapter on who you can trust.

The Appendixes make up the sixth and final section. Not a spot is wasted in the appendixes, which begin with a Unix security checklist, and then outline Unix processes, provide extensive links to both paper and electronic resources, and conclude with a sub-section on security organizations.

Among the topics I found most interesting were: Access Control Lists (ACL), Pluggable Authentication Modules (PAM), the section about 128-bit keys and dictionary-based passwords, connection laundering, honeypots, the false syslog example, and the example detailing a call to Microsoft's anti-piracy help line. The real-life examples scattered throughout Practical Unix & Internet Security keep the security sections from seeming overwhelming. This is one of the few books that I've found ever chapter of the appendix useful, so don't overlook them as simple reference pages.

Normally one-liners are reserved for movie discussions but for those who've already delved into Practical Unix & Internet Security here are a few of my favorite one-liners:

  • "...we do believe that making files readable and writable by everyone leads to many evil deeds." - talking about the octal mode 666.

  • "Humidity is your computer's friend." - just before static discharge kills your entire system.

  • "Beware of Key Employees." - warning against making one person so key that their departure could cause your company irreparable harm.

  • "You mean, you don't really have a copy? [of Windows 98]" - the last part of a conversation with Microsoft's Anti-Piracy line. The company which called Microsoft's was tracing some intruders who had uploaded a copy of Windows 98 to the company's web site and was using the site to peddle warez. Microsoft was just about to launch Windows 98. The example shows just how clueless some help desks can be.

There are a few spelling mistakes and grammatical flaws but not enough to take away from the bulk of the information and no glaring omissions. UUCP coverage was dumped because UUCP simply is not a practical anymore now that more advanced alternatives like sendmail exist. I started glazing over material by the middle of the NIS chapter, but it probably had more to do with the fact that I was thinking about the other 400 or so pages I had to read before I finished the main section of the book rather than the topic itself.

One of the great things about Practical Unix & Internet Security is that it is appropriate for a wide audience. There is relevant material for system administrators, security, company decision makers, even the guy sitting at the accounting terminal. Despite its massive size Practical Unix & Internet Security is entertaining enough to be read cover to cover. (It's good for the arm muscles too.) Though it is easy to read, beginners should probably reread their system manual before plunging headlong into this book. All in all Practical Unix & Internet Security continues to be one of those must-have books for any Linux user.

You can purchase Practical Unix & Internet Security from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

123 comments

  1. Unix security eh? by Anonymous Coward · · Score: -1, Offtopic

    happy fun

  2. Fp by Anonymous Coward · · Score: -1, Troll

    Is this a fp my friends? Empty fp !
    How long do I have to wait for this?
    Damn!

  3. Practical UNIX... by Anonymous Coward · · Score: 5, Funny

    The companion book seems, uh, interesting too. :)

    1. Re:Practical UNIX... by mav[LAG] · · Score: 3, Funny

      I prefer the older, more direct edition.

      --
      --- Hot Shot City is particularly good.
  4. the thing i always want to know by Transient0 · · Score: 4, Interesting

    when talking about computer books is:

    What does this book offer that I can't easily find by asking google or google groups?

    1. Re:the thing i always want to know by Dr+Caleb · · Score: 5, Insightful
      What does this book offer that I can't easily find by asking google or google groups?

      No power requirements and need to connect to the Internet. Very handy feature.

      --
      "History doesn't repeat itself, but it does rhyme." Mark Twain
    2. Re:the thing i always want to know by hether · · Score: 2, Informative

      Most of the time the answer is not a lot, but that it sometimes a lot easier/quicker to find the information you need in a book and you can bring it with you, say on a plane, to use when you don't have an internet connection. But hey, if you want to use Google for everything go right ahead.

      --

      Most people would die sooner than think; in fact, they do.
    3. Re:the thing i always want to know by SuperguyA1 · · Score: 1

      Sometimes people like to read, ph33r, offline.

      --
      "as plurdled gabbleblotchits on a lurgid bee" - Prostetnic Vogon Jeltz. (One man's humorous is another mans flamebait)
    4. Re:the thing i always want to know by Transient0 · · Score: 2, Interesting

      which is the reason I specified "computer books." Of course, I could use the internet for word definitions as well, but I'm not always at the computer when I need them, so I own a dictionary.

      Perhaps I should have been more specific and said "networking books." When the topic is Internet Security, chances are pretty good you have a network connection available to you at the time when you are asking the questions.

    5. Re:the thing i always want to know by Anonymous Coward · · Score: 0

      portability regardless of connectivity.

      most laptop batteries won't last as long as a full session on the shitter either

    6. Re:the thing i always want to know by fireboy1919 · · Score: 2, Funny

      Well, you can't use google or google groups to prop up your missing desk leg, and it won't help you reach that highest shelf to get your old physics book.

      It's also not nearly as impressive for that geek-babe you've had your eye on to catch you searching google as to catch you reading this.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
    7. Re:the thing i always want to know by Kenterlogic · · Score: 3, Insightful

      While you make a good point about the power of google (see Thomas Friedman opinion on June 29). There is always falibility in the system to uncover results that are legitimate-- though always seemingly relevant. A book, and a longwinded one at that, is only good for putting everything in one place in this situation.

      That having been said, Linux security is pretty well documented and easy to search on google. If only Windows had a bit of security, then M$ could have a book of its own as well. Sadly, Windows and security contradict one another.

      --
      The New Root Council, kickin' ass sinc
    8. Re:the thing i always want to know by budcub · · Score: 1

      Google can't help you if you don't know what to ask it.

    9. Re:the thing i always want to know by Torp · · Score: 1

      Well, a book may help when you're trying to make your computer reach google groups :)

      --
      I apologize for the lack of a signature.
    10. Re:the thing i always want to know by Creepy+Crawler · · Score: 1

      And then I can assume that things determined too dangerous for "Consumers" will be banned from google.

      One centralised Corporation makes it REAL easy to control the flow of knowledge.

      For now, it's some urban exploration and scientology. Wonder what it'll be tomorrow?

      --
    11. Re:the thing i always want to know by xanadu-xtroot.com · · Score: 3, Funny

      Sometimes people like to read, ph33r, offline.

      What's this "offline" thing you mention? I've never heard of it.

      What's their website?

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
    12. Re:the thing i always want to know by l4X · · Score: 1

      quality of information on one support outside your screen over overwhelming quantity in split up places ?

    13. Re:the thing i always want to know by kfg · · Score: 4, Funny

      What does this book offer that I can't easily find by asking google or google groups?

      A book.

      KFG

    14. Re:the thing i always want to know by KillerHamster · · Score: 2, Funny
    15. Re:the thing i always want to know by Anonymous Coward · · Score: 0

      Grandparent has "funny" written all over him. Parent has "nutsack".

      Thanks.

  5. 1000 pages by Eric+Ass+Raymond · · Score: -1, Troll
    Damn. It's an almost 1000 pages thick tome.

    Does it really take this much to secure *nix?

    1. Re:1000 pages by BoomerSooner · · Score: 3, Informative

      This book is excellent. It's the best I've read on the subject and it has surprisingly good content where you're not bored out of your mind.

      Real World Linux Security

    2. Re:1000 pages by Nermal · · Score: 1

      I second that, mostly. I've been thinking about doing a review of it here, actually.

      Basically, my only gripe about it is the case studies, which were one of the reasons that I bought it. They're all what he and his buddies did during the 70s to academic systems that they already had physical access to. Duh. Oh, that and him using a 'case study' to bitch about MCI.

      He's also the first person I've ever read advocating the use of active blocking software, though he makes a good case for his (pretty kludgey) own system.

      Anyway, yeah. It's a pretty good book. Worth reading through for any tips one might have missed, but probably not a replacement for something more thorough like the ORA guide (not that I'm assuming you suggested that).

  6. Get for just $27! by Anonymous Coward · · Score: 5, Interesting
    1. Re:Get for just $27! by Anonymous Coward · · Score: 0

      except that when you click the link it says that is not found...

    2. Re:Get for just $27! by BladeRider · · Score: 3, Informative

      Barnes & Noble have the second edition available on CD as part of the CD Networking Bookshelf package for $14. Includes the DNS and Bind book, 3rd Ed. in hardcopy.

      --
      j.
  7. viruses by K_Bomb · · Score: 1, Insightful

    one thing unix doesnt really have to worry about is viruses..

    except when the virus has a brain and the users choose weak passwords

    1. Re:viruses by Medievalist · · Score: 4, Insightful
      one thing unix doesnt really have to worry about is viruses..
      I'm not so sure.

      Since people frequently use tools like NIS, rdist, rsync/ssh, and LDAP to create single authentication domains that span multiple physical boxen, somebody could use one of the usual social engineering tricks to get root on a single box and then load a boot-sector infector into the .profile in root's home dir. Then, every time root logs in on any particular physical box, that box get the boot-sector virus loaded.

      Best that *nix sysadmins remain on guard, regardless.
    2. Re:viruses by jdludlow · · Score: 5, Funny
      boot-sector infector

      Sounds like a nerd garage band.

    3. Re:viruses by Eric+Ass+Raymond · · Score: 3, Funny

      Here I am. sitting at work listening to Husker Du, and I just realize that I wasted my youth - I never started a nerd garage band.

    4. Re:viruses by rutledjw · · Score: 1
      somebody could use one of the usual social engineering tricks to...

      Not with the facist-nazi SAs I have in my group. Root should really never be handed out. "sudo" may not be perfect, but it's a far better alternative. The only reason we give root out is for very specific servers and for limited amounts of time.

      The other thing is that your trusted server had better not be loading .profile from remote boxes anyway, certianly not for root. Even our everyday users have scripts they have to run to set up specific environment variables that need to change. If they don't change _WE_ put them in .profile.

      Examples of what would change is CATALINA_BASE if you have multiple tomcat instances running, or maybe JAVA_HOME if they're testing the latest JDK. But I want them EXPLICITLY running a script to set those variables. It helps them avoid confusion and reduces noise on my end.

      Other than that, we try to keep the environment pretty "pure".

      Remember "social engineering" only works on people with social skills! We read BOFH articles in the same way as "HOW-TO" documents! ;)

      --

      Computer Science is Applied Philosophy
    5. Re:viruses by jonadab · · Score: 1

      > Remember "social engineering" only works on people with social
      > skills! We read BOFH articles in the same way as "HOW-TO" documents!

      User: I'm having a little trouble starting up Notepad...
      BOFH: That's because we're standardising everyone on two text
      editors, to maintain consistency across the network. We
      upgraded the Windows systems from Notepad to EDLIN last
      night during overnight processing.
      User: But I don't know how to use EDLIN!
      BOFH: Whose fault is that?
      User: You said two text editors. What's the other one?
      BOFH: The Unix systems all have sed. You wouldn't believe
      the whining we got from the vim nerds and Emacs geeks,
      but they'll get over it.

      --
      Cut that out, or I will ship you to Norilsk in a box.
  8. dear alan cox by Anonymous Coward · · Score: -1, Redundant

    how come you never call me any more? we shared something special and now you just want to pretend like it never happened? i know you still remember all those nights where i pulled your body close to mine and we could feel eachother breathing in sync. i think we could be really good for each other if you could just give it a chance. please baby, don't turn your back on me.

    signed,
    a 350 lb black man serving life in prison

    1. Re:dear alan cox by Anonymous Coward · · Score: -1, Flamebait

      Alan cox wants nothing more to do with you, Scott Lockwood! You blew it!

      fag

  9. sec by XshadowstarX · · Score: 1

    I think a few new books on Windows security will be coming out soon to take advantage of the latest worms. But its the nature of the open-source community to continually test each other that ultimately leads to security excellence.

    --
    -ad105
  10. At least you have your health! by Anonymous Coward · · Score: 3, Funny

    How does one glance quickly through a 1000-page book without straining something important? ;-D

  11. even morons can eXPlain why gnu/unix is good/.. by Anonymous Coward · · Score: -1, Offtopic

    better than the whoreabull BugWear(tm) hostage scam proffered up buy the felonious kingdumb of stock markup FraUDs.

    so it should be easIE for you billyonerror fudgeheads?

    for won thing there's no sighned in bullood payper liesense .contracked. saves you billyons right away.

    you'll see the light. no matter when?

  12. I'm going to prove that mods are on crack! by Anonymous Coward · · Score: -1, Offtopic

    Later on this thread, I'm going to post a popular joke that gets 5, funny, but modified slightly to get -1, troll. If it gets modded down, then it will be PROOF that slashdot needs a new moderation system.

    1. Re:I'm going to prove that mods are on crack! by Anonymous Coward · · Score: -1, Troll

      HOW DARE you suggest that the Slashdot Mods are ANYTHING but absolutely GODS! HERACY! May your balls shrivel up and fall off, and roll down a street drain!

  13. But can we patch... by linuxislandsucks · · Score: 0, Troll

    But can we patch OpenServer(UnixWare) with it?

    Had to ask since SCO can not seem to patch OpenServer

    --
    Don't Tread on OpenSource
    1. Re:But can we patch... by packethead · · Score: 1

      OpenServer is SCO5

      UnixWare is UnixWare.

      ah, both suck anyway.

      --
      .sig
  14. UUCP by Medievalist · · Score: 5, Informative
    UUCP coverage was dumped because UUCP simply is not a practical anymore now that more advanced alternatives like sendmail exist.
    Um, I think you meant "UUCP is not necessary anymore now that PPP, NNTP and SMTP are widely supported".

    Sendmail (a program) is not an alternative to UUCP (a protocol). Even if you are talking about the UUCP software and not the protocol, the alternative is pppd, not sendmail.

    Sendmail still supports UUCP, but most distros do not enable that support, and hardly anyone uses UUCP anymore.
    1. Re:UUCP by Anonymous Coward · · Score: 0

      I agree, for the most part, that UUCP is a dead protocol. I have seen it used in enviroments that want to close off port 25 (and all ports for that matter). That is, have a external UUCP server queue the organizations mail, then have it delivered via UUCP to the end users. The users see no difference, and you no longer have to keep port 25 open. Basically, UUCP over TCP/IP. This was a while back. Wonder if you could make UUCP over TCP/IP work over a SSL tunnel ... Shouldn't be hard.

    2. Re:UUCP by Medievalist · · Score: 1

      If you really enjoy pointless configuration tasks, you can run UUCP over anything that can simulate a serial line.

      But the main selling point of UUCP was to be able to handle scheduled intermittent connections.

      This was useful before the Internet got its mojo on, when Email was delivered in batches in a fido-style bucket brigade. "This Email is for California, dial up Chicago at midnight and have them pass it on".

      Usenet also started on UUCP (yes, Usenet existed before the Internet) but migrated to NNTP over IP just as Email has migrated to SMTP over IP.

      Today, you'd use pppd, a daemon that implements the Point-to-Point protocol. PPP has compression and authentication features that UUCP lacks, but does everything else that UUCP does.

    3. Re:UUCP by philfr · · Score: 2, Interesting

      Actually, UUCP over TCP is probably the only sensible way to operate a full-featured mail server on a dynamic IP address or on an intermittent connection. Even people with dialup connections can have at home a full MTA serving multiple domains connected through UUCP to their (nice) provider. Other solutions (ETRN on SMTP, maildrop on POP3) are broken somewhere. UUCP is a generic store-and-forward protocol, supporting binary file transfer and custom commands, not only mail or news. UUCP mail transport can be easily customized, to add compression (third world countries have used that over slow dialup links), encryption, and of course it works over SSH (using the port forwarding features), SSL (with Stunnel). Even if it was designed for serial lines, its later protocol variants were optimized for TCP (full-duplex, no need for error correction...) Only people who don't know UUCP say that UUCP is obsolete. Alas, most ISPs don't know UUCP.

    4. Re:UUCP by Medievalist · · Score: 1

      I didn't say it was obsolete, I said it was unnecessary.

      Sendmail and fetchmail's queueing functions implement store-and-forward quite nicely... and in any case, I have been helping to run a full MTA (sendmail) for three domains on a dynamic IP *without* the co-operation of the (completely evil and un-nice) provider for three years now, so I have to say you're mistaken about the need for UUCP.

      Dynamic DNS is a simple solution that works fine for me and hundreds of other people with DHCP-assigned IP addresses.

      I can accomplish anything UUCP can accomplish without using UUCP. Thus, while not obsolete, it is unnecessary.

    5. Re:UUCP by philfr · · Score: 1
      The store and forward feature of UUCP is quite different to SMTP's. If your final destination host can be off-line for, say, two weeks (vacation maybe ?), and you don't want mail to be bounced back, you have to tweak the retry configuration of the relaying MTA.

      UUCP will instead consider this mail delivered once it is in an intermediate spool. I have a cable ISP that forbids me to run an SMTP server (on port 25 anyway) and changes my IP address regularly.

      Dynamic DNS allows my remote UUCP host to contact me anytime on a non-standard port of my choice, but could not allow me to run a standard SMTP server, nor to be off-line for more than a few days.

    6. Re:UUCP by Ian+Lance+Taylor · · Score: 1

      Certainly UUCP is not necessary. But for laptop users it is more convenient than something like fetchmail. It operates as a push protocol--when new mail comes in, it is immediately sent to the laptop if the laptop is on-line, otherwise it is queued until the laptop comes on-line. I've been using it this way for years.

    7. Re:UUCP by Anonymous Coward · · Score: 0

      Actually, its both a protocol and a program (or suite of programs). The old versions of the book discuss securing the programs. This is not a network security book, but a OS security book. The emphasis is on securing programs, not protocols.

    8. Re:UUCP by Medievalist · · Score: 1

      Very true. I'm not trying to start a technical definition war here, I just pointed out a bug in the original article and things rolled downhill...

      Capitalization is usually used to define which thing you're writing about: UUCP is a protocol, and uucp is a suite of programs.

      I think some implementations used the name uucpd for the daemon and uucp for the uid it ran under, but older versions ran as root and were named uucp. (Don't trust this last comment, though, it's based on my foggy recollections of using UUCP for mail delivery two decades ago.)

    9. Re:UUCP by Medievalist · · Score: 1

      That's pretty clever! But I use IMAPS, personally, because I don't like push protocols and I want to leave my mail spools on my SMTP node... where my valuable communcation is on a RAID5 device that gets backed up, and is less likely to be stolen than a laptop.

    10. Re:UUCP by Medievalist · · Score: 1

      You're still requiring a co-operative node outside the restrictions of your ISP. Using UUCP to communicate between that node and your cable node is just one way to do it.

      I'm not trying to say you shouldn't use UUCP, use whatever you want. I'm saying UUCP is no longer an indispensible part of a *nix system, because it does not perform any tasks that can't be accomplished in other ways.

      Using almost any standard linux distribution, you could probably come up with a dozen ways to do what you need - having an external friendly node makes the whole problem fairly trivial. Solving the same problem without any external assistance, now that'd be a tricky thing.

  15. Simson Garfinkel... by ravind · · Score: 5, Funny

    ...I love their music :D

    1. Re:Simson Garfinkel... by Anonymous Coward · · Score: 0

      I used to think Simon and Garfunkel were the cartoons not the singers....DOH!

  16. UNIX? and security? What an oxymoron! by Anonymous Coward · · Score: -1, Offtopic

    LOL

  17. Now there's an oxymoren if I ever saw one by Savatte · · Score: -1, Flamebait

    Practical Unix

    1. Re:Now there's an oxymoren if I ever saw one by Anonymous Coward · · Score: 0

      A funny Savatte post... now there's an oxymoron.

  18. Whats new? by Anonymous Coward · · Score: 0

    Glaring omission from the article,

    Besides UUCP, what else has changed from part 2 to part 3 of this series?

  19. this vs. Robert Slade in comp.risks by ansak · · Score: 4, Interesting

    For more book reviews, especially on computer security, watch for Robert Slade's regular contributions to comp.risks. It doesn't look as though Robert has reviewed this one yet so I'll look forward to reading and comparing. His praise for a former edition seems uncharacteristically positive -- compare reviews of Secrets of a Super Hacker or Computer Security Basics -- so I'll be surprised if he doesn't praise this one, too...

    cheers...ank

    --
    Still hoping for Gentle Treatment...
  20. is there a digital copy with the book? by phaetonic · · Score: 4, Interesting

    my newest requirement is to have the book in PDF format so I can simply search for keywords, saving time, and hassle. having the PDF on a few different computers and storing the book away after skimming through it works better than having thousands and thousands of pages take up my precious 500 sq ft. apartment

    1. Re:is there a digital copy with the book? by TCM · · Score: 1

      Yes, ed2k link please!

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:is there a digital copy with the book? by prostoalex · · Score: 3, Informative

      Not PDF, but online in html.

    3. Re:is there a digital copy with the book? by LinuxHam · · Score: 3, Informative

      Being a good IBMer, here are a couple. :) But seriously, many people tend to miss IBM's publishing arm, and never even realize that all of their books are published as freely downloadable PDF's. Granted, there's an IBM slant to most of it, but there are some really good, get-to-the-good-stuff, hands-on tasty morsels in there. In fact, this book on AIX is currently $117 at Amazon. Take the PDF to OfficeMax and get a book bound with comb binding (so it opens flat) for 1/3rd the price, and you can put the CD you burned the PDF onto inside the back cover :)

      If you [have|want] to manage large quantities of Linux servers, pay closer attention to the Linux on zSeries materials since its customary to run hundreds of virtual Linux servers at a time, and they still need to be managed. Same goes for HPC clusters. Since these books are written by different people, its neat to hear the tack they've each taken to managing large-scale communities. One book even touches on configuring a Linux virtual server on a zbox with LEAF to serve as a software firewall for the remaining machines.

      You laugh!

      --
      Intelligent Life on Earth
  21. $5.50 CHEAPER and FREE SHIPPING by Anonymous Coward · · Score: -1

    Amazon has it for $5.50 cheaper and with FREE shipping! Referral Link to the Item

    1. Re:$5.50 CHEAPER and FREE SHIPPING by Eric+Ass+Raymond · · Score: 1
      Excellent point.

      This silly "let's pretend Amazon with its cheaper prices does not exist" farce really should stop already.

    2. Re:$5.50 CHEAPER and FREE SHIPPING by Anonymous Coward · · Score: 0

      Dammit, I told you yesterday about this. Yes, Amazon has cheaper stuff. STOP POSTING REFERRAL LINKS WITHOUT SAYING THEY'RE REFERRAL LINKS. Otherwise I think you're trying to con me, and I won't use the link.

      Do you really make any money doing this? Every book review that comes along you post a damn referral link. How high are those penny stacks by now? Is it worth it?

    3. Re:$5.50 CHEAPER and FREE SHIPPING by Anonymous Coward · · Score: 0

      see the earlier posting... just for you...

  22. what by Anonymous Coward · · Score: -1

    what are you on about?

  23. and also importantly... by spamchang · · Score: 4, Insightful

    what about social engineering? or do they trust management and sysadmins to be socially mobile, compatible, and perceptive? i think humans are one of the weaker links in the security chain.

    1. Re:and also importantly... by pauly_thumbs · · Score: 0

      Social engineering? working on computers assures that I never have any human contact ever again and any chance of social engineering fails miserably! I have to try a new approach yelling into the phone "WHAT'S YOUR PASSWORD!!!!!111!!" is not working as well as it would seems --- *SIGH* alas I an not a suave slashdotter like all of the social engineers out there using up mod points and tackling "Issues"

    2. Re:and also importantly... by alansz · · Score: 1

      Actually, we did spend some time on that.

      - Alan (one of the co-authors)

  24. Hey... by blueforce · · Score: 5, Funny

    One of the great things about Practical Unix & Internet Security is that it is appropriate for a wide audience

    I resemble that remark.

    --
    If you do what you always did, you get what you always got.
    1. Re:Hey... by delorean · · Score: 1
      you forgot something:
      I resemble that remark you insensitive clod!

      --
      "You may all go to hell and I will go to Texas"
      Sen. Davy Crocket to US Congress, Nov. 1, 1835
    2. Re:Hey... by HolyCrapSCOsux · · Score: 1

      I tried reading Oreilly's Unix Power tools, I then decided to read the man page for every command in /bin. I then wiped my Linux install with a badly formatted shred command. Now I am going to try LFS. Is it appropriate for me? Hmmmm.

      --
      0xB315AA8D852DCD3F3DCA578FD2E0BF88
  25. HP-sUX still needs UUCP by Anonymous Coward · · Score: 2, Interesting

    Because the uucp uid still owns all the serial port hardware. You need UUCP so that your modems will work, even though they are not running the UUCP protocol.

    One MORE reason why HP-UX is the most GODAWFUL WORST *NIX on the FUCKING PLANET!

    1. Re:HP-sUX still needs UUCP by rifter · · Score: 2, Insightful

      Because the uucp uid still owns all the serial port hardware. You need UUCP so that your modems will work, even though they are not running the UUCP protocol.

      This is irrational. Presumably you could create any user/group you wanted and give it access to this hardware, so long as the users that the programs that need access to this hardware run as are also part of that group/that user. BUt why mess with perfection? If it works, there is no reason to change it. There is nothing magic about the name uucp. It just happens to be the name chosen by convention.

    2. Re:HP-sUX still needs UUCP by Anonymous Coward · · Score: 0
      This is irrational.
      I presume, sir, that you refer to HP-UX, in which case I agree.

      If you change the username associated with the hardware on an HP system you should say goodbye to any hope you might have of using HP's software maintenance and system administration systems.

      That, of course, means that you won't be able to easily load the "depot" patches that HP issues six months after a security hole is discovered and spread all over the Internet.
    3. Re:HP-sUX still needs UUCP by Anonymous Coward · · Score: 0

      Hit me with your clue stick!
      Hit me slow, hit me quick!

      (with apologies to Ian Dury and the Blockheads)

      I'd be interested to know why you dislike HP-UX so much. Having mainted a 600 workstation site with roughly equal numbers of Sun, HP and SGI machines, IRIX accounted for at least of the OS related issues we experienced with HP-UX and Solaris accounting for equall(y low) numbers of issues.

      You seem to have confused UUCP software with the uucp uid.

    4. Re:HP-sUX still needs UUCP by Anonymous Coward · · Score: 0
      I'd be interested to know why you dislike HP-UX so much.
      Can't speak for the previous poster, BUT:

      Because it's so antique. I mean, for chrissakes, vi pops out of insert mode if you backspace past a leading tab on a line! I think Bill Joy fixed that bug decades ago, didn't he? The HP-distributed sed, awk, grep and korn shell are all neolithic and extremely pathetic when compared to modern implementations like those of the FSF.

      And because it's so non-standard... the bdf command as one trivial example. sd for another, although I admit sd has its uses in a very large shop.

      And because it is so poorly thought out - the directory hierarchy has program binaries that are scattered everywhere, log files likewise, and the HP software does *not* follow the rules that HP themselves say apply to locations of software (specifically, what belongs in /opt, /contrib, /etc, and /usr/local)!

      And because the patches come out so incredibly slow - I think the sendmail fixes that came out last month were fixed by Allman & company nearly six months ago (it might be worse that that, actually, but anyway the patches are slow and it's extremely noticeable with their sendmail and ftp implementations).

      Because it costs too much. Why charge so much for a hardware-bound implementation of a 30-year old OS? You're already getting raped for the hardware costs, but at least there the raw performance is good.

      I have not had the (dis?)pleasure of working with IRIX, I've only adminned AIX, linux, Ultrix, and Solaris/SunOS (as well as MVS, OS/400, VMS and Novell). Please don't tell me Silly Graphics is even worse than HP, I might have an embolism.
    5. Re:HP-sUX still needs UUCP by Anonymous Coward · · Score: 0

      No, uucp uid is part of HP UUCP package and anyway fucking stupid buggy SAM chowns ports without warning when you do unrelatted stuff.

    6. Re:HP-sUX still needs UUCP by jonadab · · Score: 1

      > One MORE reason why HP-UX is the most GODAWFUL WORST *NIX

      Are you certain you don't have it confused with XENIX?

      --
      Cut that out, or I will ship you to Norilsk in a box.
  26. This sounds like something I want on my shelf... by John+Seminal · · Score: 2, Insightful

    I know that many computer users do not ever look at computer security, they just plug it in and go. At the best, some of my friends will block ports, but that is about it. They do not check logs, or anything. And how many people out there have a second PC attached by serial cable to log intrusion data? I think if more people secured their systems, then everyones security would increase because there would be less places to launch attacks from. What we need is someone at the major distros to write a program which, when executed, will secure a system. Something which is point and click "easy".

    --

    Rosco: "If brains were gunpowder, Enos couldn't blow his nose."

  27. This book is overkill for slammer/blaster by SpaFF · · Score: 2, Insightful

    With Slammer and Blaster making their way into the news it seemed like a good time to brush up on security.

    You don't need a 1000 page book on security to patch your systems against worms; you need a 1 page book on common sense.

    --
    -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s: a-- C++++ UL++++ P++ L+++ E- W++ N o-- K- w--- O- M+ V PS+ P
    1. Re:This book is overkill for slammer/blaster by Anonymous Coward · · Score: 1, Funny

      > (Score:2, Flamebait)

      Moderators on crack, film at 11.

  28. Sheesh. by Pig+Hogger · · Score: -1, Flamebait
    What the world needs is a book on WINDOWS security. Not YABOUS.

    Sheeesh!

    1. Re:Sheesh. by rifter · · Score: 1

      What the world needs is a book on WINDOWS security. Not YABOUS.

      This is the answer to your Windows security problem.

  29. Mode 666? by 1nsane0ne · · Score: -1
    "...we do believe that making files readable and writable by everyone leads to many evil deeds." - talking about the octal mode 666.

    No no no it's microsoft software that's octal mode is 666. Making things world writeable and readable would be 777.

    1. Re:Mode 666? by Anonymous Coward · · Score: 0
      777
      And executable
    2. Re:Mode 666? by Anonymous Coward · · Score: 0

      that would be read/write/executable you unfunny newbie.

    3. Re:Mode 666? by Anonymous Coward · · Score: 5, Informative

      ummmm...back to unix school for you...

      777 is rwxrwxrwx : Read, Write & Excutable for all

      666 is rw-rw-rw- : Read, Write for all

      remember octal? r=4; w=2; x=1

      r + w = 4 + 2 = 6

      rho

    4. Re:Mode 666? by ehiris · · Score: 1

      Octal is one way to learn it but considering you know how to count in binary, I find the binary way more effective.

      _u___g__o
      rwx rwx rwx = 111 111 111

      rw- rw- rw- = 110 110 110

      110 in binary is 6 in decimal.

    5. Re:Mode 666? by HR · · Score: 1

      here is the quote:

      we do believe that making files readable and writable by everyone leads to many evil deeds." - talking about the octal mode 666

      that IS 666, NOT 777. a lot of damage can be done merely by writing to config files.

    6. Re:Mode 666? by 1nsane0ne · · Score: 1

      Doh! Good call, thats what I get for thinking. Thanks for correcting me. /me runs off to slap head against wall

  30. Sounds really boring, so fuck it! by Genghis+Troll · · Score: -1, Troll
  31. $5.50 CHEAPER and FREE SHIPPING by Anonymous Coward · · Score: -1, Redundant
  32. A suggestion to maintain the 'net experience by Anonymous Coward · · Score: 0

    Get a yellow sticky note that says RTFM, Newb! and move it to whatever page you're reading, obscuring the info you need. It may help to maintain your comfort level with the online *nix help experience. :)

  33. Sample Chapters by Anonymous Coward · · Score: 5, Informative

    Sample chapters of the book can be found here and here. I read this first one (the one on TCP/IP) and found that it was an excellent introducation to it. The other is on "secure programming techniques." Gotta read that.

  34. Here's my book by LittleLebowskiUrbanA · · Score: 1

    Using thisduring my install of an OpenBSD firewall taught me a quite a bit.

  35. When will Cliff Notes be available? by djeaux · · Score: 0
    The sysadmins are known in our organization as the "illiterati". What we are not sure about is whether it's can't read or won't read, but we know for sure they don't read...

    I thought about audio books, but the sysadmins don't listen, either. <SIGH^2>

    To the topic: All the manuals in the world, no matter how thorough & thoughtfully written, are of no use if the people who need to read them are busier worrying about their golf game. And the doubly sad thing, is that these guys "know it all" & therefore don't think they need any "practical" manuals.

    --
    "Obviously, I'm not an IBM computer any more than I'm an ashtray" (Bob Dylan)
    1. Re:When will Cliff Notes be available? by kfuq · · Score: 1

      vcd/svcd/dvd ?

      --
      iF yOu WAnT to C YOUr iP agaIn gAThEr tWO MilLIon dOLLArS IN Non - cONsEcuTivE TweNtY's AnD AWaiT FuRThER iNstrUctIoN
  36. Funny true story... by twoslice · · Score: -1, Offtopic

    I know a little OT but I just recently dusted off an old Windoze security book I had hanging around (when I was young and foolish). The funny thing was that when I opened it up I found that some real worms had been eating the pages....

    --

    From excellent karma to terible karma with a single +5 funny post...
    1. Re:Funny true story... by Anonymous Coward · · Score: 0

      That story was neither funny nor true.

      It was, however, gay and offtopic.

      Please be more careful in the future.

    2. Re:Funny true story... by Anonymous Coward · · Score: 0

      I'll send you the eaten pages.

  37. Practical Unix Security? by _Sharp'r_ · · Score: 0, Offtopic

    Sounds practical, alright.

    Now if I could only find a good off-shore haven...

    --
    The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
  38. I POOPED A BIG TURD AND GOT A BONER by JismTroll · · Score: -1

    A full grown stallion's cock, when fully erect, will measure some two to
    three feet long. It can be three to six inches thick at the base, to about
    two inches thick at the head. Horses are somewhat different from other
    animals in the way their cock head works. When a horse is fully erect and
    excited and ready to mount, his cock head is somewhat pointed and not as
    thick as might be normally observed. This is to facillatate an easier
    entry into the mare. After the horse has entered and reaches a climax the
    head swells (though it is more spongy then hard) into a fist sized mass as
    he ejacultates. It is thought that this serves as a plug to force the
    semen deep into the mare rather then allowing it to leak out. A full grown
    stallion can ejaculate about one cup ( 8 ounces ) of semen. It will take
    quite a few spurts to accomplish this. Each time his tail will raise and
    lower in a brief flick. The first few jets are of a thin to average
    consistency of cum. The final few jets are of a thick gelatinous
    substance... it is thought that this serves to "seal" the mares pussy so
    that the semen has time to do it's thing before leaking out. Horse semen
    is extremely viscous, if you touch your finger to a pool of it you can draw
    a thin string of it five to six feet long! Horse cum has a nice flat taste
    to it...not at all bitter like man's cum. You can easily drink cups of it
    with no discomfort.

    The Mare - how to do it.

    Mares can be quite satisfactory for the average well endowed male. If you
    are somewhat less developed you might find better pleasure with a pony or
    Miniature Horse. These are also better as they are lower to the ground. A
    pony you can fuck standing up. A miniature horse on your knees or
    squatting depending on the size. A mare will require something to stand on
    or "platform shoes"...(IE mini stilts to raise you a foot off the ground)
    so that you can reach her pussy.
    Fucking any horse will depend on the horse. Some will be ready right
    away...some will take coaxing. Pet the animal, talk to it softly, spend
    time with it gaining it's trust. If something you are doing upsets it then
    don't force it. Talk to it and calm it. If you work slowly you can make
    an animal accept anything. It is just a question of helping it overcome
    it's fears. All animals fear man if raised in the wild. How any animal
    reacts will depend on it's own experiences. If you haved raised the animal
    yourself in a loving enviroment, then you should have no problem
    associating with it, if it is a strange animal that you have met in the
    wild then you will have to go through an extended "courtship" to learn how
    to respond to the beast.

    MARES - TRAINING YOUR OWN

    When the filly reaches weaning age, seperate her from her dam. If you have
    limited time to spend then she should be put to pasture. If you have
    plenty of time then you should keep her in a stall. Spend time with her
    during the day petting and grooming her and allow her some time to run
    free. Limit her access to other horses though and see that she spends at
    least 8-12 hours a day in the stall. (Start with more free time and as she
    approaches her first birthday confine her more...she is now at the right
    age and her confinement will have made her so bored that she is amenable to
    any new experience so long as it is not unpleasant)Young fillys have no
    objection to someone playing with their pussy's. I have walked up on a pen
    full of strange fillys at night and they came right up to me and I petted
    them and felt up their pussys and they just lifted their tales and seemed
    to enjoy it. These fillys didn't even know me but they were young,
    inexperienced and bored...also since they were penned they were used to the
    presence of people and did not fear me. Most horses in a large pasture
    will run when they scent a strange human in their pasture at night.
    If you sit on the ground and wait patiently, they will get downwind of you
    an

  39. Passwords are a bad idea by Anonymous Coward · · Score: 0

    Passwords are security through obscurity. Passwords are good only when they are sufficiently random -- and humans can't create or memorize true random passwords. Passwords can also be stolen by watching somebody's fingers.

    True security can't depend on humans entering passwords. We need physical keys that can do challenge-response. After all, it's physical keys that get you in the building and in the server room.

    1. Re:Passwords are a bad idea by duffbeer703 · · Score: 1

      Keys are also security by obscurity.

      The only secure system is an open system that allows the public to find out what is going on. The open source bazaar will take care of the rest.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
  40. Re:This sounds like something I want on my shelf.. by stratjakt · · Score: -1, Flamebait

    Checking logs is for "administrators" and IT guys, the PHBs of the tech industry.

    You know, people who say things like:
    What we need is someone at the major distros to write a program which, when executed, will secure a system. Something which is point and click "easy".

    If it were so simple, don't you think someone would have done so? What's "secure" to you?

    And I'm a programmer, I only check logs when something's broken.

    You go ahead and make 'securing your box' a full time job. I have things to do, and would rather deal with it after the fact.

    To me, security is a sound backup and restoration plan, and not keeping all of my personal info in a file called "my banking stuff.doc"

    --
    I don't need no instructions to know how to rock!!!!
  41. Good Companion Reading... by Anonymous Coward · · Score: 0

    While this book does an excellent job in detailing how to implement a solid security environment, it falls short of providing how to test the security of an environment.

    There is an open source project methodology that would be a great additional read for the purpose of testing the security of your environment. Go check out the Open Source Security Testing Methodology Manual (OSSTMM). They just released the 2.1 version of it as described here.

  42. Re:This sounds like something I want on my shelf.. by John+Seminal · · Score: 1
    To me, security is a sound backup and restoration plan, and not keeping all of my personal info in a file called "my banking stuff.doc"

    You must not have met my parents, or many people who are not that computer literate. To many, many people a computer is just a tool they use to make life easier. It should not be a full time job to administer.

    The problem is with all the hackers, port sniffers, crackers, and the like. I want to see some harsh penalties which send people to jail just for looking.

    --

    Rosco: "If brains were gunpowder, Enos couldn't blow his nose."

  43. 1000 page? by pixelgeek · · Score: 1

    Why can't book publishers provide these tomes in multiple volumes so you don't have to break your wrists trying to read through the book?

    My RSI is bad enough as it is.

    A book like this borders on being unreadable because of its size. And its especially irritating to have to man-handle the book if you just want to look at the material in a single section or chapter.

    1. Re:1000 page? by Anonymous Coward · · Score: 0

      Hmmm... I never seem to have that problem. I think it might be because I'm not an asshole.

      It also helps that I get to buy the book all at once, rather than in serveral pieces that would probably each cost about the same as the whole book does now.

  44. good book for beginners by stonebeat.org · · Score: 1

    After reading the sample chapter @ oreilly, it seems like a good book fo beginners. I if you have involved in sysadmin/sys security, this book might be too basic for you. Just my thoughts.
    www.xml-dev.com

    1. Re:good book for beginners by LinuxHam · · Score: 3, Interesting

      Yes, an older edition of this book did help me back when I was a beginner. But, its also one of the books that taught me that by the time something is in print, it's already out of date.

      I learned all the great stuff about TCP Wrappers and how it was revolutionizing inetd. When I went to my Slackware box to try to implement, it was already done! Same for shadow passwords. Its funny in that, even being a 7 year user and an RHCE, it still seems like commercial UNIX was in the dark ages until the early 90's just based on those two features alone. Not to say MS was any better (my god no), but to require applications to have root privs to bind to a low port and have world-readable password hashes just seems like something from a million years ago. Different times, those were.

      I *still* have to instruct local UNIX pros on the virtues of ssh over telnet. If the X forwarding over ssh doesn't sell them on it, password collectors like ettercap will, every time ;)

      --
      Intelligent Life on Earth
    2. Re:good book for beginners by swordgeek · · Score: 1

      Well thank you for judging the depth of the book based on one sample chapter.

      Seriously, the chapter given (11), was more of a prelude and background to chapter 12, which is securing TCP and UDP services. Don't be too misled.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  45. Celebrity Endorsement by beowulf_26 · · Score: 1

    FYI, Fyodor of nmap fame endorsed this book in his earlier (and quite thorough) slashdot interview.

    If it's good enough for him, it's good enough for me. That spurred me to read it, and I've found it to be quite an interesting read. It also has a good history section, detailing the "family-tree" of all the unices.

    --

    --I hate big sigs.
  46. Second opinion(s) by Music+of+the+Spheres · · Score: 1

    I have this book. It's very good. What I would be interested in are any comments from any old hands at UNIX security who also have it and noticed anything wrong with or ommited from it. For myself, a UNIX developer with average network experience, I'd like to learn what flaws there are that I can't see.

    1. Re:Second opinion(s) by alansz · · Score: 1

      I'm a co-author of this book, and I can tell you two things that were omitted. We don't spend a lot of time on web application security, because the other ORA book, Web Security, Privacy, and Commerce focuses exclusively on that. And we don't do much about 802.11 wireless security beyond noting that WEP isn't enough, because again, there's a whole book on this and the field is changing very quickly.

      Of course, I still think it's a great book, but that's to be expected. :)

  47. Sounds silly... by cnelzie · · Score: 1

    While I have thought of setting up such a configuration for regular user authentication, I had always just 'felt' that I shouldn't do that with the root accounts on the various machines under my control.

    I never have known why I felt that way, just that it is something that didn't seem right to me. So, when I do get that all slapped together on the network I am running, I will make certain to work it in such a way as to keep root out of the chain.

    I already use a different root password on every server on the network, even though I synchronize the passwd files for the user passwords to remain the same across the systems.

    --
    If you ignore the other uses of a tool, does that make the tool less useful, or you less useful?
  48. Almost considered buying this book by WebMasterJoe · · Score: 0, Offtopic

    I almost considered buying this book, but then I remembered that season 3 of The Simpsons just came out today. Guess I won't be reading for a while... :) And the DVD set comes with a bottle opener. Guess I'm going to be drinking tonight... :)

    --
    I really hate signatures, but go to my website.
  49. Or get it for just $21.47 used... by Saeger · · Score: 1
    ...from Amazon, thanks to AddAll.com's price comparison.

    Froogle isn't anywhere near as good as addall.com for books, or pricegrabber.com & pricewatch.com for tech.

    --

    --
    Power to the Peaceful
  50. Re:This sounds like something I want on my shelf.. by stratjakt · · Score: 1

    Unless your parents are exceptionally stupid, and I mean helmet and drool cup stupid, I'm sure they can comprehend the principles of "make two copies of important stuff in case your computer breaks".

    --
    I don't need no instructions to know how to rock!!!!
  51. Or save some bucks by ordering from Bookpool by hrath · · Score: 1

    Price at BN: $43.96, price at http://www.bookpool.com : $33.50 and possible free shipping if you order more than $40.

    Disclaimer: I'm not affiliated with Bookpool and receive no kickbacks. I've been a happy customer with BP and just don't like to pay too much for books.

    regards,

    Heiko