1NFACCESS(8) System Manager's Manual NFACCESS(8)
2
3
4
6 nfaccess - Add access rights to a set of Notesfiles
7
9 nfaccess access-right topic [ topic ... ]
10
12 Nfaccess simplifies the task of adding an access-right to many notes‐
13 files. The function is somewhat analagous to that of chmod(1).
14
15 The access-right specifies a user, group or system and the permissions
16 to be granted. The format is:
17
18 <access-right> ::= [<type>:]name=<mode>
19 <type> ::= {User, user, Group, group, System, system}
20 <mode> ::= {d, r, w, a, n}+
21
22 The type specification can be omitted; when it is omitted, the name is
23 assumed to be a user. The mode is additive. A mode of ``rw'' speci‐
24 fies read and write. The ``n'' mode specifies null access.
25
26 The new access right is inserted in each specified notesfiles access
27 list. If the user/group/system already has an entry, the old entry is
28 replaced with the new entry.
29
30 All users are allowed to run this program. The changes are only
31 applied to notesfiles for which the executing user is a director.
32
33 This program lives in the notesfile utility directory, typically
34 ``/usr/spool/notes/.utilities''.
35
36 To automatically add specific access-rights to newly created notes‐
37 files, the file ``/usr/spool/notes/.utilities/access-template'' is use‐
38 ful. If it exists, the file contains lines of acces-rights which are
39 added to each notesfile as it is created. If several people share the
40 administration of the notesfile system, each can be added to the
41 access-lists of newly created notesfiles by placing appropriate lines
42 in this file.
43
45 nfaccess essick=drw /usr/spool/notes/*
46 nfaccess group:srg=rw this that other
47 nfaccess user:kolstad=rw mynotes
48
49 In the first example, user `essick' is given director/read/write access
50 to all the notesfiles in /usr/spool/notes. Any permissions (or
51 restrictions) he might have had before are overridden. The second
52 example gives group `srg' read/write access to notesfiles `this',
53 `that' and `other'. In the final example, user `kolstad' is given
54 read/write access to the notesfile `mynotes'.
55
57 Entries can not be removed from the access list with this program.
58
59 Entries can not merely be augmented (``just add write permission'')
60 with this program.
61
63 /etc/passwd for the users name
64 /etc/group for the users group
65 /usr/spool/notes the default notesfile data base
66
68 mknf(8), notes(1), nfcomment(3),
69 The Notesfile Reference Manual
70
72 Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
73 University of Illinois at Urbana-Champaign
74 Urbana, IL
75
76
77
78 University of Illinois NFACCESS(8)