Binary package “libuid-wrapper” in ubuntu cosmic

UID wrapper library

 This is a wrapper for the user, group and hosts NSS API that can
 simulate uid switching as a regular user. This is useful for
 testsuites that run as a regular user but need to test
 privileged functions.
 It works as a preload library, which overrides various
 system functions.