Jim Hale wrote:
>
> Thanks for the info

>
> I got a hold of the Chroot RPM for SME (5.5) but I can't seem
> to make it work right. :/
>
> It installed fine but when I try to lock a person into a
> directory, it doesn't seem to change what it needs to.
>
> I tried:
>
> /sbin/e-smith/db accounts setprop jim Chroot yes \ChrootDir
> /home/e-smith/files/users/jim/home
>
> And
>
> /sbin/e-smith/db accounts setprop jim Chroot yes \ChrootDir
> home
>
> And than ran
>
> /sbin/e-smith/signal-event remoteaccess-update
>
> But when I FTP over to the box, it still lets me navigate up
> the folder tree to /home/e-smith/files.
>
> Am I typing a parameter wrong? Please let me know.
Yes.
The backslash in the example is due to the example covering 2 lines, and the path must be the exact directory.
Single line you want:
/sbin/e-smith/db accounts setprop jim Chroot yes ChrootDir /home/e-smith/files/users/jim/home
then
/sbin/e-smith/signal-event remoteaccess-update
--
Damien