Book Image

SELinux Cookbook

By : Sven Vermeulen
Book Image

SELinux Cookbook

By: Sven Vermeulen

Overview of this book

Table of Contents (17 chapters)
SELinux Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Setting Up Separate Roles

In this chapter, we will cover the following topics:

  • Managing SELinux users

  • Mapping Linux users to SELinux users

  • Running commands in a specified role with sudo

  • Running commands in a specified role with runcon

  • Switching roles

  • Creating a new role

  • Initial role based on entry

  • Defining role transitions

  • Looking into access privileges