[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ftp security




Goetz Lohmann wrote:


after watching my files ;-)

# rpm -qa|grep sg-
sg-cpp-1.1.2-30_SG201_cobalt
sg-egcs-1.1.2-30_SG201_cobalt

I noticed that I installed the RaQ550 compiler a while ago which works still fine on my RaQ4 ...

you might get them from:

# rpm -Uvh ftp://ftp.cobalt.sun.com/pub/products/raq550/RPMS/sg-cpp-1.1.2-30_SG201_cobalt.i386.rpm
# rpm -Uvh ftp://ftp.cobalt.sun.com/pub/products/raq550/RPMS/sg-egcs-1.1.2-30_SG201_cobalt.i386.rpm

So this looks easy enough. Just install these two rpms and then when I compile proftp it will use these to stack harden the installation? If I find some time I will try and read any documentation that may exist on the parent directories to those rpms. This way I don't have to deal with the Stackguard gcc, I'm assuming. - though at this point I don't yet know what a sg-cpp or sg-egcs is.


get proftpd-1.2.8 (better use the 1.2.8 stable the the 1.2.9 RC)

# cd /tmp
# wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.8.tar.bz2
# tar -jxvf proftpd-1.2.8.tar.bz2
# cd proftpd-1.2.8
# ./configure --with-modules=mod_tls --prefix=/usr --sysconfdir=/etc
# make

Do this and then make install would be what I usually do.. any benefit or reason to not do 'make install' and instead copy the files to those directories you listed below?

maybe then copy the files by your own or do a make install
the compiled files are:

ftpcount --> /usr/bin/
ftpshut  --> /usr/sbin/
ftptop   --> /usr/bin/
ftpwho   --> /usr/bin/
proftpd  --> /usr/sbin/
maybe you could also do a RPM file but you have to change the configure line in proftpd.spec first

I don't know what that change would be or where it would go so will consider just doing what you said above that last line. That all sounds good and easy - thanks very much again.

--
cheers, Jim D.