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

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 22 14:12:37 UTC 2014


Quoting Bostjan Skufca (bostjan at a2o.si):
> 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

Hi,

nope doesn't seem to be by design, so patches appreciated.

-serge

> UIDs instead of usernames?
> 
> 
> Thank you for your answer,
> b.
> 
> (*expectations: mine, not general, though this is debatable)

> _______________________________________________
> Pkg-shadow-devel mailing list
> Pkg-shadow-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-shadow-devel




More information about the Pkg-shadow-devel mailing list