Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Listener::ProFTPd::Auth::Unix;
- use strict;
- use warnings;
- use iMSCP::EventManager;
- iMSCP::EventManager->getInstance()->register(
- 'afterFtpdBuildConf',
- sub {
- my ($tplContent, $tplName) = @_;
- return 0 unless $tplName eq 'proftpd.conf';
- $$tplContent =~ s/(AuthOrder\s+mod_sql.c)/$1 mod_auth_pam.c* mod_auth_unix.c/;
- 0;
- }
- );
- 1;
- __END__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement