Authen::PAM - authentication failure

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Authen::PAM - authentication failure

    Hi, I'm trying to use the Authen::PAM module, but during the
    installation process i get this (I tried it as the root as well as a
    regular user):

    $ make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
    1..12
    ok 1
    ---- The remaining tests will be run for service 'login', user 'root' and
    ---- device '/dev/pts/4'.
    ok 2
    ok 3
    ok 4
    ok 5
    ok 6
    ok 7
    ok 8
    ok 9
    ---- Now you will be prompted to enter your unix password. On some systems
    ---- this test will succeed only if you are running as 'root'.
    Password:
    not ok 10 (7 - Authentication failure)
    ok 11
    ok 12

    I can proceed with 'make install', but then I get Authentication failure
    anytime I do pam_chauthtok().

    I've found this:
    ([url]http://www.cs.kuleuven.ac.be/~pelov/pam/download/Authen-PAM.README[/url])
    ....
    Login Restrictions
    ------------------
    Most of the current configurations of the 'login' service include a
    module 'pam_securetty' or 'pam_access' which restrict the login of
    some users (especially root) depending on the tty or the host name
    they are logging from. The configuration files of these two modules
    are /etc/securetty and /etc/security/access.conf respectively.
    So if you are running 'make test' and get an error
    '(Authentication failure)' on test 10 then this might be due to
    login restrictions of PAM.
    ....

    But /etc/security/access.conf is empty in my case and /etc/securetty
    contains vc/[1-12] and tty[1-12].

    I would greatly appreciate any help on this one.

    Thanks
    Jan Dušek Guest

  2. Similar Questions and Discussions

    1. #38703 [Asn->WFx]: SOAP Basic Authentication Failure Error Messages
      ID: 38703 Updated by: dmitry@php.net Reported By: chris at reeltwo dot com -Status: Assigned +Status: ...
    2. #38703 [Opn->Asn]: SOAP Basic Authentication Failure Error Messages
      ID: 38703 Updated by: tony2001@php.net Reported By: chris at reeltwo dot com -Status: Open +Status: ...
    3. Proxy authentication failure
      Hi I am trying to access a web service from a desktop app which is running behind an ISA Server (Windows 2003 network). The desktop app fails...
    4. Proposed module name Authen::Users vs Authen::Local
      I've had a large project that I've split into modules, some of which may be of use to others via CPAN. One of the modules provides SQL/DBI based...
    5. Completing Forms Authentication failure
      My problem still remains but I found a little formulation error in my question. I hope that didn' cause i got no answers. I have a web system with...
  3. #2

    Default Re: Authen::PAM - authentication failure

    Add "pts/1" (or whatever test will show you after "ok 1"... like "---- device '/dev/pts/1'.") to end of /etc/securetty.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139