Siemens V4.0 manual YP sg

Models: V4.0

1 365
Download 365 pages 46.33 Kb
Page 153
Image 153

Tools for special tasks

System administrator tools

Syntax:

 

yP: :s:g

<resource_name>]

If the command is called without options, the /var/opt/lanman/etc/accadm.dat file is created. The access permissions for all resources are stored in this file. Shared resources (SHARES) and mountpoints are saved at the same time. This command produces a complete backup of your access permissions on Advanced Server for UNIX.

-nThe access permissions for all resources are stored with <user_name / group>.

With option -n the access permissions are saved compatible to Advanced Server Version 3.5B00. The user/group names are stored as readable character strings according to net perms output. The server has to be started if this option is selected.

-sThe access permissions for all resources are stored with <user / group SIDs> (default).

The option -s saves access permission with the SIDs of the users / groups. SIDs are an internal description of the Security Identifiers of a user / group. It is not necessary to start the server if this option is used.

i

The default option of accget is -s.

-PThe access permissions for the specified resource <resource_name> are stored in the /tmp/accget.dat file. When you specify a directory, all directories and files under the specified directory are processed, including their access permissions. Shared resources (SHARES) and mountpoints are not stored again. If a blank file is created, this means that no entry could be found for the specified resource; if no file was created, an error has occurred. This command only creates a backup of the access permissions of a file or directory tree.

i

The /tmp/accget.dat file created is overwritten each time the command is

invoked and has to be backed up manually.

-?helpA description of the command is displayed.

Example:

i

accget -P /home

mv /tmp/accget.dat /home/backup/accget.dat accget -P /var

mv /tmp/accget.dat /var/backup/accget.dat

If the command is called again, the existing backup files are overwritten. You should ensure that there is enough space available in the directories for the /tmp or /var/opt/lanman/etc backup files (at most the files require the same capacity as the /var/opt/lanman/datafiles/acl* database).

Product Manual

U7613-J-Z815-6-76

Page 153
Image 153
Siemens V4.0 manual YP sg