openRuyi Lookout
← Packages

nss_wrapper

A wrapper for the user, group and hosts NSS API

Current
1.1.16
Candidate
Stale
License
BSD-3-Clause

Build

TargetResultLast successful versionSucceeded at
rva23
1.1.16
rva20
1.1.16
x86_64
1.1.16

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.

Changelog

PR · 1

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T19:28:57+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—