Imported Upstream version 1.1.11
[platform/upstream/cdrkit.git] / netscsid / netscsid.dfl
1 #ident @(#)rscsi.dfl    1.3 05/08/09 Copyr 2000 J. Schilling
2 #
3 # This file is /etc/rscsi.conf
4 #
5 # NOTE: If this file is not present, rscsi will reject to work.
6 #
7 # If no USER= entry is present, only root is allowed to run rscsi.
8 # If no ACCESS= entry is present, no device may to be used by remote users.
9
10
11 # The file where debug info should go to.
12 # This is commented out by default to speed up the program.
13 # If you enable it make sure you substitute SAFE_DIR to a safe directory
14 # to debug to.
15 #
16 # Note that rscsi runs as root and thus may be able to overwrite any file.
17 # Be sure not to allow other people to replace the debug file by a symlink
18 # to e.g. /etc/passwd. 
19 #
20 #DEBUG=SAFE_DIR/rscsi.dbg
21
22 #
23 # Each USER= entry adds the listed user to the users who may run rscsi
24 #
25 # A typical passwd entry looks like this:
26 # rscsi:x:1999:1000:Remote SCSI:/export/home/rscsi:/opt/schily/sbin/rscsi
27 #
28 # Add entries for all valid remote users to /export/home/rscsi/.rhosts
29 #
30 # USER= entries are checked with a pattern matcher. USER=* matches all users.
31 #
32 USER=rscsi
33 #USER=joerg
34
35 #
36 # Each ACCESS= entry adds a target or group of targets to the list of visible
37 # targets for all users that do remote SCSI access from a specific host.
38 #
39 #       Username is the name of the user that runs rscsi. If you create
40 #       different users, you may assign different permissions to different
41 #       users from the same host.
42 #
43 #       Hostname must be in the same notation as needed for .rhosts (e.g. in
44 #       the way you will be listed by 'who' if you log in from this host).
45 #
46 #       bus/chan/target/lun are the numbers from the scanbus output from
47 #       cdrecord or sformat. If you use -1, you allow any value for this
48 #       placeholder.
49 #
50 #       local user name and remote host name are checked with a pattern matcher.
51 #       ACCESS=*        * .... matches all users from all hosts.
52 #
53 #       NOTE: chan is currently not implementd (set it to 0 or -1)
54 #
55 #       local   remote
56 #       user    host    bus     chan    target  lun
57 #       name    name
58 #
59 #ACCESS=rscsi   sparky  -1      -1      -1      -1
60 #ACCESS=rscsi   sparky  0       -1      6       -1
61 #ACCESS=rscsi   sparky  1       -1      3       -1
62 #ACCESS=rscsi   sparky  1       -1      4       -1