Search  for anything...

Mastering Linux Security and Hardening - Third Edition: A practical guide to protecting your Linux system from cyber attacks

  • Based on 66 reviews
Condition: New
Checking for product changes
$40.49 Why this price?
Save $9.50 was $49.99

Buy Now, Pay Later


As low as $10 / mo
  • – 4-month term
  • – No impact on credit
  • – Instant approval decision
  • – Secure and straightforward checkout

Ready to go? Add this product to your cart and select a plan during checkout. Payment plans are offered through our trusted finance partners Klarna, PayTomorrow, Affirm, Afterpay, Apple Pay, and PayPal. No-credit-needed leasing options through Acima may also be available at checkout.

Learn more about financing & leasing here.

Free shipping on this product

Eligible for Return, Refund or Replacement within 30 days of receipt

To qualify for a full refund, items must be returned in their original, unused condition. If an item is returned in a used, damaged, or materially different state, you may be granted a partial refund.

To initiate a return, please visit our Returns Center.

View our full returns policy here.


Availability: In Stock.
Fulfilled by Amazon

Arrives Sunday, Feb 9
Order within 18 hours and 8 minutes
Available payment plans shown during checkout

Description

Gain a firm practical understanding of how to secure your Linux system from intruders, malware attacks, and other cyber threats Key Features: Discover security techniques to prevent malware from infecting a Linux system, and detect itPrevent unauthorized people from breaking into a Linux systemProtect important and sensitive data from being revealed to unauthorized persons Book Description: The third edition of Mastering Linux Security and Hardening is an updated, comprehensive introduction to implementing the latest Linux security measures, using the latest versions of Ubuntu and AlmaLinux. In this new edition, you will learn how to set up a practice lab, create user accounts with appropriate privilege levels, protect sensitive data with permissions settings and encryption, and configure a firewall with the newest firewall technologies. You'll also explore how to use sudo to set up administrative accounts with only the privileges required to do a specific job, and you'll get a peek at the new sudo features that have been added over the past couple of years. You'll also see updated information on how to set up a local certificate authority for both Ubuntu and AlmaLinux, as well as how to automate system auditing. Other important skills that you'll learn include how to automatically harden systems with OpenSCAP, audit systems with auditd, harden the Linux kernel configuration, protect your systems from malware, and perform vulnerability scans of your systems. As a bonus, you'll see how to use Security Onion to set up an Intrusion Detection System. By the end of this new edition, you will confidently be able to set up a Linux server that will be secure and harder for malicious actors to compromise. What You Will Learn: Prevent malicious actors from compromising a production Linux systemLeverage additional features and capabilities of Linux in this new versionUse locked- down home directories and strong passwords to create user accountsPrevent unauthorized people from breaking into a Linux systemConfigure file and directory permissions to protect sensitive dataHarden the Secure Shell service in order to prevent break-ins and data lossApply security templates and set up auditing Who this book is for: This book is for Linux administrators, system administrators, and network engineers interested in securing moderate to complex Linux environments. Security consultants looking to enhance their Linux security skills will also find this book useful. Working experience with the Linux command line and package management is necessary to understand the concepts covered in this book. Read more

Publisher ‏ : ‎ Packt Publishing; 3rd ed. edition (February 28, 2023)


Language ‏ : ‎ English


Paperback ‏ : ‎ 618 pages


ISBN-10 ‏ : ‎ 1837630518


ISBN-13 ‏ : ‎ 16


Item Weight ‏ : ‎ 2.33 pounds


Dimensions ‏ : ‎ 9.25 x 7.52 x 1.28 inches


Best Sellers Rank: #65,018 in Books (See Top 100 in Books) #5 in Linux Programming #10 in Linux Networking & System Administration #41 in Computer Network Security


#5 in Linux Programming:


#10 in Linux Networking & System Administration:


Frequently asked questions

If you place your order now, the estimated arrival date for this product is: Sunday, Feb 9

Yes, absolutely! You may return this product for a full refund within 30 days of receiving it.

To initiate a return, please visit our Returns Center.

View our full returns policy here.

  • Klarna Financing
  • Affirm Pay in 4
  • Affirm Financing
  • Afterpay Financing
  • PayTomorrow Financing
  • Financing through Apple Pay
Leasing options through Acima may also be available during checkout.

Learn more about financing & leasing here.

Top Amazon Reviews


  • Essential read for any Linux admin
Our company makes us take the Security+ exam which is a total joke. Would be much better to just have everyone read this book. One of the two or three best Linux books out there. Well written and full of very useful information.
Reviewed in the United States on April 30, 2024 by Robert J. Nagel

  • Must have rerference and guide point.
I have purchased quite a few too many books over the years online after reading reviews and often find out the content is shallow and lacking any depth for a technical volume. I have a back ground of ~7yrs in Security Engineering spaning many domains- I found this book an excellent "read" and phenomenal reference resource. You can absolutely tell the author, Donald, is a true engineer at heart when making follow up comments after a few sections saying "You can do xyz, heres how to do it; though it probably wont mean much if you do". I audibly laughed a few times having been in similar situations knowing Donald most definitely had huge smirk when writing that down. A good portion of the content in the book was known to me and yet I still found I was learning and considering some of my strategies in place presently for tackling issues. I really couldn't recommend this book more to anyone- while it considers you know some intermediate concepts it provides approachable and relatable use cases which are easily replicated or modified. ... show more
Reviewed in the United States on November 26, 2023 by Malware

  • Exceptional value derived within the first 10 minutes of this book's arrival
