Tools for special tasks

System administrator tools

-PThe ACL database (net ’p’erm) is updated with the content of the /var/opt/lanman/etc/accadm.dat file. New entries are added here, existing entries are updated, and unaffected entries are left as are. The files and directories must exit in a mounted filesystem. The resources must have been created beforehand.

-PgThe ACL database (net ’p’erm) is updated with the content of the /tmp/accget.dat (acc’g’et.dat) file. New entries are added here, existing entries are updated, and unaffected entries are left as are. The files and directories must exit in a mounted filesystem. The resources must have been created beforehand.

-FsA file (’F’ilesystem ’s’cript) with the fixed name asxperms is created in the “<mount- point>” directory. The file contains “permission records”, i.e. resource names with access permissions for resources which are created in the file system under the “<mountpoint>“. The resource names are converted to path names relative to the mountpoint. If a mountpoint is not specified, this procedure is implemented for all mounted file systems, i.e. a file called asxperms is created under every mountpoint.

-FeDisplays the content of the <mountpoint>/asxperms file ('F'ilesystem script 'e'numerate).

-FpThe ACL database is updated with the content of the <mountpoint>/asxperms file. New entries are added here, existing entries are updated, and unaffected entries are left as are ('F'ilesystem script net 'p'erm). The files and directories must exit in a mounted filesystem. The resources must have been created beforehand.

-FdDeletes the <mountpoint>/asxperms file ('F’ilesystem script ’d’elete). -?helpA description of the command is displayed.

Example:

Mountpoints: /var /home

Resources: /var/opt/lanman/shares /home/user1/user1.dat /home/user2/user2.dat

If you invoke accadm -Fs,the /var/asxperms file contains an entry with the path name /opt/lanman/shares, which contains the permissions saved for /var/opt/lanman/shares.

The /home/asxperms file contains entries with the path names /user1/user1.dat and

/user2/user2.dat.

The data saved can be restored again under a different mountpoint on the basis of the relative position to the mountpoint.

Product Manual

U7613-J-Z815-6-76

Page 155
Image 155
Siemens V4.0 manual User2/user2.dat