BSD Ports

devel/uid_wrapper 1.2.4_1 DragonFly

Wrapper to fake privilege separation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
devel
Package size
24.1 KiB, 63.8 KiB installed

Description

  • 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).

  • More precisely this library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries.

Some projects like a file server need privilege separation to be able to switch to the connection user and do file operations. uid_wrapper convincingly lies to the application letting it believe it is operating as root and even switching between UIDs and GIDs as needed.

In the other systems

SystemPortVersion
DragonFlydevel/uid_wrapper1.2.4_1
FreeBSDdevel/uid_wrapper1.3.2

Install

Binary package:

pkg install uid_wrapper

From DPorts:

cd /usr/dports/devel/uid_wrapper && make install clean

Dependencies

Required by 1