The ab2regsvr command sets up the appropriate name space for the AnswerBook2 document server, depending on which naming service has been selected by the system administrator. The naming service can be NIS, NIS+, or files.
To register the server with NIS, it is necessary to be logged in as root on the NIS master server. To register with NIS+, administrative privileges are necessary; you can be on either the NIS+ master or NIS+ client. To register for files, you must be logged in as root on the machine; this is machine-specific and is not seen on other machines.
Registering an AnswerBook2 document server with FNS allows a system administrator to specify the default AnswerBook2 server that users access when they select AnswerBook2 from the CDE desktop or from the OpenWindows root menu. The server's URL does not have to be entered into a web browser.
The following options are supported:
Deletes the AnswerBook2 entry in FNS.
Displays a usage statement and a brief list of options.
Lists currently registered AnswerBook2 document servers.
Replaces the currently defined URL for AnswerBook2 with a new URL.
The following operand is supported:
Fully qualified URL for users to access the registered server.
To register a server named imaserver located at port 8888:
example# ab2regsvr http://imaserver.eng.sun.com:8888/
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|