[Pkg-shadow-devel] Newuidmap works with usernames instead of uids

Bostjan Skufca bostjan at a2o.si
Sat Aug 16 20:15:19 UTC 2014


Hi there,
(below I only describe situation for UIDs, but content also applies to GIDs)

UID mapping feature only works if /etc/subuid contains exact username
definition. Contrary to expectations* it does not work if instead exact
username UID is used.

Additionaly: It also does not work if mapping is requested by username, for
which there is no explicit configuration in /etc/subuid, but /etc/subuid
contains mapping definition for an username which shares the same UID with
original requesting username.

Is this by design (using names instead of UIDs)?
If so, why?
Would you accept patches to at least enable mapping definitions which use
UIDs instead of usernames?


Thank you for your answer,
b.

(*expectations: mine, not general, though this is debatable)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20140816/90c03e28/attachment.html>


More information about the Pkg-shadow-devel mailing list