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
Another option here is to use the 
accget
 and 
accadm
 programs, which can be used in 
conjunction with UNIX mechanisms, for example for restoring access permissions following 
a system crash. Only the access permissions are saved and restored in this case, and not 
the actual files and directories. All that is required here is to back up the physical entries in 
the ACL database. For the restore procedure, the files and directories must be already 
created in the UNIX file system.
The definitions below should provide clarification of the terms used in the next section in 
conjunction with the 
accget
 and 
accadm
 tools: 
Resource:  
UNIX directory or UNIX file
Resource_name:  
UNIX path name of a directory or file
Mountpoint:  
UNIX path name under which a UNIX file system is mounted
Permission record:  
Entry for a resource with its access permissions in the backup files
Backup file:  
Backup file name
7.3.2
Saving access permissions for resources (accget)
This tool is used to create a backup file called 
/var/opt/lanman/etc/accadm.dat
 or
/tmp/accget.dat 
of the ACL database, which contains the following information (
permission 
records
):
Shared resources (SHARES)
Access permissions for resources
Mountpoints for resources
The 
accadm.dat
 (or 
accget.dat
) file is the input for the backup functions of the 
accadm
 
command.