pam_warn.8 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. '\" t
  2. .\" Title: pam_warn
  3. .\" Author: [see the "AUTHOR" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
  5. .\" Date: 09/03/2021
  6. .\" Manual: Linux-PAM Manual
  7. .\" Source: Linux-PAM Manual
  8. .\" Language: English
  9. .\"
  10. .TH "PAM_WARN" "8" "09/03/2021" "Linux-PAM Manual" "Linux\-PAM Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. pam_warn \- PAM module which logs all PAM items if called
  32. .SH "SYNOPSIS"
  33. .HP \w'\fBpam_warn\&.so\fR\ 'u
  34. \fBpam_warn\&.so\fR
  35. .SH "DESCRIPTION"
  36. .PP
  37. pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host to
  38. \fBsyslog\fR(3)\&. The items are not probed for, but instead obtained from the standard PAM items\&. The module always returns
  39. \fBPAM_IGNORE\fR, indicating that it does not want to affect the authentication process\&.
  40. .SH "OPTIONS"
  41. .PP
  42. This module does not recognise any options\&.
  43. .SH "MODULE TYPES PROVIDED"
  44. .PP
  45. The
  46. \fBauth\fR,
  47. \fBaccount\fR,
  48. \fBpassword\fR
  49. and
  50. \fBsession\fR
  51. module types are provided\&.
  52. .SH "RETURN VALUES"
  53. .PP
  54. PAM_IGNORE
  55. .RS 4
  56. This module always returns PAM_IGNORE\&.
  57. .RE
  58. .SH "EXAMPLES"
  59. .sp
  60. .if n \{\
  61. .RS 4
  62. .\}
  63. .nf
  64. #%PAM\-1\&.0
  65. #
  66. # If we don\*(Aqt have config entries for a service, the
  67. # OTHER entries are used\&. To be secure, warn and deny
  68. # access to everything\&.
  69. other auth required pam_warn\&.so
  70. other auth required pam_deny\&.so
  71. other account required pam_warn\&.so
  72. other account required pam_deny\&.so
  73. other password required pam_warn\&.so
  74. other password required pam_deny\&.so
  75. other session required pam_warn\&.so
  76. other session required pam_deny\&.so
  77. .fi
  78. .if n \{\
  79. .RE
  80. .\}
  81. .SH "SEE ALSO"
  82. .PP
  83. \fBpam.conf\fR(5),
  84. \fBpam.d\fR(5),
  85. \fBpam\fR(8)
  86. .SH "AUTHOR"
  87. .PP
  88. pam_warn was written by Andrew G\&. Morgan <morgan@kernel\&.org>\&.