System Administration Guide, Volume 2

ASET Environment Variables

The table below lists the ASET environment variables and the values that they specify.

Table 24-2 ASET Environment Variables and Their Meanings

Environment Variable 

Specifies ... 

ASETDIR (See below)

ASET working directory 

ASETSECLEVEL (See below)

Security level 

PERIODIC_SCHEDULE

Periodic schedule 

TASKS

Tasks to run 

UID_ALIASES

Aliases file 

YPCHECK

Extends check to NIS and NIS+ 

CKLISTPATH_LOW

Directory lists for low security 

CKLISTPATH_MED

Directory list for medium security 

CKLISTPATH_HIGH

Directory list for high security 

The environment variables listed below are found in the /usr/aset/asetenv file. The ASETDIR and ASETSECLEVEL variables are optional and can be set only through the shell by using the aset command. The other environment variables can be set by editing the file. The variables are described below.

ASETDIR Variable

ASETDIR specifies an ASET working directory.

From the C shell, type:


% setenv ASETDIR pathname 

From the Bourne shell or the Korn shell, type:


$ ASETDIR=pathname
$ export ASETDIR

Set pathname to the full path name of the ASET working directory.

ASETSECLEVEL Variable

The ASETSECLEVEL variable specifies a security level at which ASET tasks are executed.

From the C shell, type:


% setenv ASETSECLEVEL  level

From the Bourne shell or the Korn shell, type:


$ ASETSECLEVEL=level 
export ASETSECLEVEL

In the above commands, level can be set to one of the following:

low

Low security level 

med

Medium security level 

high

High security level 

PERIODIC_SCHEDULE Variable

The value of PERIODIC_SCHEDULE follows the same format as the crontab file. Specify the variable value as a string of five fields enclosed in double quotation marks, each field separated by a space:


"minutes hours day-of-month month day-of-week"
Table 24-3 Periodic_Schedule Variable Values

Variable 

Value 

minutes hours

Specifies start time in number of minutes (0-59) after the hour and the hour (0-23) 

day-of-month

Specifies the day of the month when ASET should be run, using values from 1 through 31 

month

Specifies the month of the year when ASET should be run, using values from 1 through 12 

day-of-week

Specifies the day of the week when ASET should be run, using values from 0 through 6; Sunday is day 0 in this scheme 

The following rules apply:

The default entry for PERIODIC_SCHEDULE variable causes ASET to execute at 12:00 midnight every day:


PERIODIC_SCHEDULE="0 0 * * *"    

TASKS Variable

The TASKS variable lists the tasks that ASET performs. The default is to list all seven tasks:


TASKS="env sysconfig usrgrp tune cklist eeprom firewall"

UID_ALIASES Variable

The UID_ALIASES variable specifies an aliases file. If present, ASET consults this file for a list of permitted multiple aliases. The format is UID_ALIASES=pathname. pathname is the full path name of the aliases file.

The default is:


UID_ALIASES=${ASETDIR}/masters/uid_aliases

YPCHECK Variable

The YPCHECK variable extends the task of checking system tables to include NIS or NIS+ tables. It is a Boolean variable, which can be set to either true or false.

The default is false, confining checking to local system tables:


YPCHECK=false

CKLISTPATH_level Variable

The three checklist path variables list the directories to be checked by the checklist task. The following definitions of the variables are set by default; they illustrate the relationship between the variables at different levels:


CKLISTPATH_LOW=${ASETDIR}/tasks:${ASETDIR}/util:${ASETDIR}/masters:
/etc
CKLISTPATH_MED=${CKLISTPATH_LOW}:/usr/bin:/usr/ucb
CKLISTPATH_HIGH=${CKLISTPATH_MED}:/usr/lib:/sbin:/usr/sbin:/usr/ucblib

The values for the checklist path environment variables are similar to those of the shell path variables, in that they are lists of directory names separated by colons ( : ). You use an equal sign ( =) to connect the variable name to its value.