Port getent(1) from FreeBSD

Matthias Schmidt schmidtm at mathematik.uni-marburg.de
Mon Dec 3 07:03:36 PST 2007


Hi everybody,

I was installing LDAP on DragonFly and noticed that getent [1] is  
missing.  It is a very handy tool to see which password entries,  
groups etc are available.

I copied over the tool from the FreeBSD source and changed only two  
lines to make it compile.  See attached diff.  Maybe its worth to be  
included into DragonFly?!?

Regards,

	Matthias

[1] http://www.FreeBSD.org/cgi/man.cgi?query=getent&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html

Attachment:
getent-dfly.diff
Description: Binary data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 565 bytes
Desc: ""
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20071203/e82b0957/attachment-0016.bin>


More information about the Submit mailing list