home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 11_notes / 4_7 < prev    next >
Encoding:
Text File  |  1986-05-27  |  1.9 KB  |  50 lines

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