home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume15 / sec / part01 / config.h next >
Encoding:
C/C++ Source or Header  |  1990-10-14  |  796 b   |  33 lines

  1. /*
  2.  *
  3.  * config.h for sec/secpw
  4.  *
  5.  */
  6.  
  7. /*
  8.  
  9. The first three definitions are for syslog. The first is the logging
  10. facility code to use. LOG_FAIL_PRI is the priority to use when logging
  11. a failure in authorization message. I.e. mistyped password, unauthorized
  12. user, etc. LOG_OK_PRI is the priority to use when logging a successful
  13. attempt.
  14.  
  15. */
  16.  
  17. #define LOG_FACILITY LOG_AUTH
  18. #define LOG_FAIL_PRI LOG_WARNING
  19. #define LOG_OK_PRI LOG_NOTICE
  20.  
  21. /*
  22.  
  23. The next definition is the location of the security file, and the temporary
  24. file for secpw to use. the temp file MUST be on the same file system as
  25. the real file. rename() is used to move the temp to the real one when
  26. the change is done. Just like vipw.
  27.  
  28. */
  29.  
  30. #define FILENAME "/usr/adm/security"
  31. #define TEMPNAME "/usr/adm/security.tmp"
  32. #include <stdio.h>
  33.