From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 08:04:02 2003 Return-Path: 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 6CDEF16A4B3 for ; Sat, 4 Oct 2003 08:04:02 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1BA243FCB for ; Sat, 4 Oct 2003 08:04:01 -0700 (PDT) (envelope-from freebsduser@comcast.net) Received: from patience (12-225-143-41.client.attbi.com[12.225.143.41]) by comcast.net (rwcrmhc11) with SMTP id <2003100415040001300lqc5ue>; Sat, 4 Oct 2003 15:04:01 +0000 Message-ID: <008f01c38a88$b9939c70$5864a8c0@patience> From: "cuddlesomebunny" To: "twig les" , References: <20031003200604.27927.qmail@web10101.mail.yahoo.com> Date: Sat, 4 Oct 2003 08:03:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Where to find pam_unix documentation? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2003 15:04:02 -0000 ----- Original Message ----- From: "twig les" To: Sent: Friday, October 03, 2003 1:06 PM Subject: Where to find pam_unix documentation? > Hey *, I'm trying to do something fairly simple. On a 4.6 > Release box I would like to force all users to choose passwords > over a certain length and of a certain complexity. Now before > anyone jumps and says to edit /etc/login.conf, please note that > I tried that and it did not work. I don't want to get into too > much detail there because my req's that management handed down > go beyond the stated abilities there anyway; I need PAM. > > So basically from the docs here: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html > I gather that the module I need is pam_unix, but when I look for > the man page...nothing. I've spent about an hour on google now > also and found plenty of developers and admins talking about > using it, but nothing resembling a man page or even a how-to. > > Specifically I need to enforce the use of a mix of alphanumeric > and special chars, a minimum length, passwd expiration (with > forewarning preferably), passwd history, and account lockouts. > Note: I will gladly RTFM. Muchas thnx. According to man -w pam_unix it is located in /usr/share/man/man8/pam_unix.8.gz. I am using freeBSD 5.1.x Didja check freeBSD's site? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-freebsd-modules.html Or go here (Once you get there be sure to change the OS version to match yours) http://www.freebsd.org/cgi/man.cgi?query=pam_unix&apropos=0&sektion=8&manpath=FreeBSD+4.8-RELEASE&format=html For a (I found one on google) How to (or so the article claims) http://www.wlug.org.nz/HowToUserAuthenticationHOWTO Here's a How To for Apache and mod_auth_pam http://www.linuxvalley.it/encyclopedia/ldp/howto/HOWTO/User-Authentication-HOWTO/x302.html Here's some simple stuff from Red Hat http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-pam-samples.html Dunno what you were searching on but hope this helps.