Annotation of 43BSD/contrib/notes/doc/4.7, revision 1.1

1.1     ! root        1: .se "Modifying Access Rights for Many Notesfiles"
        !             2: 
        !             3:        It is convenient to add entries to a large number of
        !             4: access lists simultaneously.
        !             5: The nfaccess program adds an access specification to each of
        !             6: a specified list of notesfiles.
        !             7: Nfaccess functions similarly to chmod(1).
        !             8: Nfaccess is invoked as:
        !             9: 
        !            10:        nfaccess <access-right> notesfile [notesfile ...]
        !            11: 
        !            12: The ``access-right'' is formatted as: ``type:name=mode''.
        !            13: Type can be any of ``user'', ``group'', or ``system'';
        !            14: capitalized variants are also valid.
        !            15: The ``type:'' specification can be omitted.
        !            16: ``User'' is assumed in these cases.
        !            17: The ``mode'' field consists of a sequence of the
        !            18: characters ``d'', ``r'', ``w'', ``a'' and ``n''.
        !            19: These indicate director, read, write, answer (respond) and null
        !            20: access respectively.
        !            21: 
        !            22:        Nfaccess requires user and group entries to be valid
        !            23: by looking for them in /etc/passwd and /etc/group.
        !            24: System entries are not checked for validity.
        !            25: Nfaccess will add the entry to the access list of the specified
        !            26: notesfiles.
        !            27: If an entry for that particular user, group or system exists,
        !            28: the new access right replaces the old access rights.
        !            29: The computed mode is an absolute mode; the previous value in
        !            30: the access list (if any) is replaced with the new mode.
        !            31: 
        !            32:        Any user can run the nfaccess program.
        !            33: Nfaccess refuses to modify access lists for any notesfile
        !            34: where the user is not a director.
        !            35: The nfaccess program is stored in the notesfile utility
        !            36: directory, typically ``/usr/spool/notes/.utilities''.
        !            37: 
        !            38:        Nfaccess is often used to remedy missing permissions
        !            39: in a number of notesfiles.
        !            40: One example is when the notesfile administrator is replaced;
        !            41: nfaccess is used to grant director access to the appropriate
        !            42: notesfiles (usually most of them).
        !            43: As new notesfiles are created, the access list can be tuned
        !            44: by placing lists of access-rights in the file
        !            45: ``/usr/spool/notes/.utilities/access-template''.
        !            46: These access-rights are added to the default access list
        !            47: of newly created notesfiles.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.