#/cs/master.login # # Login script for user MASTER at any CDS site. # # This login script should only be used by the designated MASTER user at any # site. It sets up environment variables which allow the user write access # to all the 'official' planning and data storage directories. # First, execute the standard CDS login for all users. This will ensure that # the environment variable CDS_DATA is defined, as well as defining all the # read environment variables used by the CDS software. # Modified: 31 May 1996, William Thompson, added CDS_SUMMARY_DATA_W # Modified: 30 Apr 1997, CDP, added EXPORT directory # if ( ! $?CDS_LOGIN ) setenv CDS_LOGIN /cs/cds.login source $CDS_LOGIN # Define the WRITE environment variables to match their READ equivalents. setenv CDS_CIF_W $CDS_CIF setenv CDS_CP_CVTFILES_W $CDS_CP_CVTFILES setenv CDS_CP_LTBFILES_W $CDS_CP_LTBFILES setenv CDS_CP_MISC_W $CDS_CP_MISC setenv CDS_CP_TTCFILES_W $CDS_CP_TTCFILES setenv CDS_CP_UPDATE_W $CDS_CP_UPDATE setenv CDS_CP_ENG_W $CDS_CP_ENG setenv CDS_ENG_DATA_W $CDS_ENG_DATA setenv CDS_EXPORT_W $CDS_DATA/plan/database/export setenv CDS_GIS_RAW_W $CDS_GIS_RAW setenv CDS_IAP_W $CDS_IAP setenv CDS_INFO_W $CDS_INFO setenv CDS_MEM_DUMP_W $CDS_MEM_DUMP setenv CDS_STM_DUMP_W $CDS_STM_DUMP setenv CDS_SUMMARY_DATA_W $CDS_SUMMARY_DATA setenv CDS_TM_LOG_W $CDS_TM_LOG setenv CDS_VDS_CAL_WAV_W $CDS_LRG_DATA/vds/cal/wav # Define the WRITE variable used by the commanding PERL scripts and its # READ equivalent for consistency. setenv CDS_CP_STMFILES_W $CDS_DATA/plan/command/stm setenv CDS_CP_STMFILES $CDS_DATA/plan/command/stm # Make sure that ZDBASE_USER and ZDBASE_CDS are the same for the master # account. setenv ZDBASE_USER $ZDBASE_CDS # Define the email address to send any FITSGEN error messages to. setenv CDS_OPERATOR master # Any environment variables which are not properly defined in the above script # must be defined in a site-specific file. The environment variable # CDS_MASTER_SITE_LOGIN should point to this site-specific file. if ( $?CDS_MASTER_SITE_LOGIN ) then source $CDS_MASTER_SITE_LOGIN endif