linux-pam/modules/pam_localuser
Dmitry V. Levin e35c10e968 pam_localuser: reject user names that are too long
Too long user names used to be truncated which could potentially result
to false match and, consequently, to incorrect PAM_SUCCESS return value.

* modules/pam_localuser/pam_localuser.c (pam_sm_authenticate): Return
PAM_SERVICE_ERR if the user name is too long.
2020-05-21 16:51:52 +00:00
..
Makefile.am modules/*/Makefile.am: rename TESTS to dist_check_SCRIPTS 2020-05-03 12:21:11 +00:00
pam_localuser.8.xml pam_localuser: Correct the example in documentation. 2017-04-11 12:13:59 +02:00
pam_localuser.c pam_localuser: reject user names that are too long 2020-05-21 16:51:52 +00:00
README.xml Relevant BUGIDs: 2006-06-02 15:59:25 +00:00
tst-pam_localuser Relevant BUGIDs: 2006-03-12 08:36:42 +00:00

<?xml version="1.0" encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.docbook.org/xml/4.3/docbookx.dtd"
[
<!--
<!ENTITY pamaccess SYSTEM "pam_localuser.8.xml">
-->
]>

<article>

  <articleinfo>

    <title>
      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="pam_localuser.8.xml" xpointer='xpointer(//refnamediv[@id = "pam_localuser-name"]/*)'/>
    </title>

  </articleinfo>

  <section>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="pam_localuser.8.xml" xpointer='xpointer(//refsect1[@id = "pam_localuser-description"]/*)'/>
  </section>

  <section>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="pam_localuser.8.xml" xpointer='xpointer(//refsect1[@id = "pam_localuser-options"]/*)'/>
  </section>

  <section>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="pam_localuser.8.xml" xpointer='xpointer(//refsect1[@id = "pam_localuser-examples"]/*)'/>
  </section>

  <section>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="pam_localuser.8.xml" xpointer='xpointer(//refsect1[@id = "pam_localuser-author"]/*)'/>
  </section>

</article>