<SUMMARY>ls for ftp on Solaris 7

From: Bill Hebert (bhebert@nuc.berkeley.edu)
Date: Tue Jun 29 1999 - 12:20:05 CDT


Original problem: Couldn't get 'ls' to work for ftp in chrooted environment.

Thanks to the following for responding.
Casper Dik
Tim Pointing
Mark Neill
Steven Xiao
Bob Fulwiler
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
>devices)"
>Casper

As far as the following. Actually building this is fairly involved but one
may see:
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
original post.
>Have you ever checked man ftpd on Solaris 7?

Thanks again all.
Bill Hebert
System Administrator
Department of Nuclear Engineering
University of California at Berkeley
510-642-1021
bhebert@nuc.berkeley.edu

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzTSOtkAAAEEAMMTahRxGqiEpjd60CxUHenhH/g1Fl5FIhN+QxqBtW8AXsG5
ghm1PUft5/x3A8/VvAvDowkNVafN880iTNW8X/1YK2Ow5CbL0YSelgyURKbG692V
UHnqu+c9s/P8yNWmZo1G6ke4NCPZYesbSAwvjzihSReap91Dt8OT/p4cEbFpAAUR
tCZCaWxsIEhlYmVydCA8YmhlYmVydEBudWMuYmVya2VsZXkuZWR1Pg==
=hmMR
-----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