I've just installed app-misc/jail and created the chroot'ed environment 
(following http://gentoo-wiki.com/HOWTO_Jail). Now when I try to do a
'su - prisoner' or 'ssh [EMAIL PROTECTED]' I'm only getting a "jail: 
execve() : No such file or directory" and if I do a starce this is what I 
get:

getuid()                                = 1003
getgid()                                = 100
setgid(0)                               = -1 EPERM (Operation not permitted)
write(2, "jail: can\'t chroot(). (Is jail o"..., 74jail: can't chroot(). (Is 
jail owned by root and has setuid permissions?)
) = 74
exit_group(-1)                          = ?

# ll /usr/bin/jail
-rws--x--x 1 root root 19136 Aug 26 14:08 /usr/bin/jail*

Any suggestions on how to solve?
-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Attachment: pgpXPf9lNRmWD.pgp
Description: PGP signature

Reply via email to