devel/uid_wrapper 1.3.2 FreeBSD
Testing tool to fake privilege separation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3+
- Categories
- devel
- Package size
- 27.5 KiB, 71.8 KiB installed
Description
Some projects, such as a file server, need privilege separation to be able to switch to the user who owns the files and do file operations on their behalf. uid_wrapper convincingly lies to the application, letting it believe it is operating as root and even switching between UIDs and GIDs as needed. You can start any application making it believe it is running as root.
Features:
- Allows uid switching as a normal user.
- Start any application making it believe it is running as root.
- Support for user/group changing in the local thread using the syscalls (like glibc).
- uid_wrapper intercepts seteuid(2) and related calls and simulates them in a way transparent to the application
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/uid_wrapper | 1.3.2 |
| DragonFly | devel/uid_wrapper | 1.2.4_1 |
Install
Binary package:
pkg install uid_wrapper
From the ports tree:
cd /usr/ports/devel/uid_wrapper/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= uid_wrapper>0:devel/uid_wrapper
LIB_DEPENDS= libuid_wrapper.so:devel/uid_wrapper
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.2 | 1.3.2 | 1.2.4 | 1.3.2 | 1.3.2 |
| FreeBSD:14:quarterly | 1.3.2 | 1.3.2 | n/a | 1.2.4_1 | 1.3.2 |
| FreeBSD:15:latest | 1.3.2 | 1.3.2 | n/a | 1.3.2 | 1.3.2 |
| FreeBSD:15:quarterly | 1.3.2 | 1.3.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.2 | 1.3.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
cmocka>=1.1.0: sysutils/cmocka
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Required by 1
Configuration
No options to configure.
- USES
- cmake:testing localbase
- Service scripts
- none
Files
Manual pages 1
- uid_wrapper(1)
pkg-plist 7
- lib/cmake/uid_wrapper/uid_wrapper-config-version.cmake
- lib/cmake/uid_wrapper/uid_wrapper-config.cmake
- lib/libuid_wrapper.so
- lib/libuid_wrapper.so.0
- lib/libuid_wrapper.so.0.2.2
- libdata/pkgconfig/uid_wrapper.pc
- share/man/man1/uid_wrapper.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| uid_wrapper-1.3.2.tar.gz | 50805 | ae4bf3b8f0a748f470531a650436b39182c8217ee9269a9c7e925c64380a9bda |
Master sites 1
- SAMBA/cwrap
Commit history 0
No commits in the history this site was built from.