Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 21:10:34 -0800
From:      "Nick Twaddell" <nick@webspacesolutions.com>
To:        <freebsd-questions@freebsd.org>
Subject:   pam_chroot
Message-ID:  <20040113051020.6E9DC43D1F@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?20040113051020.6E9DC43D1F>