Chapter 3. User and Permission Management

This chapter contains the following recipes:

  • Escalating privileges with sudo
  • Enforcing password restrictions
  • Setting default permissions for new files and directories
  • Running binaries as a different user
  • Working with SELinux for greater security

Introduction

Each of the recipes in this chapter pertain to users and permissions. You'll learn how to let users temporarily escalate their privileges without requiring the root password and how to enforce complexity requirements for users. You'll also learn how to specify what access permissions are given to new files and directories by default and how the traditional Unix permission system can allow a program to run under a different security context than that of the ...

Get CentOS 7 Server Deployment Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.