[Chrootssh-users] /./ in /etc/passwd causes login failure.
Brought to you by:
punkball
|
From: Michael B. <MBe...@st...> - 2004-10-21 06:21:48
|
Patched SSH3.8.1p1-8(Debian Sarge) with osshChroot-3.8.1p1.diff. Standard /etc/passwd (i.e. no "/./") works fine. Adding "/./" to users results in login failure:=20 mbellears3:x:1003:100::/./var/www/mbellears3:/bin/sh (I have tried placing the "/./" in various locations of the user home dir without success)=20 Oct 21 16:18:28 localhost sshd[1016]: Could not reverse map address 192.168.1.11. Oct 21 16:18:30 localhost sshd[1016]: Accepted password for mbellears3 from 192.168.1.11 port 32920 ssh2 Oct 21 16:18:30 localhost sshd[1016]: (pam_unix) session opened for user mbellears3 by (uid=3D0) Oct 21 16:18:30 localhost sshd[1017]: fatal: Couldn't chroot to user directory Oct 21 16:18:30 localhost sshd[1017]: (pam_unix) session closed for user mbellears3 Oct 21 16:18:30 localhost sshd[1016]: syslogin_perform_logout: logout() returned an error Oct 21 16:18:30 localhost sshd[1016]: (pam_unix) session closed for user mbellears3 My chroot Jail is /var/chroot/apache SFTP + SSH both fail is the same manner. Regards, MB |