|
NAMEmakendb - update NSS_NDB databasesSYNOPSISmakendb [options] <db-path> <src-path>DESCRIPTIONThis manual page documents the makendb command.makendb is a tool that can be used to update (and possibly dump) NSS_NDB databases. It also contains special update modes for importing passwd and group files. Please note: In order for the nss_ndb backend to be able to extract the list of groups for a specific user efficiently is important to import both passwd and group data so the group.byuser database can be populated. makendb does this automatically if you import both. For large installations with large amounts of users & groups you probably want to use some other tool to import data into the NDB databases. One example of such a tool written in Perl called ndbsync can be found in the examples directory. This tool syncs the local NDB databases with a remote MySQL database and can be run from cron. OPTIONS
EXAMPLES$ makendb -T passwd /var/db/nss_ndb/passwd </etc/master.passwd $ makendb -T group /var/db/nss_ndb/group </etc/group FILES
SEE ALSOnss_ndb(8), nsstest(8), nss_ndb.conf(5), nsswitch.conf(5), nsdispatch(3), https://github.com/ptrrkssn/nss_ndbAUTHORnss_ndb and tools was written by Peter Eriksson <pen@lysator.liu.se>.
Visit the GSP FreeBSD Man Page Interface. |