Original problem: Couldn't get 'ls' to work for ftp in chrooted environment.
Thanks to the following for responding.
Arthur Darren Dunham
Patrick L. Nolan
Casper got it right. I had brain farted and forgot to verify that the
partition wasn't mounted with the 'nosuid' option. (ie for clarity. the
partion must allow setuid for the devices to work) Ahh, the heat of battle!
>"Did you mount ~ftp nosuid (if so, then don't: nosuid also disables
As far as the following. Actually building this is fairly involved but one
http://www.wins.uva.nl/pub/solaris/solaris2/Q6.24.html for more info.
Although there is a procedure that works for Solaris 2.6, which I wasn't
sure last night would work on Solaris 7. See:
http://www.wildheart.org/wu-ftpd/ or the Sun Manager Archives.
>The static one should actually be easier; there are no library dependencies
>on the chroot'd files.
One reply stated that this may be important. I thought so as well, but
this file doesn't actually exist and a 'truss /bin/ls -l' also gives this
statement with no adverse affects. So who knows?
> 25788: open("/usr/platform/SUNW,SPARCstation-10/lib/libc_psr.so.1",
> O_RDONLY) Err#2 ENOENT
And yes Steve, I did check the man page for ftpd as was stated in my
>Have you ever checked man ftpd on Solaris 7?
Thanks again all.
Department of Nuclear Engineering
University of California at Berkeley
-----BEGIN PGP PUBLIC KEY BLOCK-----
-----END PGP PUBLIC KEY BLOCK-----
The manual said, "NT4 or better," so I installed Solaris.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT