Name
nicl
Synopsis
nicl [options]datasource[command]
Modifies entries in the NetInfo database. You can manipulate
directories and properties with nicl. The
datasource may be the path to a NetInfo
directory (such as /_ ) or the filesystem path
of a NetInfo database (you must use the -raw
option for this). Use -raw to work directly with
the NetInfo database, such as
/var/db/netinfo/local.nidb. This is useful in
cases when the NetInfo daemon is down (such as when you boot into
single-user mode).
Options
-
-c Create a new data source.
-
-p Prompt for a password. You can use this instead of prefixing the command with sudo.
-
-Ppassword Use the specified password.
-
-q Be quiet.
-
-raw Indicates that the
datasourceis a filesystem path to a NetInfo database.-
-ro Open
datasourceas read-only.-
-t Treats the domain as a tagged domain, which includes a machine name and a tagged NetInfo database.
-
-uuser Use the specified user’s identity when running the command. You’ll be prompted for a password.
-
-v Be verbose.
-
-x500 Use X.500 names (see the
niclmanpage for more details).
Commands
-
-appendpath key val ... Appends a value to an existing property. The property is created if it does not already exist.
-
-copypath newparent Copies the specified
pathto a new parent path.-
-createpath[key[val ...] ] Creates a NetInfo directory specified by
path.-
-deletepath[key[val ...] ] Destroys the specified path and all its contents. If you specify a key and/or value, only the specified key is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access