BSD Ports

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

SystemPortVersion
FreeBSDdevel/uid_wrapper1.3.2
DragonFlydevel/uid_wrapper1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.21.3.21.2.41.3.21.3.2
FreeBSD:14:quarterly1.3.21.3.2n/a1.2.4_11.3.2
FreeBSD:15:latest1.3.21.3.2n/a1.3.21.3.2
FreeBSD:15:quarterly1.3.21.3.2n/an/an/a
FreeBSD:16:latest1.3.21.3.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

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
FileSizeSHA256
uid_wrapper-1.3.2.tar.gz50805ae4bf3b8f0a748f470531a650436b39182c8217ee9269a9c7e925c64380a9bda
Master sites 1
  • SAMBA/cwrap

Commit history 0

No commits in the history this site was built from.