[OpenAFS] wu-ftpd AFS root klog problem

Daniel_Clark@lotus.com Daniel_Clark@lotus.com
Wed, 28 Nov 2001 10:35:52 -0500


>> Does anyone have a method for setting up wu-ftpd so that it doesn't
>> suffer from the problem of giving anonymous ftp users the same acces=
s
>> to AFS as the AFS user root is klogged to?

> Don't klog as root, or get a pag with pagsh when you do, or run ftpd
> from inetd inside a pagsh, or just make ftpd always get a pag.

Thanks, I changed the ftpd line in /etc/inetd.conf to:

ftp stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/ftpd.pagsh

and created /usr/local/sbin/ftpd.pagsh:

#!/usr/bin/pagsh
/usr/sbin/in.ftpd -l -a

and the problem is gone.

--
Daniel Clark =A7 Sys Admin & Assistant Release Engineer
IBM =BB Lotus =BB Messaging Technology Group (MTG)=