niload man page on OPENSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
OPENSTEP logo
[printable version]


NILOAD(8)							     NILOAD(8)

NAME
       niload - load text or UNIX-format data into NetInfo

SYNOPSIS
       niload [ -v ] [ -d ] [ -p ] [ -t ] { -r directory | format } domain

DESCRIPTION
       niload  loads  information  from	 standard input into the given NetInfo
       domain.	If format is specified, the input is interpreted according  to
       the  UNIX  file format of the same name.	 The allowed values for format
       are  aliases,  bootparams,  bootptab,  exports,	fstab,	group,	hosts,
       networks, passwd, printcap, protocols, rpc, and services.

       If  -r directory	 is specified instead of a UNIX file format, the input
       is interpreted as “raw” NetInfo data, as generated  by  nidump -r,  and
       loaded into directory.

       niload overwrites entries in the existing directory with those given in
       the input.  Entries that are in the directory aren't  deleted  if  they
       don't  exist  in	 the input, unless the -d option is specified.	niload
       must be run as superuser on the master NetInfo  server  for  the	 given
       domain,	unless	one  specifies	the -p option, which allows one to run
       from anywhere in the network.

OPTIONS
       -v     Verbose.	Print a “+” for each entry  loaded,  a	“-”  for  each
	      entry deleted (UNIX formats only).

       -d     Delete entries which are in the directory, but not in the input.

       -p     Prompt for the root password of the given domain so that one can
	      run from other locations in the network besides the master.

       -t     Interpret	 the  domain  as  a  tagged  domain.	For   example,
	      “trotter/network” refers to the database tagged “network” on the
	      machine “trotter”.  The machine name can be an actual name or an
	      IP address.

       -r     Load  entries  in	 “raw” format, as generated by nidump -r.  The
	      first argument should be the path of a  NetInfo  directory  into
	      which   the  information	is  loaded.   Since  the  input	 often
	      specifies properties (including “name”) at  its  topmost	level,
	      the  directory  you  specify  may be renamed as a result of this
	      operation.  If the directory you specify does not exist, it will
	      be created.

EXAMPLES
       “niload	passwd	. < /etc/passwd” loads the local /etc/passwd file into
       the local NetInfo database.

       “niload -d -r /locations .”  replaces the contents of /locations in the
       local domain with input given in nidump “raw” format.

SEE ALSO
       nidump(8),    niutil(8),	   netinfo(5),	  aliases(5),	bootparams(5),
       bootptab(5), exports(5),	 fstab(5),  group(5),  hosts(5),  networks(5),
       passwd(5), printcap(5), protocols(5), rpc(5), services(5)

NeXT Computer, Inc.	       December 22, 1992		     NILOAD(8)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net