[Pkg-shadow-devel] Bug#386293: passwd: no matching group file entry in /etc/gshadow

Kurt Roeckx kurt at roeckx.be
Sat Oct 7 12:30:49 UTC 2006


Hi,

I just ran into this problem too.

I manually added the user and group to /etc/passwd, /etc/group.  I also
needed to edit /etc/shadow because passwd was once installed in the
chroot and enabled it.  You get some strange error messages if
/etc/shadow exists, but the user isn't in it.

Removing the passwd package still keeps it enabled.  Anyway, I didn't
know about gshadow, so I didn't fix that.

I don't have passwd installed in my chroot because it's not essential.
This also means that apt does not prompt about removing it.  It might be
a required package, but nothing says you can't remove those.

I've just tried turning it off, which failed because the group was
missing, so I added it and turned it off, which fixed things for me.
But it's now enabled again, since passwd was installed again, and the
group is added again.


Kurt





More information about the Pkg-shadow-devel mailing list