Tools for special tasks System administrator tools
Product Manual U7613-J-Z815-6-76
© Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\O7613e6\u7613e.k07
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 ano ther
mountpoint) are only saved in /asxperms if accadm -Fs is invoked without specifying
a mountpoint.
accget must h ave 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 O BSERVE).
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 consist ent 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 fi les and directories, which are
stored in the Advanced Server for UNIX ACL database, are not adapt ed 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 directo ries from one directory to the other using UNIX commands.
Be careful to retain the directory structure and the owners, groups and perm issions in
UNIX. In our example, move the contents of /home1 to /home2.
i
i