Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nfaccess(8) [bsd man page]

NFACCESS(8)						      System Manager's Manual						       NFACCESS(8)

NAME
nfaccess - Add access rights to a set of Notesfiles SYNOPSIS
nfaccess access-right topic [ topic ... ] DESCRIPTION
Nfaccess simplifies the task of adding an access-right to many notesfiles. The function is somewhat analagous to that of chmod(1). The access-right specifies a user, group or system and the permissions to be granted. The format is: <access-right> ::= [<type>:]name=<mode> <type> ::= {User, user, Group, group, System, system} <mode> ::= {d, r, w, a, n}+ The type specification can be omitted; when it is omitted, the name is assumed to be a user. The mode is additive. A mode of ``rw'' spec- ifies read and write. The ``n'' mode specifies null access. The new access right is inserted in each specified notesfiles access list. If the user/group/system already has an entry, the old entry is replaced with the new entry. All users are allowed to run this program. The changes are only applied to notesfiles for which the executing user is a director. This program lives in the notesfile utility directory, typically ``/usr/spool/notes/.utilities''. To automatically add specific access-rights to newly created notesfiles, the file ``/usr/spool/notes/.utilities/access-template'' is use- ful. If it exists, the file contains lines of acces-rights which are added to each notesfile as it is created. If several people share the administration of the notesfile system, each can be added to the access-lists of newly created notesfiles by placing appropriate lines in this file. EXAMPLES
nfaccess essick=drw /usr/spool/notes/* nfaccess group:srg=rw this that other nfaccess user:kolstad=rw mynotes In the first example, user `essick' is given director/read/write access to all the notesfiles in /usr/spool/notes. Any permissions (or restrictions) he might have had before are overridden. The second example gives group `srg' read/write access to notesfiles `this', `that' and `other'. In the final example, user `kolstad' is given read/write access to the notesfile `mynotes'. BUGS
Entries can not be removed from the access list with this program. Entries can not merely be augmented (``just add write permission'') with this program. FILES
/etc/passwd for the users name /etc/group for the users group /usr/spool/notes the default notesfile data base SEE ALSO
mknf(8), notes(1), nfcomment(3), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) University of Illinois at Urbana-Champaign Urbana, IL University of Illinois NFACCESS(8)

Check Out this Related Man Page

CHECKNOTES(1)						      General Commands Manual						     CHECKNOTES(1)

NAME
checknotes - check for new notesfile articles SYNOPSIS
checknotes [ -qnvs ] [ -aname ] DESCRIPTION
Checknotes reports on the existence of new notes. The NFSEQ environment variable is read to determine the notesfiles to examine for new text. Checknotes then looks at each of the notesfiles to determine if there are new notes. The various flags specify the method of noti- fication. The flags are mutually exlusive. The -q option specifies a message ``There are new notes'' when such is the case. No text is printed if there are no new notes. Specify -n to get a message ``There are no new notes'' if this is the case. If there are new notes, no message is printed. With the -v option enabled, checknotes prints the name of each notesfile containing new notes. The -s option is silent; no output is produced. Regardless of the option, the program exits with 0 (TRUE) if new notes exist and with 1 (FALSE) if no new notes exist. The -a option specifies a subsequencer. This allows several people sharing the same signon to maintain their own sequencer files. This switch does not allow users to forge other user's sequencer files. Since the name is concatenated with the user name, arbitrarily long subsequencer names aren't necessarily unique. A good rule of thumb is to ensure the first 6 characters of any given user's subsequencer names are unique. FILES
/etc/passwd for the users name /etc/group for the users group(s) /usr/spool/notes the default notesfile data base /usr/spool/notes/.sequencer/user Sequencing timestamps for user. /usr/spool/notes/.sequencer/user:subsequencer Sub-sequencing timestamps for user. SEE ALSO
notes(1), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL Rob Kolstad (kolstad@convex.UUCP) CONVEX Computer Corporation Richardson, TX University of Illinois CHECKNOTES(1)
Man Page