In order to customise the HEPiX scripts you must understand the file layout
and the HEPiX way of classifying the system administrators.
Figure 1 shows the main idea of the HEPiX scripts
file layout.
Figure 1: The mechanical levels of the HEPiX scripts
Table 2 gives the list of the auxiliary files which are
used to make the HEPiX scripts accessible.
Note that for HEPiX X11 login scripts the xdm wrappers are put under a
directory:
/usr/sue/lib/xdmThe sue directory resides on a local file system directory. It refers to the CERN SUE project (see [9]) although the HEPiX scripts package can be installed with the CERN SUE system, it doesn't require it. So, it had been decided that the xdm wrappers would go into this directory no matter if SUE exists or runs for the machine on which you are performing the installation.
Table 3 gives the names of the files for each shell flavour
and for the HEPiX-X11 part, at each level. They can be used to provide a
customised environment which suites your needs.
So if you want to provide a customisation for the C-shells on the machine
you administer, you simply have to add lines in the files whose names
are in the column System level and in the raw C-shell.
Thus you can customise your environment using the following files in
/etc/hepix
for the C-shells:
Moreover, the user can use templates files. In each newly created account all
the templates files for the customisation of the shell should be provided.
This applies as well for the X11 customisation files under $HOME/.hepix
.
Each user can edit these files using the examples
described in the previous section to customise their environments.
In these templates the user will find 3 parts:
if ( -r /usr/local/lib/hepix/central_env.csh ) then source /usr/local/lib/hepix/central_env.csh endifor the following lines for the Bourne-shells users:
if [ -r /usr/local/lib/hepix/central_env.sh ]; then . /usr/local/lib/hepix/central_env.sh fiThese lines might be slightly different in future versions.
In the following, the filename extension notation.[c]sh
means that there are two such files one to customise the C shells (.csh
) and the other to customise the Bourne shells (.sh
).