diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-08-10 00:06:18 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-08-10 00:06:18 +0000 |
commit | 26b71879a495c7f2939bf282eaca991c97f38d22 (patch) | |
tree | 8711fb11c1aa5ba2a49202da0f6a4f146c0863ad | |
parent | d38105145f04f8a7807bfa7085ed6e9ddd5d1795 (diff) | |
download | drakwizard-26b71879a495c7f2939bf282eaca991c97f38d22.tar drakwizard-26b71879a495c7f2939bf282eaca991c97f38d22.tar.gz drakwizard-26b71879a495c7f2939bf282eaca991c97f38d22.tar.bz2 drakwizard-26b71879a495c7f2939bf282eaca991c97f38d22.tar.xz drakwizard-26b71879a495c7f2939bf282eaca991c97f38d22.zip |
fix pb of root login
-rwxr-xr-x | ftp_wizard/Proftpd.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |