It is important that on all hosts in your disaster recovery environment the configuration files with the same purpose have the same name. Otherwise the distribute EDRC command won't function correctly.
Between the OPTION, the = and the VALUE are no spaces.
Rows starting with a # are considered as comments.
You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.
Example: SCRIPTS_BASEDIR=scripts/customer
Default: SCRIPTS_BASEDIR=scripts
Example: SCRIPTS_SHELL=/bin/ksh
Default: SCRIPTS_SHELL=/bin/sh
Example: SCRIPTS_SHELLFALLBACKS="ksh:pfksh ksh:bash sh:ksh sh:pfsh sh:bash"
Default: SCRIPTS_SHELLFALLBACKS="ksh:bash sh:ksh sh:bash"
Example: NLS_DATE_FORMAT='MON DD YYYY HH24:MI:SS'
Default: NLS_DATE_FORMAT='MON DD YYYY HH24:MI:SS'
Example: NLS_LANG=american
Default: NLS_LANG=american
Example: TERM=dtterm
Default: TERM=vt220
Example: LOG=/var/opt/edrc/log
Default: LOG=var/log
Example: LOGCOMPRESS=True
Default: LOGCOMPRESS=False
Example: LOGHEAD_OUTPUT=False
Default: LOGHEAD_OUTPUT=True
Example: START_USER=eroot
Default: START_USER=root
Example: DIST_HOSTLIST="acme045 acme014"
Default: -
Example: DIST_USER=edrc
Default: DIST_USER=edrc
Example: EDRC_OWNER=root
Default: EDRC_OWNER=root
To minimize possible by-passes in contributed commands and in recovery script configurations (used in shared configurations with partly restricted rights) the is_permitted(3) command should be used to control command startup.
Currently the following denials are available: banner, browse, busy, clear, contrib, contrib.*, date, debug, distribute, edit_file, edrcdebug, edrcperm, env, env.edit, env.more, env.new, env.remove, env.view, erase, header, header.edit, header.more, header.new, header.remove, help, history, hostname, loadrec, log, log.grep, log.head, log.more, log.tail, log.view, man, menu, more_file, name, new_file, newmenu, newscript, PID, printrec, recoveryscript.*, remove_file, removemenu, removescript, renamemenu, renamescript, script, script.edit, script.more, script.start, script.view, setrec, shell, term, title, title.edit, title.more, title.new, title.remove, trunk, trunk.change, trunk.edit, trunk.follow, trunk.more, trunk.new, trunk.remove, trunkbypass, tty, tz, view_file.
Denials represented by a single word deny access to a command as a whole. If a denial consists of two words separated by a point, this will deny access to a sub function of a command. Denials containing an underscore deny access to low level functions that are used by many commands or command functions. Therefore if you like to deny any file editing in edrc you should add edit_file to the DENY_LIST instead of listing all <command>.edit denials.
Honestly, I could not imagine why to use many of those denials, but it gives you the maximal flexibility of configuration.
Example: DENY_LIST="newscript newmenu contrib.omnimon"
Default: DENY_LIST=""
Example: DIST_MODE=rtools,OpenSSH
Default: DIST_MODE=rtools
Example: DIST_TYPE=parallel:20
Default: DIST_TYPE=serial
Example: EDRC_OWNER=root
Default: EDRC_OWNER=root
Example: EDRC_PROMPT=sysadmin
Default: EDRC_PROMPT=edrc
Example: EDRC_HOSTPROMPT=short
Default: EDRC_HOSTPROMPT=long
Example: BACKUP_DIR=/var/opt/edrc/backup
Default: BACKUP_DIR=var/backup
Based on experiences with systems having WA2L/edrc installed for about five years, the space needed to keep all script backup versions is not huge in average. Therefore this value can be set to a reasonable high value or to 0 without having bad feelings.
Example: BACKUP_GENERATIONS=200
Default: BACKUP_GENERATIONS=0
Example: TMP_DIR=/var/tmp
Default: TMP_DIR=/tmp
Example: CONTRIB_MESSAGE=False
Default: CONTRIB_MESSAGE=True
Example: NOTRECOGNIZED_MESSAGE=True
Default: NOTRECOGNIZED_MESSAGE=False
Example: RECOVERYPOINTINTIME_MESSAGE=False
Default: RECOVERYPOINTINTIME_MESSAGE=True
Example: SETENVIRONMENT_MESSAGE=False
Default: SETENVIRONMENT_MESSAGE=True
Example: ABORT_MODE=soft
Default: ABORT_MODE=hard
Example: HISTORY_LENGTH=20
Default: HISTORY_LENGTH=100
Example: HISTORY_SEARCH=200
Default: HISTORY_SEARCH=100
On systems with OSID=*Linux* the HISTORY_BROWSE is turned on (=True) by default (if the system supports it), on other OSIDs it's turned off.
Example: HISTORY_BROWSE=False
Default: HISTORY_BROWSE=True (for OSID *Linux*)
Default: HISTORY_BROWSE=False (for other OSID)
Note: This setting has become of minor importance. If all defined manual pages should be displayed in all edrc configurations identically, and also in man ( edrcman ), the manual page locations should be listed in the edrcman.cfg file.
Example: MAN_PATH=/opt/omni/man:/opt/apl/asystools/man
Default: MAN_PATH=-
This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.