O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

create_nidb

Synopsis

create_nidb [tag [master_hostname [root_dir]]]

A Perl program that creates and populates an Open Directory database from the contents of flat files in /etc/. This may be especially useful if you have configuration information you wish to carry over from another Unix system. Currently, create_nidb uses the following files:

/etc/master.passwd
/etc/group
/etc/hosts
/etc/networks

create_nidb should be run with superuser privileges.

Options

master_hostname

The name of the host serving the master copy of the Open Directory database. The default is localhost if the tag is local; otherwise, it's the hostname of the system on which create_nidb is run.

root_dir

The directory in which var/db/netinfo/tag.nidb is created. The default is /.

tag

The tag of the Open Directory database. The default is local.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required