Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ niload(1) — NEXTSTEP 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nidump(1)

niutil(1)

netinfo(5)

NILOAD(1)  —  UNIX Programmer’s Manual

NAME

niload − load UNIX-format file into NetInfo

SYNOPSIS

niload [ -v ] [ -d ] [ -p ] format domain

DESCRIPTION

niload reads standard input, interprets it given the UNIX file format and loads the parsed information into the given NetInfo domain.  niload effectively overwrites the existing directory.  It won’t delete (by default) entries that are in the directory, but that don’t exist in the input.  The −d option will allow one to delete entries.  niload must be run as superuser on the master netinfo server for the given domain, unless one provides the -p option which will allow one to run from anywhere in the network. 

OPTIONS

−v Verbose.  Prints a "+" for each entry loaded, a "-" for each entry deleted. 

−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. 

FILE FORMATS

aliases
loads an aliases(5) format file. 

bootparams
loads a bootparams(5) format file. 

bootptab
loads a bootptab(5) format file.  The IP address field is ignored. Use the "hosts" format to load IP addresses. 

fstab loads a fstab(5) format file. 

group loads a group(5) format file. 

hosts laods a hosts(5) format file. 

networks
loads a networks(5) format file. 

passwd
loads a passwd(5) format file. 

printcap
loads a printcap(5) format file. 

protocols
loads a protocols(5) format file. 

rpc loads a rpc(5) format file. 

services
loads a services(5) format file. 

EXAMPLE

"niload passwd . < /etc/passwd" load the local /etc/passwd file into the local NetInfo database. 

SEE ALSO

nidump(1), niutil(1), netinfo(5)

BUGS

The verbose option is not verbose enough. 
 
 
 

NeXT, Inc.  —  June 20, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026