Update ProFTPd auf Version 1.2.9

~ 0 min
2007-08-08 02:54

Da die vorinstallierte ProFTPd Version schon ziemlich alt ist, hier eine Anleitung zum Update.

Vorbereitungen:

/etc/proftpd.conf sichern
[code]
cp /etc/proftpd.conf /etc/proftpd.conf.bak
[/code]
rcinetd stop #xinetd Daemon
[code]wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz
tar zxvf proftpd-1.2.9.tar.gz
cd proftpd-1.2.9

./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--localstatedir=/var/run \
--disable-sendfile \
--with-modules=mod_ratio:mod_readme:mod_linuxprivs:mod_pam
make
make install
[/code]

Überprüfen ob die /etc/proftpd.conf überschrieben wurde und ggf. wiederherstellen.

rcinetd start


Jetzt sollte der FTPd wie gewohnt funktionieren. Falls in /var/log/messages nach einem Login PAM Warnungen auftreten, überprüft ob in euerer proftpd.conf folgendes enthalten ist:

# Enable PAM for authentication...
#
AuthPAM                         on

# This directive allows you to specify the PAM service name used

# in authentication (default is "proftpd" on SuSE Linux).

# You have to setup the service in the /etc/pam.d/<other_name>.

#
AuthPAMConfig                   proftpd

Das wars...

Durchschnittliche Bewertung 0 (0 Abstimmungen)

Es ist möglich, diese FAQ zu kommentieren.