Dear friends,
I had configure webmin+virtualmin for virtual hosting on fedora core 8,almost every moudle work prefec but proftpd (v 1.3.1)problem with ftp login, anonymous login is working but while creating user with virutalmin i can’t logon with specfic user account to virtual ftp host.
Below is config file of ProFTPD.(This is testing machine configuration same as host server)
This is the ProFTPD configuration file
ServerName "ProFTPD server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
#ServerType inetd
DefaultServer on
AccessGrantMsg "User %u logged in."
DeferWelcome off
Use this to excude users from the chroot
DefaultRoot ~ !adm
Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups off
UseReverseDNS off
Port 21 is the standard FTP port.
Port 21
Umask 022 is a good standard umask to prevent new dirs and files
from being group and world writable.
Umask 022
Default to show dot files in directory listings
ListOptions "-a"
Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on
MaxInstances 20
Set the user and group that the server normally runs at.
User ftp
Group ftp
Disable sendfile by default since it breaks displaying the download speeds in
ftptop and ftpwho
UseSendfile no
This is where we want to put the pid file
ScoreboardFile /var/run/proftpd.score
Normally, we want users to do a few things.
<Global>
AllowOverwrite yes
<Limit ALL SITE_CHMOD>
AllowAll
</Limit>
</Global>
Define the log formats
LogFormat default "%h %l %u %t "%r" %s %b"
LogFormat auth "%v [%P] %h %t "%r" %s"
ServerType standalone
<VirtualHost 192.168.0.134>
ServerName slsinfotech.com
<Anonymous /home/slscorp/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
<Limit WRITE>
DenyAll
</Limit>
RequireValidShell off
ExtendedLog /home/slscorp/logs/ftp.log
</Anonymous>
</VirtualHost>