On Tue, 28 Dec 1999, Jim Sullivan wrote:
> Hello:
>
> I am attempting to set up an AFS FTP server utilising Solaris 2.5.1 as a
>
> base operating system. Unfortunately, it seems that I cannot create the
> necessary device files using mknod (/dev/zero /dev/tcp /dev/udp
> /dev/ticotsord) in AFS for this to work properly. I want to create an
> ftp area where all of my users can add files for download and anonymous
> users can upload files, and AFS space would be the ideal. I have
> compiled various alternatives, such as beroftp & wu-ftpd, but they all
> have the same problem as the ftpd program that comes with AFS: they
> 'chroot' to the 'ftp' user directory (which excludes links to device
> files on the local disk from AFS and excludes links to AFS from the
> local disk if moving the ftp user directory to the local disk). Has
> anyone else set this up properly under Solaris to be able to provide me
> with the procedure?
>
You need to make the device files locally. For instance, in
/var/devices, you mknod tcp, ticotsord, udp, and zero. Then you mount
that directory in afs space with a vfstab entry similar to this:
/var/devices - /afs/cell/root/to/ftp/dev lofs - no -
Of course if you were using 2.6, you wouldn't have to do this :)
-Brian
--
Brian Wilson [EMAIL PROTECTED]
Systems Programmer (919) 515-5498
Information Technology 207E Hillsborough Building
North Carolina State University http://www4.ncsu.edu/~wilson