Red Hat Bugzilla – Bug 119676
pam_chroot does not work with openssh
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
it is not possible to use pam_chroot with ssh.
The configuration works with a local login.
I suspect the priviledge separation code is the culprit.
See bug 98330. Could be a duplicate.
I tried to use it with the priv. sep. turned off, but still it remains.
After username and password, the login hangs.
/var/log/security states that the chdir and chroot was done sucessful.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure pam_chroot
2. try to login as chrooted user
Actual Results: ssh login hangs
Expected Results: chrooted access
Please try if packages from http://people.redhat.com/tmraz/testing/
work. However as they aren't official they aren't supported so use
them only for testing.
No response from the reporter.
(In reply to comment #2)
> No response from the reporter.
Sorry, forgot about the bugzilla update. The test version works nicely.
(both pam_chroot and password aging)