From aa47b5636ca8806bc88cc8cd4c0eedf1ffb6e683 Mon Sep 17 00:00:00 2001 From: gine Date: Sun, 25 Oct 2015 19:32:36 +0100 Subject: [PATCH] improving readme --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a5ab10a..347f5e0 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,13 @@ Ortiche pure_authd authenticator script written in perl. Based on ziokernel code Dependencies --- -apt-get install pure-ftpd \ - libcrypt-eksblowfish-perl \ - libclass-mix-perl \ - libparams-classify-perl \ - liblog-log4perl-perl \ - dh-make-perl +apt-get install pure-ftpd libcrypt-eksblowfish-perl libclass-mix-perl libparams-classify-perl liblog-log4perl-perl dh-make-perl dh-make-perl --build --cpan Crypt::Passwd::XS dpkg -i libcrypt-passwd-xs-perl_0.601-1_amd64.deb +[1] https://wiki.debian.org/PerlFAQ + Config --- @@ -31,7 +28,6 @@ vi /usr/local/ortiche/pureftpd-auth/auth/pureftpd.pl #!/usr/bin/perl - $DB_DB="ftp_db"; $DB_HOST="localhost"; $DB_USER="ftp_user_ro"; @@ -41,9 +37,9 @@ $DB_TABLE="ftp_table"; Running --- -/usr/sbin/pure-ftpd -d -A -B -4 -Z -p 50000:50601 -H -Y 1 -E -k 98 -C 5 -c 30 -lextauth:/var/run/pure-ftpd/extauth.sock +/usr/sbin/pure-ftpd -d -A -B -4 -Z -p 50000:50601 -H -Y 1 -E -k 95 -C 5 -c 30 -lextauth:/var/run/pure-ftpd/extauth.sock -B -/usr/sbin/pure-authd -s /var/run/pure-ftpd/extauth.sock -r /usr/local/ortiche/pureftpd-auth/pureftpd-auth.pl & +/usr/sbin/pure-authd -s /var/run/pure-ftpd/extauth.sock -r /usr/local/ortiche/pureftpd-auth/pureftpd-auth.pl -B