Tools for special tasks

System administrator tools

Another option here is to use the accget and accadm programs, which can be used in conjunction with UNIX mechanisms, for example for restoring access permissions following a system crash. Only the access permissions are saved and restored in this case, and not the actual files and directories. All that is required here is to back up the physical entries in the ACL database. For the restore procedure, the files and directories must be already created in the UNIX file system.

The definitions below should provide clarification of the terms used in the next section in conjunction with the accget and accadm tools:

Resource:

UNIX directory or UNIX file

Resource_name:

UNIX path name of a directory or file

Mountpoint:

UNIX path name under which a UNIX file system is mounted

Permission record:

Entry for a resource with its access permissions in the backup files

Backup file:

Backup file name

7.3.2 Saving access permissions for resources (accget)

This tool is used to create a backup file called /var/opt/lanman/etc/accadm.dat or /tmp/accget.dat of the ACL database, which contains the following information (permission records):

Shared resources (SHARES)

Access permissions for resources

Mountpoints for resources

The accadm.dat (or accget.dat) file is the input for the backup functions of the accadm command.

Product Manual

U7613-J-Z815-6-76

Page 152
Image 152
Siemens V4.0 manual Saving access permissions for resources accget