From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 14:36:40 2005 Return-Path: X-Original-To: freebsd-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 4C99E16A468 for ; Sun, 13 Nov 2005 14:36:40 +0000 (GMT) (envelope-from jamesog@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id B235F43D46 for ; Sun, 13 Nov 2005 14:36:39 +0000 (GMT) (envelope-from jamesog@gmail.com) Received: by nproxy.gmail.com with SMTP id n28so232407nfc for ; Sun, 13 Nov 2005 06:36:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZaY2pg4qVHSKcmRzROO1+C0Pm2PvKw9FqhZz3L9+qFhViJoYdjTm6+haLafI+I56rQIDyo9Hoh578E7gw89q1YlwghDCP/D78fDrmrdh5JS0EqLhvl++/yx1qZh/1icis3EVbUidA/6kAhRQFWLHNwAX+rzm3wMI36Tc/v5xcV0= Received: by 10.48.199.3 with SMTP id w3mr154069nff; Sun, 13 Nov 2005 06:36:38 -0800 (PST) Received: by 10.49.1.5 with HTTP; Sun, 13 Nov 2005 06:36:38 -0800 (PST) Message-ID: <59a5010d0511130636ld1f3ee9r@mail.gmail.com> Date: Sun, 13 Nov 2005 14:36:38 +0000 From: James O'Gorman To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: How to use pam_group? 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: Sun, 13 Nov 2005 14:36:40 -0000 Hi, [Please keep me CC:d as I'm not subscribed] I've been trying to use pam_group.so to limit who can login to various services such as FTP and IMAP, but I can't seem to get it working. For example, I took the stock /etc/pam.d/ftp and added: auth=09requisite=09pam_group.so=09group=3Dftpusers fail_safe after the auth pam_unix.so line, but with this line in there, no-one can login to FTP, not even users in ftpusers, but if I comment out that line, obviously everyone can login. I've tried required/requisite but neither work. Can anyone see what I might be doing wrong? This is on 6.0-RELEASE. Thanks, James