From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 17:46:47 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A1416A41F for ; Fri, 30 Sep 2005 17:46:47 +0000 (GMT) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (spoon.beta.com [199.165.180.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFC543D4C for ; Fri, 30 Sep 2005 17:46:46 +0000 (GMT) (envelope-from mcgovern@spoon.beta.com) Received: from spoon.beta.com (localhost.beta.com [127.0.0.1]) by spoon.beta.com (8.13.3/8.13.3) with ESMTP id j8UHkh6x038676 for ; Fri, 30 Sep 2005 13:46:43 -0400 (EDT) (envelope-from mcgovern@spoon.beta.com) Message-Id: <200509301746.j8UHkh6x038676@spoon.beta.com> To: questions@freebsd.org Date: Fri, 30 Sep 2005 13:46:43 -0400 From: "Brian J. McGovern" X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on spoon.beta.com Cc: Subject: Simple PAM authentication code? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 17:46:47 -0000 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