Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 00:38:28 -0800
From:      "Nick Twaddell" <nick@webspacesolutions.com>
To:        <freebsd-security@freebsd.org>
Subject:   pam_chroot
Message-ID:  <20040113083801.3661243D49@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040113083801.3661243D49>