1834449 Members
2593 Online
110067 Solutions
New Discussion

chroot not working

 
SOLVED
Go to solution
Michael Schulte zur Sur
Honored Contributor

Re: chroot not working

Hi John,

the commands are going into
~ftp/usr/bin
and should be executable only 111.
Of course all directories other than that for to write for the guest must be 555.
Have a look in man ftpd.

greetings,

Michael
John Meissner
Esteemed Contributor

Re: chroot not working

Thanks for that bit Michael. I guess that about wraps it up. Thanks everyone... This forum is so useful... my problem was solved in a matter of about an hour. Great work everyone!
All paths lead to destiny
john korterman
Honored Contributor

Re: chroot not working

Hi,
just a smal detail. You say that:
".. had to creat /usr/bin/ and /usr/lib under /usr/sap/trans and copy the nexessary files there for him to run the ls command.."

you normally copy the /sbin/ls to the user's /usr/bin dir as root's ls command is statically linked, for which reason the user's /usr/lib dirs are not necessary.

regards,
John K.
it would be nice if you always got a second chance