How to Install and Uninstall nss_wrapper Package on openSUSE Leap
Last updated: November 23,2024
1. Install "nss_wrapper" package
Please follow the guidance below to install nss_wrapper on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
nss_wrapper
Copied
2. Uninstall "nss_wrapper" package
Please follow the step by step instructions below to uninstall nss_wrapper on openSUSE Leap:
$
sudo zypper remove
nss_wrapper
Copied
3. Information about the nss_wrapper package on openSUSE Leap
Information for package nss_wrapper:
------------------------------------
Repository : Main Repository
Name : nss_wrapper
Version : 1.1.3-1.28
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 58.4 KiB
Installed : No
Status : not installed
Source package : nss_wrapper-1.1.3-1.28.src
Upstream URL : http://cwrap.org/
Summary : A wrapper for the user, group and hosts NSS API
Description :
There are projects which provide daemons that need to be able to create, modify
and delete Unix users, or just switch user IDs to interact with the system, e.g.
a user space file server. To be able to test that, you need the privilege to
modify the passwd and groups files. With nss_wrapper, it is possible to define
your own passwd and groups files which will be used by software to act correctly
while under test.
If you have a client and server under test, they normally use functions to
resolve network names to addresses (DNS) or vice versa. The nss_wrappers allow
you to create a hosts file to setup name resolution for the addresses you use
with socket_wrapper.
To use it, set the following environment variables:
LD_PRELOAD=libuid_wrapper.so
NSS_WRAPPER_PASSWD=/path/to/passwd
NSS_WRAPPER_GROUP=/path/to/group
NSS_WRAPPER_HOSTS=/path/to/host
This package does not have a devel package, because this project is for
development/testing.
------------------------------------
Repository : Main Repository
Name : nss_wrapper
Version : 1.1.3-1.28
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 58.4 KiB
Installed : No
Status : not installed
Source package : nss_wrapper-1.1.3-1.28.src
Upstream URL : http://cwrap.org/
Summary : A wrapper for the user, group and hosts NSS API
Description :
There are projects which provide daemons that need to be able to create, modify
and delete Unix users, or just switch user IDs to interact with the system, e.g.
a user space file server. To be able to test that, you need the privilege to
modify the passwd and groups files. With nss_wrapper, it is possible to define
your own passwd and groups files which will be used by software to act correctly
while under test.
If you have a client and server under test, they normally use functions to
resolve network names to addresses (DNS) or vice versa. The nss_wrappers allow
you to create a hosts file to setup name resolution for the addresses you use
with socket_wrapper.
To use it, set the following environment variables:
LD_PRELOAD=libuid_wrapper.so
NSS_WRAPPER_PASSWD=/path/to/passwd
NSS_WRAPPER_GROUP=/path/to/group
NSS_WRAPPER_HOSTS=/path/to/host
This package does not have a devel package, because this project is for
development/testing.