pam_warn.8.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding='UTF-8'?>
  2. <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
  4. <refentry id="pam_warn">
  5. <refmeta>
  6. <refentrytitle>pam_warn</refentrytitle>
  7. <manvolnum>8</manvolnum>
  8. <refmiscinfo class="sectdesc">Linux-PAM Manual</refmiscinfo>
  9. </refmeta>
  10. <refnamediv id="pam_warn-name">
  11. <refname>pam_warn</refname>
  12. <refpurpose>PAM module which logs all PAM items if called</refpurpose>
  13. </refnamediv>
  14. <refsynopsisdiv>
  15. <cmdsynopsis id="pam_warn-cmdsynopsis">
  16. <command>pam_warn.so</command>
  17. </cmdsynopsis>
  18. </refsynopsisdiv>
  19. <refsect1 id="pam_warn-description">
  20. <title>DESCRIPTION</title>
  21. <para>
  22. pam_warn is a PAM module that logs the service, terminal, user,
  23. remote user and remote host to
  24. <citerefentry>
  25. <refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum>
  26. </citerefentry>. The items are not probed for, but instead obtained
  27. from the standard PAM items. The module always returns
  28. <emphasis remap='B'>PAM_IGNORE</emphasis>, indicating that it
  29. does not want to affect the authentication process.
  30. </para>
  31. </refsect1>
  32. <refsect1 id="pam_warn-options">
  33. <title>OPTIONS</title>
  34. <para>This module does not recognise any options.</para>
  35. </refsect1>
  36. <refsect1 id="pam_warn-types">
  37. <title>MODULE TYPES PROVIDED</title>
  38. <para>
  39. The <option>auth</option>, <option>account</option>,
  40. <option>password</option> and <option>session</option> module
  41. types are provided.
  42. </para>
  43. </refsect1>
  44. <refsect1 id='pam_warn-return_values'>
  45. <title>RETURN VALUES</title>
  46. <variablelist>
  47. <varlistentry>
  48. <term>PAM_IGNORE</term>
  49. <listitem>
  50. <para>
  51. This module always returns PAM_IGNORE.
  52. </para>
  53. </listitem>
  54. </varlistentry>
  55. </variablelist>
  56. </refsect1>
  57. <refsect1 id='pam_warn-examples'>
  58. <title>EXAMPLES</title>
  59. <programlisting>
  60. #%PAM-1.0
  61. #
  62. # If we don't have config entries for a service, the
  63. # OTHER entries are used. To be secure, warn and deny
  64. # access to everything.
  65. other auth required pam_warn.so
  66. other auth required pam_deny.so
  67. other account required pam_warn.so
  68. other account required pam_deny.so
  69. other password required pam_warn.so
  70. other password required pam_deny.so
  71. other session required pam_warn.so
  72. other session required pam_deny.so
  73. </programlisting>
  74. </refsect1>
  75. <refsect1 id='pam_warn-see_also'>
  76. <title>SEE ALSO</title>
  77. <para>
  78. <citerefentry>
  79. <refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum>
  80. </citerefentry>,
  81. <citerefentry>
  82. <refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum>
  83. </citerefentry>,
  84. <citerefentry>
  85. <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
  86. </citerefentry>
  87. </para>
  88. </refsect1>
  89. <refsect1 id='pam_warn-author'>
  90. <title>AUTHOR</title>
  91. <para>
  92. pam_warn was written by Andrew G. Morgan &lt;morgan@kernel.org&gt;.
  93. </para>
  94. </refsect1>
  95. </refentry>