Tools for special tasks
System administrator tools
Product Manual
U7613-J-Z815-6-76
©
S
iem
e
n
s
N
ix
dor
f
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
-P
The 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.
-Pg
The 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.
-Fs
A 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.
-Fe
Displays the content of the <mountpoint>
/asxperms
file ('F'ilesystem script
'e'numerate).
-Fp
The 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.
-Fd
Deletes the <mountpoint>
/asxperms
file ('F’ilesystem script ’d’elete).
-?|help
A 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.