PDA

View Full Version : Jail Problem...



dmtinc
06-17-2008, 07:18 AM
hi, i'm using the custom build 1.1.13

but a have this problem



dmtinc:/usr/local/directadmin/custombuild# ./jail/jail_user.sh white
cp: cannot stat `/usr/local/directadmin/custombuild/jail/su': No such file or directory
cp: cannot create regular file `/home/white/lib/tls/i686/cmov/libc.so.6': No such file or directory


Distro: Debian Etch 32 bits

any suggestion???

Thanks for your help
Regards
dmtinc

DirectAdmin Support
06-17-2008, 04:10 PM
Hello,

My guess is that the su binary didn't compile.

What output do you get from:
cd /usr/local/directadmin/custombuild
./build coreutilsJohn

Scormen
06-18-2008, 06:16 AM
Hi,

I'm having the same problem as dmtinc. When I do ./build coreutils I get this error:


cp: cannot create regular file `../jail/su': No such file or directory

Kris

felosi
06-18-2008, 06:20 PM
I had a problem too where it was looking for customapache doing that so here is what I done.

ln -s /usr/local/directadmin/custombuild /usr/local/directadmin/customapache

then it worked but after I got everything working on jailing users it errored on libmysqlclient copying but everything seemed to work properly after clients were jailed.

jailing ssh accounts is a must with directadmin, the loose permissions on public_html and others leave users files to be seen and accessed by anyone with shell on the server

it seems to be working ok despite the errors

dmtinc
06-18-2008, 10:38 PM
Hello,

My guess is that the su binary didn't compile.

What output do you get from:
cd /usr/local/directadmin/custombuild
./build coreutilsJohn

after build coreutils again.... i get this when i try to jail a user



/usr/local/directadmin/custombuild# ./jail/jail_user.sh white
cp: cannot create regular file `/home/white/lib/tls/i686/cmov/libcrypt.so.1': No such file or directory
cp: cannot create regular file `/home/white/lib/tls/i686/cmov/libc.so.6': No such file or directory
cp: cannot create regular file `/home/white/lib/tls/i686/cmov/libc.so.6': No such file or directory


Thanks For Your Help and Support
Regards
dmtinc