1 #ident @(#)rscsi.dfl 1.3 05/08/09 Copyr 2000 J. Schilling
3 # This file is /etc/rscsi.conf
5 # NOTE: If this file is not present, rscsi will reject to work.
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.
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
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.
20 #DEBUG=SAFE_DIR/rscsi.dbg
23 # Each USER= entry adds the listed user to the users who may run rscsi
25 # A typical passwd entry looks like this:
26 # rscsi:x:1999:1000:Remote SCSI:/export/home/rscsi:/opt/schily/sbin/rscsi
28 # Add entries for all valid remote users to /export/home/rscsi/.rhosts
30 # USER= entries are checked with a pattern matcher. USER=* matches all users.
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.
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.
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).
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
50 # local user name and remote host name are checked with a pattern matcher.
51 # ACCESS=* * .... matches all users from all hosts.
53 # NOTE: chan is currently not implementd (set it to 0 or -1)
56 # user host bus chan target lun
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