From: "Urivan Saaib" <[EMAIL PROTECTED]>

> Tim,
>
> > We intend to get freeVSD to a stage where it requires as few patched
files
> > as possible. We implemented pam_vsd in order to remove patches which
simply
> > checked against the vsd privilege file. ProFTP is an example of this, so
> > from 1.4.10 a patched version of ProFTP is not required...
>
> What about the implementation in 1.4.9-2 ? Or which is the way you solve
> the puzzle of the chrtftp user right into the chrooted ftp enviroment
> (without editing the proftpd.conf file of course) in 1.4.9-2 ?
>
> I was thinking something related to pam.d/ftp (thats why i ask a 1.4.10
> user for the grep outuput), but looks like pam.d/ftp on 1.4.10 has nothing
> different than 1.4.9-2.
>


Here is an updated patch file for ProFTPD-1.2.4 which makes the chrtftp priv
work again. It does not include the part of the original ProFTPD vsd patch
file which has been superceded by pam_vsd.

http://www.expio.co.nz/~sgarner/freevsd/rh72pkgs/SOURCES/proftpd-1.2.4-freev
sd.patch

I haven't created corresponding RPMs with this patch file as I'm not sure
what RPM to start with. There is no Red Hat RPM for ProFTPD (as they still
distribute wu-ftpd instead), and ftp.proftpd.org does not yet provide an RPM
for v1.2.4.

I didn't really want to spend the time to generate my own proftpd RPM from
scratch, so I'll just provide the patch for now.

To use the patch, first grab the ProFTPD 1.2.4 sources from
http://www.proftpd.org and extract, then apply like so:

    patch -p1 < /path/to/proftpd-1.2.4-freevsd.patch

Then compile ProFTPD on your host system like:





./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-pa
m
    make
    make install

You might want to also do:

    make clean
    ./configure --prefix=/usr/local/proftpd --enable-pam
    make
    make install

Then you can look in /usr/local/proftpd to see all the files you need to
copy from the system directories (from the first install) into your skel.

Cheers,

Simon

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to