How to Install and Uninstall newrole Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 29,2024

1. Install "newrole" package

This tutorial shows how to install newrole on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install newrole

2. Uninstall "newrole" package

This is a short guide on how to uninstall newrole on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove newrole $ sudo apt autoclean && sudo apt autoremove

3. Information about the newrole package on Ubuntu 21.10 (Impish Indri)

Package: newrole
Architecture: amd64
Version: 3.1-3
Priority: extra
Section: universe/utils
Source: policycoreutils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian SELinux maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119
Depends: libcap2-bin, policycoreutils (= 3.1-3), libaudit1 (>= 1:2.2.1), libc6 (>= 2.15), libcap-ng0 (>= 0.7.9), libpam0g (>= 0.99.7.1), libselinux1 (>= 3.1)
Breaks: policycoreutils (<< 2.4)
Replaces: policycoreutils (<< 2.4)
Filename: pool/universe/p/policycoreutils/newrole_3.1-3_amd64.deb
Size: 23872
MD5sum: 37b5520d54032aa79b2db696eefdaef3
SHA1: c2c4d5877d26600342e6d61219364f631ac31d6d
SHA256: 03325fc0c717bf97016d846f06b30f60c39c65c5e70097ef5f0aaa6d637fcb48
SHA512: a2e3fdfbd22427610edd45bde589b12f6f41eab3080fa0f1baf8e5527911a6f8af024d4a29fd8c4155856e36fee110d9e488cdf16785d2db687e5ccba3080372
Homepage: https://selinuxproject.org
Description-en: SELinux core policy utilities (newrole application for RBAC/MLS)
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.
.
RBAC/MLS policy machines require newrole as a way of changing the role or
level of a logged in user.
.
This package contains newrole to switch roles, run_init to run /etc/init.d
scripts in the proper context.
Description-md5: 2bc7c38448c1271bb1b11fcd9d04a91b