A SERVICE OF

logo

CrayDoc Installation and Administration Guide
6.2 The cdadmin tool
The cdadmin Perl script is the administration tool for your CrayDoc system.
Unlike CrayDoc 1.0, version 2.0 is administered entirely from the command line
using the cdadmin tool. For security reasons, you should install cdadmin
outside the
$ScriptAlias file path. The administration password is stored in plain
text in the cdadmin file, so you should protect the file with tight permissions.
Only the user who administers the CrayDoc system should have read or execute
permissions to the file.
You can start the cdadmin tool from the command line, just like any other
command:
path_to_file/cdadmin
You will be prompted to enter the administration password, and then you should
see this menu:
Please select a mode.
[1] Install Packages
[2] Remove Packages
[3] Remove a Book
[4] Remove a Man Page
[5] Reindex the Search Engine
[6] List Installed Documents by Package
[7] List All Installed Books
[8] List All Installed Man Pages
[9] Install Custom Documents
[10] Exit
NOTE: This tool uses ’more’ to page results.
Enter mode number:
Note: The paging tool is set to more by default. You can edit this to use
either your PAGER setting as defined in your shell environment, or some
other paging tool on your system (like less), by changing the $pager
variable in the interactive.pm Perl module. See Section 6.4, page 28 for
the location of the interactive.pm module. Consult your local man page
for more on more.
The cdadmin tool was designed to guide you through the process of installing
and removing both packages of documents and individual documents. You can
26 S234021