From 26b71879a495c7f2939bf282eaca991c97f38d22 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Tue, 10 Aug 2004 00:06:18 +0000 Subject: fix pb of root login --- ftp_wizard/Proftpd.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'ftp_wizard') diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm index a2ef0f66..4f6bb5cc 100755 --- a/ftp_wizard/Proftpd.pm +++ b/ftp_wizard/Proftpd.pm @@ -297,6 +297,7 @@ sub do_it { } else { substInFile { s/ServerAdmin.*// } $file } change_options($o->{var}{wiz_root_login}, "RootLogin"); + if (o->{var}{wiz_root_login} == 1) { substInFile { s/root// } "/etc/ftpusers" } change_options($o->{var}{wiz_ftp_fxp}, "AllowForeignAddress"); # in ftp resume there is two options (store or retrieve) change_options($o->{var}{wiz_ftp_resume}, "AllowStoreRestart"); -- cgit v1.2.1