Re: Chroot Faile, Operation not permitted
Brought to you by:
xystrus
From: Guillaume L. <gui...@ox...> - 2005-08-23 16:19:16
|
Hello Derek, With the bit 's' it's work fine, thank :) Thank for your assit, great application :) Good bye Derek Martin wrote: > On Tue, Aug 23, 2005 at 05:20:42PM +0200, Guillaume Leccese wrote: > >>Aug 23 19:27:07 localhost rssh_chroot_helper[3710]: chroot() failed, >>/space2/chroot: Operation not permitted >> >>Anyone have an idea ? > > > It looks like rssh_chroot_helper is not SUID root... It needs to run > with root privileges to use the chroot() system call. Use ls to look > at the chroot helper: > > $ whereis rssh_chroot_helper > rssh_chroot_helper: /usr/libexec/rssh_chroot_helper > $ ls -l /usr/libexec/rssh_chroot_helper > -rwsr-xr-x 1 root root 40023 Dec 30 2004 /usr/libexec/rssh_chroot_helper > > See that 's' in the permissions? That means the program is SUID. The > owner must be root... If it is not set up that way, it will not work. > > HTH, > Derek > -- Guillaume Leccese - Consultant 13, rue Greneta 75003 Paris tel: 01 44 78 63 66 - fax: 01 44 78 63 65 http://www.oxalide.com |