Page 1 of 1

Proftp change port or proftpd compatible

Posted: Tue Feb 27, 2018 3:12 pm
by raptor666
Hi!

I would like to ask for help!

The proftpd server wants to change port or resolve it to be compatible with mod_auth_file.c. Because I would use an open game board and have a "proftpd" server. Thank you in advance for your help.

Re: Proftp change port or proftpd compatible

Posted: Wed Feb 28, 2018 7:03 am
by mehargags
Change port in

Code: Select all

nano /etc/proftpd.conf
Also add that port to ACCEPT in firewall and then restart FTP from "server" tab

Re: Proftp change port or proftpd compatible

Posted: Wed Feb 28, 2018 1:35 pm
by raptor666
How to I'M for proftpd.conf:
ServerName "FTP"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
DefaultServer on
DefaultRoot ~ !adm

<IfModule mod_vroot.c>
VRootEngine on
VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
</IfModule>

AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
UseReverseDNS off
User proftpd
Group nogroup
MaxInstances 20
UseSendfile off
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
ListOptions -a
RequireValidShell off
PassivePorts 12000 12100

<Global>
Umask 002
IdentLookups off
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>
Where can it be?
Or would somehow be able to work with proftpd mod_auth_file.c? Or does this save the data in mysql?
Somehow I need to solve the fact that the opengame panel agent also has access to create an account.