devel/nss_wrapper 1.1.16nb1 NetBSD
LD_PRELOAD wrapper for the user, group and hosts NSS API
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel
- Package size
- 26.3 KiB, 73.7 KiB installed
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.
- Provides information for user and group accounts.
- Network name resolution using a hosts file.
- Loading and testing of NSS modules.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/nss_wrapper | 1.1.16nb1 |
| FreeBSD | devel/nss_wrapper | 1.1.16 |
| DragonFly | devel/nss_wrapper | 1.1.3_3 |
| GhostBSD | devel/nss_wrapper | 1.1.16 |
Install
Binary package:
pkgin install nss_wrapper
From pkgsrc:
cd /usr/pkgsrc/devel/nss_wrapper && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.1.16nb1 |
| NetBSD 10.1 aarch64 | 1.1.16nb1 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |