From owner-freebsd-security@FreeBSD.ORG Tue Jan 13 00:38:02 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6564316A4CE for ; Tue, 13 Jan 2004 00:38:02 -0800 (PST) Received: from mx1.webspacesolutions.com (ns1.webspacesolutions.com [216.74.11.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 3661243D49 for ; Tue, 13 Jan 2004 00:38:01 -0800 (PST) (envelope-from nick@webspacesolutions.com) Received: (qmail 20010 invoked by uid 507); 13 Jan 2004 08:26:06 -0000 Received: from nick@webspacesolutions.com by ns1.webspacesolutions.com by uid 504 with qmail-scanner-1.20rc1 (clamuko: 0.65. spamassassin: 2.55. Clear:RC:1:. Processed in 0.019108 secs); 13 Jan 2004 08:26:06 -0000 Received: from 24-205-247-185.ata-cres.charterpipeline.net (HELO beastie) (24.205.247.185) by mx1.webspacesolutions.com with SMTP; 13 Jan 2004 08:26:06 -0000 From: "Nick Twaddell" To: Date: Tue, 13 Jan 2004 00:38:28 -0800 Organization: Web Space Solutions MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcPZsJ4bOUdeZ9jHTOaMxTCcfZ6M6g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Qmail-Scanner-Message-ID: <107398236663620005@ns1.webspacesolutions.com> Message-Id: <20040113083801.3661243D49@mx1.FreeBSD.org> Subject: pam_chroot X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 08:38:02 -0000 Has anyone got the pam_chroot module to successfully work in FreeBSD? I have FreeBSD 5.2-RELEASE installed. I copied the appropriate binaries and libraries into my chroot, I can chroot -u test -g test /home/test /usr/local/bin/bash and it works perfectly. So now I am trying to get the pam module to work. I added session required pam_chroot.so debug into the /etc/pam.d/sshd file. I changed my passwd file so my home dir is /home/test/./ when I try to login as that user, it just kicks me right now. There are no errors in the log :( Connection to wp1 closed by remote host. Connection to wp1 closed. Maybe someone in here can help. Nick ---------------------------------------------------------------------------- -------- Nick Twaddell Web Space Solutions Ph: (805) 704-4038 Fx: (805) 434-2477