Simple PAM authentication code?

From: Brian J. McGovern (mcgovern_at_beta.com)
Date: 09/30/05

  • Next message: Kris Kennaway: "Re: pkg_add problem"
    To: questions@freebsd.org
    Date: Fri, 30 Sep 2005 13:46:43 -0400
    
    

    Could someone point me at a short, straight forward bit of code that
    validates a given username and password via PAM? I've tried writing a short
    app to make sure PAM is working the way I want to locally, but no matter how
    good the info, I'm getting an authentication denied, so I know I'm
    missing something.

    The openpam site didn't seem to helpful documentation wise, and my connection to
    download the source seems to be timing out at the moment...

            -B
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Kris Kennaway: "Re: pkg_add problem"

    Relevant Pages

    • RE: SSH authentication via PAM
      ... Depending on your PAM ... Regardless of how PAM works, I won't be able to get any of the module-types to authenticate, authorize, or account if sshd does not pass the username correctly. ...
      (SSH)
    • Re: SSH bruteforce on its way...
      ... > evidence of existing timing attacks against openssh. ... The worst thing I find is that ssh brute forcers have been harvesting email ... there's more then one way to harvest a username. ... Actually it happened in the PAM backend used by OpenSSH portable on Linux ...
      (Incidents)
    • newbie: help writing pam-aware app
      ... guide and the app developer's guide I put together a little app to see ... supplied to pam isn't associated with the password obtained through ... This seems to be the case when the username is ... Note that the authentication failed even though the password for root ...
      (comp.os.linux.development.apps)
    • Re: newbie: help writing pam-aware app
      ... I'm having exactly the same problems with PAM. ... > guide and the app developer's guide I put together a little app to see ... This seems to be the case when the username is ... > Note that the authentication failed even though the password for root ...
      (comp.os.linux.development.apps)
    • Re: pam-krb5 3.6 released
      ... verify the tickets, but this means the application needs to run as root ... pam-krb5 is a Kerberos v5 PAM module for either MIT Kerberos or Heimdal. ... supports configuration either by PAM options or in krb5.conf or both. ... similar work uses the correct username but only change the PAM ...
      (comp.protocols.kerberos)