Tools for special tasks

System administrator tools

i

i

The following directories are no valid mountpoints for accadm.

/(root directory), /proc, /stand, /dev/fd

Resources located in the root directory (i.e. which are not allocated to another mountpoint) are only saved in /asxperms if accadm -Fsis invoked without specifying a mountpoint.

accget must have been executed before accadm is invoked.

accadm primarily supports separation of access permissions according to file systems so that they can be transferred to other file systems or UNIX systems (e.g. with OBSERVE). They are not a replacement for the regular backup of the ACL /var/opt/lanman/datafiles/acl* database. The following AS/X databases must also be available in a consistent form in or- der for a complete restore to be performed:

/var/opt/lanman/datafiles/Builtin*

/var/opt/lanman/datafiles/lsa*

/var/opt/lanman/domains/<domainname>*

These databases therefore always have to be backed up together.

7.3.4 Moving directories with existing access permissions

It may happen sometimes that a system administrator has to transfer the data from one file system to another file system (e.g. to a larger disk). Usually this task is carried out using UNIX commands. In doing so, the access permissions of the files and directories, which are stored in the Advanced Server for UNIX ACL database, are not adapted automatically. This task is performed by the acladm program ("-M" option). The Advanced Server for UNIX has to be stopped during this process.

Detailed information on the acladm command is available in the online manual page. Type man acladm at the Advanced Server command prompt.

The following example illustrates the shifting of the data from one directory /home1, which is shared under the name homedir, to a directory /home2.

1.Make sure that no client is linked to the shared directories on the file system. Stop sharing all directories on the corresponding file system, e.g. with

net share homedir /delete

You now stop the server using net stop server

2.Transfer the files and directories from one directory to the other using UNIX commands. Be careful to retain the directory structure and the owners, groups and permissions in UNIX. In our example, move the contents of /home1 to /home2.

Product Manual

U7613-J-Z815-6-76

Page 156
Image 156
Siemens V4.0 manual Moving directories with existing access permissions