How To Install Semanage?

How To Install Semanage?

semanage

SELinux core policy utilities (Python utilities)

Maintainer: Debian SELinux maintainers



Section: utils

Install semanage

  • Debian apt-get install policycoreutils-python-utils Click to copy
  • Ubuntu apt-get install policycoreutils-python-utils Click to copy
  • Kali Linux apt-get install policycoreutils-python-utils Click to copy
  • CentOS yum install policycoreutils-python Click to copy
  • Fedora dnf install policycoreutils-python-utils Click to copy
  • Raspbian apt-get install policycoreutils-python-utils Click to copy

policycoreutils-python-utils

SELinux core policy utilities (Python utilities)

Security-enhanced Linux is a patch of the Linuxu00ae kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcementu00ae, Role-based Access Control, and Multi-level Security. This package contains the policycoreutils written in Python like semanage, audit2why, audit2allow or chcat.

policycoreutils

SELinux core policy utilities

Security-enhanced Linux is a patch of the Linux? kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement?, Role-based Access Control, and Multi-level Security. This package contains the core policy utilities that are required for basic operation of an SELinux system. These utilities include load_policy to load policies, setfiles to label filesystems, newrole to switch roles, run_init to run /etc/init.d scripts in the proper context, and restorecond to restore contexts of files that often get the wrong context. It also includes the mcstransd to map a maching readable sensitivity label to a human readable form. The sensitivity label is comprised of a sensitivity level (always s0 for MCS and anything from s0 to s15 for MLS) and a set of categories. A ranged sensitivity label will have a low level and a high level where the high level will dominate the low level. Categories are numbered from c0 to c1023. Names such as s0 and c1023 and not easily readable by humans, so mcstransd translated them to human readable labels such as SystemLow and SystemHigh.

policycoreutils-python

The policycoreutils-python package contains the management tools

use to manage an SELinux environment.

To install the latest version of semanage in your favorite operating system just copy the semanage installation command from above and paste it into terminal. It will download and install the latest version of semanage 2024 package in your OS.