How to Install and Uninstall priv_wrapper Package on openSUSE Leap

Last updated: June 16,2024

1. Install "priv_wrapper" package

This tutorial shows how to install priv_wrapper on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install priv_wrapper

2. Uninstall "priv_wrapper" package

This guide covers the steps necessary to uninstall priv_wrapper on openSUSE Leap:

$ sudo zypper remove priv_wrapper

3. Information about the priv_wrapper package on openSUSE Leap

Information for package priv_wrapper:
-------------------------------------
Repository : Main Repository
Name : priv_wrapper
Version : 1.0.1-bp155.1.5
Arch : x86_64
Vendor : openSUSE
Installed Size : 47.0 KiB
Installed : No
Status : not installed
Source package : priv_wrapper-1.0.1-bp155.1.5.src
Upstream URL : https://cwrap.org/
Summary : A library to disable resource limits and other privilege dropping
Description :
priv_wrapper aims to help running processes which are dropping privileges or are
restricting resources in test environments.
It can disable chroot, prctl, pledge and setrlmit system calls. A disabled call always
succeeds (i.e. returns 0) and does nothing.
The system call pledge exists only on OpenBSD.
To use it, set the following environment variables:
LD_PRELOAD=libpriv_wrapper.so
PRIV_WRAPPER_CHROOT_DISABLE=1
This package does not have a devel package, because this project is for
development/testing.