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

Serge Hallyn serge.hallyn at ubuntu.com
Mon Sep 1 20:22:05 UTC 2014


Quoting Bostjan Skufca (bostjan at a2o.si):
> Tnx for reply.
> 
> BTW: How do these two repo locations relate actually?
> 1. git://anonscm.debian.org/git/pkg-shadow/shadow.git
> 2. https://github.com/shadow-maint/shadow

The second is the upstream shadow tree.  The first is the debian packaging
tree.

> Second one seems stale (less activity in 2014, but it also does not seem to
> be *just* lagging behind).
> 
> b.
> 
> 
> 
> On 22 August 2014 16:12, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> 
> > 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