Siemens Unix V4.0 Overviews & Installation Instructions page 153

Siemens advanced server overview and installation
Table of Contents

Advertisement

Tools for special tasks
Syntax:
accget [-?|help] [-n | -s] [-P <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.
-n
-s
-P
-?|help
Example:
i
Product Manual
The 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.
The 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.
The 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.
The /tmp/accget.dat file created is overwritten each time the command is
i
invoked and has to be backed up manually.
A description of the command is displayed.
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).
System administrator tools
U7613-J-Z815-6-76

Advertisement

Table of Contents
loading

This manual is also suitable for:

Advanced server unix v4.0

Table of Contents