13. Aster Tools#

13.1. Save sources on IBM: limited to NEW2#

13.1.1. dispose_fort_agla: source backup FORTRAN#

Copy files from /aster/ NEW2 /bibfor to ASTER. NEW2. FORT ().

Care:

You need to update the password for user IBM GJMHHTS.

It is best to send the order in batch.

13.1.2. dispose_cat_agla: source backup CATALOGU#

Copy files from /aster/ NEW2 /catalo/ catalog to:

Care:

You need to update the password for user IBM GJMHHTS.

It is best to send the order in batch.

13.2. Save sources on Sun tape#

13.3. aclaut File and directory access controls#

Using Access Control List (ACL) features from the Multilevel Security (MLS) environment of the UNICOS 7.0 system.

With ACL it is possible to manage access control to files and directories with tools other than read, write, execute permissions for user, group or other.

By being the owner of a file it is possible to invalidate or add one of these permissions to a user or a set of users, without having to modify their membership in a group (which is reserved for the superuser).

The aclaut command allows you to apply this access control to one or more files or directories.

13.3.1. Call mode#

Position yourself in the /aster/agla/acl directory

cd /aster/agla/acl

aclaut*aut_file_name*

The aut file is a text file where we give:

  • the list of files or directories on which access control must be applied,

  • the list of authorizations or prohibitions.

Blank lines or lines beginning with% are considered comments.

The lines giving the application files are of the form:

Only one file name per line. If a directory name is given, access control will be applied recursively to all the files and directories it contains.

The lines giving the authorizations or prohibitions have the following form:

Only one authorization per line.

Example of an aut file to only give access to users gjbhhts and j2bhhmb (outside the owner d6bhhhh) to the source files of version NEW2 Aster.


%————————————————— % List of files whose access must be controlled %————————————————— % One per line preceded by FIC > % If a directory is given, access control is applied % recursively to all of its entries. FIC >/aster/ NEW2 FIC >/aster/astest/ NEW2

%———————————- % User control description %———————————- % One access control per line, in the form % ACL >a: user: group: permissions_d_accesses % access permissions: r read, w write, x execute, n none

% Ban all users ACL >a: *:: n

% Allow the following users: ACL >a: gjbhhts: *: rex: ACL >a: j2bhhmb: *: rex:

13.3.2. Tasks completed#

Verification of the existence of the*file_aut* file.

Construction of a /aster/agla/acl/ aut_file.acl file by retrieving control orders ACL and using the spacl command.

Recursively apply this file to all files and directories requested by the spset command.

Keep track of these commands in the /aster/agla/acl/ aut_file.log file.

Page left intentionally blank.