Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Puppet Security
  • Table Of Contents Toc
Learning Puppet Security

Learning Puppet Security

By : Jason Slagle
4 (3)
close
close
Learning Puppet Security

Learning Puppet Security

4 (3)
By: Jason Slagle

Overview of this book

If you are a security professional whose workload is increasing, or a Puppet professional looking to increase your knowledge of security, or even an experienced systems administrator, then this book is for you. This book will take you to the next level of security automation using Puppet. The book requires no prior knowledge of Puppet to get started.
Table of Contents (12 chapters)
close
close
11
Index

The saz/sudo module


The next module on our module examination journey is the saz/sudo module. This module presents a great methodology to manage the sudoers file. It is actually used by a large number of other modules for sudoers file management.

The module itself is fairly simple, so this section will be short as we go over it.

The sudo module manages all aspects of your sudoers configuration, which can catch some people by surprise. The module has options to leave the system configuration alone, as well as not purging unmanaged sudoers entries. The recommended path is to manage all the sudoer resources; however, the options are there if needed.

To install the sudoers module, we'll issue the following command:

sudo puppet module install saz-sudo

We'll now create a few simple rules. But, before we do so, we need to take a look at the /etc/sudoers file. If you look at it, at the very bottom, you'll see an entry for Vagrant. We must make sure we preserve this entry or we will cause Vagrant to...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Puppet Security
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon