This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getent not working on nss db passwd files:


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]