getent not working on nss db passwd files:

Mike Frysinger vapier@gentoo.org
Tue Aug 25 23:18:00 GMT 2015


On 25 Aug 2015 20:43, Tjernlund wrote:
> # > echo "clue:x:1005:987:added by portage for clue:/var/tmp:/sbin/nologin" | makedb  -o passwd.db  -
> ...
> I am doing something wrong or is it an bug?

you're using makedb incorrectly.  look at /var/db/Makefile to see how to
process the passwd entries in a way that the makedb tool expects.

makedb itself could probably be better wrt error reporting/documentation ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-help/attachments/20150825/a814033b/attachment.sig>


More information about the Libc-help mailing list