Information about the package, nss_wrapper, which is shipped with common Linux distributions. The nss_wrapper package is designed for, A wrapper for the user, group and hosts NSS API.
Package Name:
nss_wrapper
Summary:
A wrapper for the user, group and hosts NSS API
URL:
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.
Architecture:
x86_64
Version:
1.0.3
Release:
2.el6
Size:
29 k
Repository:
epel
From Repository:
Licence:
BSD
Control the nss_wrapper package with the following handy commands outlined below.
yum install nss_wrapper
This command will install nss_wrapper on the server.
yum remove nss_wrapper
This command will un-install nss_wrapper on the server. When you run this command, you will be asked if you are sure that you want to remove nss_wrapper, so you have to manually confirm that you want to do this.
yum -y remove nss_wrapper
This command will un-install nss_wrapper on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nss_wrapper when using the -y flag.
yum update nss_wrapper
This command will update nss_wrapper to the latest version. When you run this command, you will be asked if you are sure that you want to remove nss_wrapper, so you have to manually confirm that you want to do this.
yum -y update nss_wrapper
This command will update nss_wrapper to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nss_wrapper when using the -y flag.
yum info nss_wrapper
This command will show you core information about the nss_wrapper package.
yum deplist nss_wrapper
This command will show you the dependencies for nss_wrapper. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update nss_wrapper
This command will check if there is an update waiting on nss_wrapper. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.