How to Install and Uninstall nss_wrapper.x86_64 Package on Amazon Linux 2

Last updated: May 16,2024

1. Install "nss_wrapper.x86_64" package

Please follow the guidelines below to install nss_wrapper.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install nss_wrapper.x86_64

2. Uninstall "nss_wrapper.x86_64" package

Please follow the guidance below to uninstall nss_wrapper.x86_64 on Amazon Linux 2:

$ sudo yum remove nss_wrapper.x86_64 $ sudo yum autoremove

3. Information about the nss_wrapper.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : nss_wrapper
Arch : x86_64
Version : 1.0.3
Release : 1.amzn2.0.2
Size : 31 k
Repo : amzn2-core/2/x86_64
Summary : A wrapper for the user, group and hosts NSS API
URL : http://cwrap.org/
License : BSD
Description : There are projects which provide daemons needing 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 file. With nss_wrapper it is possible to define your own
: passwd and groups file 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 doesn't have a devel package cause this project is
: for development/testing.