home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20100816.etc.tar.gz / bradford.20100816.etc.tar / etc / security / access.conf next >
Text File  |  2006-05-29  |  2KB  |  66 lines

  1. # Login access control table.
  2. # When someone logs in, the table is scanned for the first entry that
  3. # matches the (user, host) combination, or, in case of non-networked
  4. # logins, the first entry that matches the (user, tty) combination.  The
  5. # permissions field of that table entry determines whether the login will 
  6. # be accepted or refused.
  7. # Format of the login access control table is three fields separated by a
  8. # ":" character:
  9. #
  10. # [Note, if you supply a 'fieldsep=|' argument to the pam_access.so
  11. # module, you can change the field separation character to be
  12. # '|'. This is useful for configurations where you are trying to use
  13. # pam_access with X applications that provide PAM_TTY values that are
  14. # the display variable like "host:0".]
  15. #     permission : users : origins
  16. # The first field should be a "+" (access granted) or "-" (access denied)
  17. # character. 
  18. #
  19. # The second field should be a list of one or more login names, group
  20. # names, or ALL (always matches). A pattern of the form user@host is
  21. # matched when the login name matches the "user" part, and when the
  22. # "host" part matches the local machine name.
  23. #
  24. # The third field should be a list of one or more tty names (for
  25. # non-networked logins), host names, domain names (begin with "."), host
  26. # addresses, internet network numbers (end with "."), ALL (always
  27. # matches), NONE (matches no tty on non-networked logins) or
  28. # LOCAL (matches any string that does not contain a "." character).
  29. #
  30. # If you run NIS you can use @netgroupname in host or user patterns; this
  31. # even works for @usergroup@@hostgroup patterns. Weird.
  32. #
  33. # The EXCEPT operator makes it possible to write very compact rules.
  34. #
  35. # The group file is searched only when a name does not match that of the
  36. # logged-in user. Both the user's primary group is matched, as well as
  37. # groups in which users are explicitly listed.
  38. #
  39. # TTY NAMES: Must be in the form returned by ttyname(3) less the initial
  40. # "/dev" (e.g. tty1 or vc/1)
  41. #
  42. ##############################################################################
  43. # Disallow non-root logins on tty1
  44. #
  45. #-:ALL EXCEPT root:tty1
  46. # Disallow console logins to all but a few accounts.
  47. #
  48. #-:ALL EXCEPT wheel shutdown sync:LOCAL
  49. #
  50. # Disallow non-local logins to privileged accounts (group wheel).
  51. #
  52. #-:wheel:ALL EXCEPT LOCAL .win.tue.nl
  53. #
  54. # Some accounts are not allowed to login from anywhere:
  55. #
  56. #-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL
  57. #
  58. # All other accounts are allowed to login from anywhere.
  59. #
  60.