chiark / gitweb /
nss-mymachines: map userns users of containers to real user names
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Jul 2015 17:46:20 +0000 (14:46 -0300)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:06:04 +0000 (10:06 +0100)
Given a container "foo", that maps user id $UID to container user, using
user namespaces, this NSS module extenstion will now map the $UID to a
name "vu-foo-$TUID" for the translated UID $UID.

Similar, userns groups are mapped to "vg-foo-$TGID" for translated GIDs
of $GID.

This simple change should make userns users more discoverable. Also,
given that many tools like "adduser" check NSS before allocating a UID,
should lower the chance of UID range conflicts between tools.


No differences found