First of im using FC5 on a G4 mac. I downloaded the latest jailkit from
http://olivier.sessink.nl/jailkit/index.html
I have got everything setup and configured just how the documentation says to do so here:
http://olivier.sessink.nl/jailkit/howtos_ssh_only.html
yet i am unable to login as that user. the error i get is:
Code:
[root@localhost ~]# ssh john@localhost
john@localhost's password:
Last login: Fri Oct 6 10:18:40 2006 from localhost.localdomain
Could not chdir to home directory /home/chrootusers/./home/john: No such file or directory
Connection to localhost closed.
[root@localhost ~]#
the line in /etc/passwd is:
Code:
john:x:1002:100::/home/chrootusers/./home/john:/usr/sbin/jk_chrootsh
line from /etc/group is:
line from /home/chrootusers/etc/passwd is:
Code:
john:x:1002:100::/home/johusers:x:100:
n:/bin/bash
line from /home/chrootusers/etc/group is:
permissions on /home is:
Code:
drwxr-xr-x 8 root root 4096 Oct 6 10:22 chrootusers
drwxr-xr-x 3 501 john 4096 Oct 6 10:24 john
If anybody has any ideas or suggestions it would be greatly apprieciated. All im really trying to accomplish here is to let somebody tunnel through the box. i really dont want them to do anything else on the box or view anything... just tunnel through it via ssh.