Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37047233
en ru br
ALT Linux repos
S:1.1.15-alt2

Group :: Development/Other
RPM: nss_wrapper

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 1.1.15-alt2
Build date: 24 march 2023, 01:37 ( 53.1 weeks ago )
Size: 58.93 Kb

Home page:   https://cwrap.org/

License: BSD
Summary: A wrapper for the user, group and hosts NSS API
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.

Current maintainer: Evgeny Sinelnikov

List of contributors

List of rpms provided by this srpm:

  • nss_wrapper
  • nss_wrapper-debuginfo
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin