/* This is (osh) config.h
$Id: config.h,v 1.10 1996/01/21 00:19:19 mcn Exp $
*/


#define VERSION "1.7"
/* Don't change this! */

#undef COMPILE_TABLE

/* Define this if you want to have the command table built into the shell.
 * If you undefine this, TABLE_NAME will be read for the available commands
 * whenever the shell is started, otherwise, the commands are hardcoded
 * into struct.h with the define 'NUMENTRY' in main.c giving the number
 * of entries in that table.
 */

/*#define TABLE_NAME "/usr/local/etc/osh.dir/table.cray"*/
/*#define TABLE_NAME "/usr/local/etc/osh.dir/table.{}" */
#define TABLE_NAME "/usr/local/etc/osh/table"

/* This is the table from which we load the command listing for the user
 * executing osh. It should be owned by root, and be unreadable by all
 * but root.
 * If you append '{}' to the end of the filename, {} will be substituted by
 * the hostname of the machine on which osh is being run. In other words,
 * if you have "table.hosta" and "table.hostb", and your TABLE_NAME is
 * "table.{}", Osh will use "table.hosta" if it is being run from the machine
 * 'hosta'. *NOTE* if you decide to use this, and a machine does NOT have
 * an associated table, Osh will bomb. 
 */


#define LOGGING

/* Define this if you want to have osh executions and commands logged */

#undef SYSLOG
/* If logging is defined, and this is defined, log to the syslog rather than 
 * to a file.
 */

#define SYSLOG_PRIORITY LOG_INFO

/* If SYSLOG is defined, define this to be the priority of messages logged
 * by syslog calls (see the syslog man page for more inforamtion).
 */

#define LOGFILE "/var/log/osh.log"
/*#define LOGFILE "/u0/mcn/osh/logfile"*/

/* If LOGGING is defined, and SYSLOG isn't defined, this is the file to
 * which log entries will be sent
 */

#define CHECK_ACCESS

/* This define forces the user who's files are being looked at to have
 * a file (name by ACCESS_FILE) in their home directory. A file or directory
 * can ONLY be read if that file exists if this is defineds. If OPER_OVERRIDE
 * is defined, group OPER_GROUP is allowed to read any file.
 */

#define ACCESS_FILE ".consult"

/* This is the file who's existance is checked for in the file owner's
 * home directory before that file can be read
 */

#define OPER_OVERRIDE

/* See description for CHECK_ACCESS */

#define OPER_GROUP "sysadmin"

/* Name of group to allow OPER_OVERRIDE status to */

