#ifndef _SETUPS_DOT_H_ #define _SETUPS_DOT_H_ /* This file is contains all the global #defines, etc. that we use in the SCSxxxx $Date: 2003/06/25 14:08:49 $ $Log: setups.h,v $ Revision 1.5 2003/06/25 14:08:49 billf removed SPECIAL_CONTROL_FILE #define - never used Revision 1.4 2003/06/17 19:11:01 billf changed default admin group from sysadmin to root deleted SYSADMIN_GID (700) - it was never used (name or number) deleted MONITOR_GID (702) - only the name is used, not the GID (in our code) Revision 1.3 2003/05/14 19:30:00 billf deleted the back door escape sequence changed the SYSADMIN_UID from 700 to 0, we no longer have a sysadmin user Revision 1.2 2003/04/11 13:20:12 billf updated code Revision 1.1.1.1 2003/03/17 15:27:03 billf Initial import */ #define MAX_ESCAPE_LENGTH 10 #define DEFAULT_NUM_SERVERS 16 #define DEFAULT_CONNECT_ESCAPE_SEQ "\033A" // user definable escape sequence #define DEFAULT_BREAK_ESCAPE_SEQ "\033B" // user definable escape sequence #define DEFAULT_PROC_DIR_NAME "port_buffers" // was DEFAULT_DEVICE_BUFFER_NAME #define DEFAULT_FULL_PROC_DIR_NAME "/proc/" DEFAULT_PROC_DIR_NAME // was DEFAULT_PROC_BUFFER_NAME #define DEFAULT_DEVICE_NAME "ttyB" #define DEFAULT_CALLOUT_NAME "cuB" #define DEFAULT_MONITOR_NAME_PREFIX "monitor_port" #define DEFAULT_BUFFER_NAME_PREFIX "buf_" // device node names have this prefix when refering to the buffer device #define LSI_CONFIG_FILE_EXT ".conf" // etx. used on all LSI config files #define LSI_ROOT_PATH "/lsi/" // where we store all LSI files #define LSI_DEVICE_NAMES_PATH LSI_ROOT_PATH "ports/" // symbolic links to device names are used and stored here #define LSI_USER_CONFIG_PATH LSI_ROOT_PATH "config/" // holds user config files i.e billf.conf, rossc.conf, ... #define LSI_BIN_PATH "/usr/local/bin/" #define LSI_CONFIG_FILE_NAME "/etc/sysconfig/lsi" #define DEFAULT_ADMIN_GROUP_NAME "root" #define DEFAULT_USER_GROUP_NAME "scsusers" #define DEFAULT_MONITOR_GROUP_NAME "monitor" #define SYSADMIN_UID 0 #define USERS_GID 701 #define DEFAULT_SYSADMIN_EMAIL_ADDRESS "" #define DEFAULT_SYSTEM_TIMEOUT "0" // lcd defaults #define DEFAULT_LCD_DISPLAY_SETTING "edit" #define DEFAULT_LCD_DISPLAY_SETTING_e e_LCD_EDIT #define DEFAULT_LCD_LINE_1 "Secure Console Server" #define DEFAULT_LCD_LINE_2 "Logical Solutions Inc." // PORT_ARRAY_SIZE is set by the dtedce control bits // 2 bits/byte = 4 servers/byte // 1100h thru 1117h = 24 bytes * 4 = 96 servers #define PORT_ARRAY_SIZE 96 #define STARTING_PORT_NUMBER 1 // now some common error messages #define SETUID_FAILURE_MSG "ERROR #222" #define SETUID_FAILURE_EXIT_CODE (-2) #define IOPL_FAILURE_MSG "ERROR #333" #define IOPL_FAILURE_EXIT_CODE (-3) #endif