[Chrootssh-users] ...on FreeBSD4_8REL
Brought to you by:
punkball
From: Andy K. <an...@sy...> - 2003-06-17 15:10:42
|
Hmm, fail to see how this patch is supposed to work. I followed the instructions and testing $ chroot /home/user /bin/sh worked a treat so I know I had the setup correct. So I hacked the code and added in some debugging. It seems to me the chroot call is made after the child process has changed it's uid/gid away from the super-user process. chroot doesn't work if your not a super-user ???? Explanations on a pCard fwiw, FreeBSD 4.8 REL, using 3.6.1 patch (applying and build the patch was fine, just didn't chroot on login) --Ak |