I've read a TON of networking and Linux books, and this is the first time in a long time that a book has delivered value during the first quick-contents-scan I do upon receipt. Not only did I find two "winners" that I will immediately apply to a customer's network, I understood everything I read immediately - no going back to re-read anything. This book does not suffer from the typical "disarray" that other packt publisher titles suffer from - whether due to multiple authors' disjoint writing styles, or hastily-assembled contents cutting too wide a swath of the technology it purports to cover. This book suffers from neither of those two concerns. The singular author has issued this third edition of his work, and it is coherent and singularly-voiced - with humor and obvious knowledge from which he writes. I am impressed with this book, the author and editor(s) behind it. It is definitely well worth the investment! ... show more
Reviewed in the United States on August 1, 2023 by sipy

  • Really Good
This is the kind of stuff I would like to see as a college course. Of course I'd also like it to be taught by a teacher with real life experience
Reviewed in the United States on May 27, 2023 by Kindle

  • Everything is in there but Secure Boot info
Information about Secure Boot keys and signing your bootloaders is missing from this book. Other than that it is very educational.
Reviewed in the United States on March 11, 2024 by Jeff Childers

  • Strong foundational concepts and knowledge on securing Linux
A wealth of knowledge that dives into Linux Security. A great resource and detailed guide.
Reviewed in the United States on November 30, 2023 by Kindle Customer

  • Great book!
Donald Tevault's latest book, "Mastering Linux Security and Hardening, Third Edition," published by Packt Publishing, addresses Linux Security concerns head-on. Aimed at Linux system and security administrators, the book offers clear and comprehensive insights into enhancing the security of Linux systems. While it may not be suitable for beginners, it's a valuable resource for those looking to deepen their expertise. The book covers a wide range of topics, from firewall management with ip- and nftables to encryption techniques using GPG, OpenSSL, and PKI. Access control and other crucial security aspects are also thoroughly explored. What sets this book apart is its practical approach, with step-by-step instructions and valuable insights that extend beyond the basics. This book serves as an essential reference for improving your Linux system's security posture. Whether you're a seasoned professional or just starting to explore the world of Linux, this book provides valuable knowledge that can help you navigate the evolving cybersecurity landscape. In an age where cyber threats continue to evolve, having reliable resources like this book can make a significant difference in protecting critical systems and data. I highly recommend adding it to your library as a valuable asset in your ongoing journey to bolster cybersecurity defenses. ... show more
Reviewed in the United States on September 22, 2023 by Paul

  • Well Written and Informative
While I do believe that Linux is a more secure platform over all compared to Windows, that does not mean it is impervious to malware or other types of cyber attacks. Just a cursory glance at the website CVE Details will display a fair number of vulnerabilities that score 7.0 and higher for Linux, while a recent Office of Information Security TLP report on the BlackCat ransomware will show that Debian and Ubuntu operating systems are susceptible along with most Windows operating systems, both server and desktop. This is where Donald A. Tevault's latest book, "Mastering Linux Security and Hardening, 3E" from Packt Publishing comes in. This book is aimed at Linux system and security administrators. The text is clearly written, with good explanations of the topics at hand and how-to's scattered throughout each chapter to help drive the points home. It is not a beginners book. If you are just starting your foray into the Linux world, I would suggest reading one of the Ghori or van Vugt books that cover the RHCSA exam. If your work or interests lie more in the Ubuntu/Debian side of Linux, I recommend the excellent "Mastering Ubuntu Server, 4E" from Jay LaCroix also by Packt Publishing. Working through the projects in Jay's book while also following his youtube channel can't help but create a solid foundation. Tevault's book starts where the previously mentioned books stop. Where the RHCSA books give you seven pages that cover the journald firewall (more than enough info for the exam), Trevaualt gives you five times that just to cover ip- and nftables and then follows that with another chapter that covers journald and Ubuntu's ufw firewalls. A chapter on encryption covers the use of GPG for email confidentiality and integrity, encrypting partitions or whole disks, and working with the OpenSSL library and the PKI. On more than one occasion I have been asked in cybersecurity interviews to discuss what I know about encryption, so this section I find very helpful. What I learned in the Access Contol chapters, I never would have thought to google for investigation. I learned something new from every chapter. "Mastering Linux Security and Hardening, 3E" sparked many idea's for me on improving my configuration scripts and simpler bash one-offs. I could see using it to update old knowledge base articles. The book also proved quite helpful in providing additional details for common subjects which I thought I knew well. We have all seen the one-star reviews on Amazon with the rant "this all can be found for free online". Not if you don't know what it is you don't know, and this book helps to alleviate that problem. Buy this book, and keep it within arm's reach. It is that good. ... show more
Reviewed in the United States on February 28, 2023 by Vic Malone

Can't find a product?

Find it on Amazon first, then paste the link below.