Siemens Unix V4.0 Benutzerhandbuch

Seite von 365
Tools for special tasks
System administrator tools
Product Manual
U7613-J-Z815-6-76
©
 S
iem
e
n
s
 N
ix
dor
In
fo
rm
at
io
n
s
s
y
s
te
m
e
 A
G
 1
9
9
5
 
P
fad
: D:
\O
7
613
e6
\u
761
3e
.k
07
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  
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.
-s  
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.
  
The default option of 
accget 
is 
-s
.
-P
  
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 
invoked and has to be backed up manually.
-?|help  
A description of the command is displayed.
Example:
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).
i
i
i