<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Proftpd</id>
	<title>Proftpd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Proftpd"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Proftpd&amp;action=history"/>
	<updated>2026-05-09T16:57:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Proftpd&amp;diff=511&amp;oldid=prev</id>
		<title>Kenneth: Created page with &quot; [root@hal ~]# uname -a  Linux hal.t0e.org 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:34:46 EST 2006 x86_64 x86_64 x86_64 GNU/Linux    [root@hal ~]# yum install proftpd  ...  The ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Proftpd&amp;diff=511&amp;oldid=prev"/>
		<updated>2014-07-24T04:56:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; [root@hal ~]# uname -a  Linux hal.t0e.org 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:34:46 EST 2006 x86_64 x86_64 x86_64 GNU/Linux    [root@hal ~]# yum install proftpd  ...  The ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; [root@hal ~]# uname -a&lt;br /&gt;
 Linux hal.t0e.org 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:34:46 EST 2006 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;
 &lt;br /&gt;
 [root@hal ~]# yum install proftpd&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
The original /etc/proftpd.conf file:&lt;br /&gt;
&lt;br /&gt;
 # This is the ProFTPD configuration file&lt;br /&gt;
 # $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $&lt;br /&gt;
 &lt;br /&gt;
 ServerName                      &amp;quot;ProFTPD server&amp;quot;&lt;br /&gt;
 ServerIdent                     on &amp;quot;FTP Server ready.&amp;quot;&lt;br /&gt;
 ServerAdmin                     root@localhost&lt;br /&gt;
 ServerType                      standalone&lt;br /&gt;
 #ServerType                     inetd&lt;br /&gt;
 DefaultServer                   on&lt;br /&gt;
 AccessGrantMsg                  &amp;quot;User %u logged in.&amp;quot;&lt;br /&gt;
 #DisplayConnect                 /etc/ftpissue&lt;br /&gt;
 #DisplayLogin                   /etc/ftpmotd&lt;br /&gt;
 #DisplayGoAway                  /etc/ftpgoaway&lt;br /&gt;
 DeferWelcome                    off&lt;br /&gt;
 &lt;br /&gt;
 # Use this to excude users from the chroot&lt;br /&gt;
 DefaultRoot                     ~ !adm&lt;br /&gt;
 &lt;br /&gt;
 # Use pam to authenticate (default) and be authoritative&lt;br /&gt;
 AuthPAMConfig                   proftpd&lt;br /&gt;
 AuthOrder                       mod_auth_pam.c* mod_auth_unix.c&lt;br /&gt;
 &lt;br /&gt;
 # Do not perform ident nor DNS lookups (hangs when the port is filtered)&lt;br /&gt;
 IdentLookups                    off&lt;br /&gt;
 UseReverseDNS                   off&lt;br /&gt;
 &lt;br /&gt;
 # Port 21 is the standard FTP port.&lt;br /&gt;
 Port                            21&lt;br /&gt;
 &lt;br /&gt;
 # Umask 022 is a good standard umask to prevent new dirs and files&lt;br /&gt;
 # from being group and world writable.&lt;br /&gt;
 Umask                           022&lt;br /&gt;
 &lt;br /&gt;
 # Default to show dot files in directory listings&lt;br /&gt;
 ListOptions                     &amp;quot;-a&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # See Configuration.html for these (here are the default values)&lt;br /&gt;
 #MultilineRFC2228               off&lt;br /&gt;
 #RootLogin                      off&lt;br /&gt;
 #LoginPasswordPrompt            on&lt;br /&gt;
 #MaxLoginAttempts               3&lt;br /&gt;
 #MaxClientsPerHost              none&lt;br /&gt;
 #AllowForeignAddress            off     # For FXP&lt;br /&gt;
 &lt;br /&gt;
 # Allow to resume not only the downloads but the uploads too&lt;br /&gt;
 AllowRetrieveRestart            on&lt;br /&gt;
 AllowStoreRestart               on&lt;br /&gt;
 &lt;br /&gt;
 # To prevent DoS attacks, set the maximum number of child processes&lt;br /&gt;
 # to 30.  If you need to allow more than 30 concurrent connections&lt;br /&gt;
 # at once, simply increase this value.  Note that this ONLY works&lt;br /&gt;
 # in standalone mode, in inetd mode you should use an inetd server&lt;br /&gt;
 # that allows you to limit maximum number of processes per service&lt;br /&gt;
 # (such as xinetd)&lt;br /&gt;
 MaxInstances                    20&lt;br /&gt;
 &lt;br /&gt;
 # Set the user and group that the server normally runs at.&lt;br /&gt;
 User                            nobody&lt;br /&gt;
 Group                           nobody&lt;br /&gt;
 &lt;br /&gt;
 # Disable sendfile by default since it breaks displaying the download speeds in&lt;br /&gt;
 # ftptop and ftpwho&lt;br /&gt;
 UseSendfile                     no&lt;br /&gt;
 &lt;br /&gt;
 # This is where we want to put the pid file&lt;br /&gt;
 ScoreboardFile                  /var/run/proftpd.score&lt;br /&gt;
 &lt;br /&gt;
 # Normally, we want users to do a few things.&lt;br /&gt;
 &amp;lt;Global&amp;gt;&lt;br /&gt;
   AllowOverwrite                yes&lt;br /&gt;
   &amp;lt;Limit ALL SITE_CHMOD&amp;gt;&lt;br /&gt;
     AllowAll&lt;br /&gt;
   &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 &amp;lt;/Global&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # Define the log formats&lt;br /&gt;
 LogFormat                       default &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %s %b&amp;quot;&lt;br /&gt;
 LogFormat                       auth    &amp;quot;%v [%P] %h %t \&amp;quot;%r\&amp;quot; %s&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # TLS&lt;br /&gt;
 # Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html&lt;br /&gt;
 #TLSEngine                      on&lt;br /&gt;
 #TLSRequired                    on&lt;br /&gt;
 #TLSRSACertificateFile          /etc/pki/tls/certs/proftpd.pem&lt;br /&gt;
 #TLSRSACertificateKeyFile       /etc/pki/tls/certs/proftpd.pem&lt;br /&gt;
 #TLSCipherSuite                 ALL:!ADH:!DES&lt;br /&gt;
 #TLSOptions                     NoCertRequest&lt;br /&gt;
 #TLSVerifyClient                off&lt;br /&gt;
 ##TLSRenegotiate                ctrl 3600 data 512000 required off timeout 300&lt;br /&gt;
 #TLSLog                         /var/log/proftpd/tls.log&lt;br /&gt;
 &lt;br /&gt;
 # SQL authentication Dynamic Shared Object (DSO) loading&lt;br /&gt;
 # See README.DSO and howto/DSO.html for more details.&lt;br /&gt;
 #&amp;lt;IfModule mod_dso.c&amp;gt;&lt;br /&gt;
 #   LoadModule mod_sql.c&lt;br /&gt;
 #   LoadModule mod_sql_mysql.c&lt;br /&gt;
 #   LoadModule mod_sql_postgres.c&lt;br /&gt;
 #&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # A basic anonymous configuration, with an upload directory.&lt;br /&gt;
 #&amp;lt;Anonymous ~ftp&amp;gt;&lt;br /&gt;
 #  User                         ftp&lt;br /&gt;
 #  Group                                ftp&lt;br /&gt;
 #  AccessGrantMsg               &amp;quot;Anonymous login ok, restrictions apply.&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 #  # We want clients to be able to login with &amp;quot;anonymous&amp;quot; as well as &amp;quot;ftp&amp;quot;&lt;br /&gt;
 #  UserAlias                    anonymous ftp&lt;br /&gt;
 #&lt;br /&gt;
 #  # Limit the maximum number of anonymous logins&lt;br /&gt;
 #  MaxClients                   10 &amp;quot;Sorry, max %m users -- try again later&amp;quot;&lt;br /&gt;
 #&lt;br /&gt;
 #  # Put the user into /pub right after login&lt;br /&gt;
 #  #DefaultChdir                        /pub&lt;br /&gt;
 #&lt;br /&gt;
 #  # We want &amp;#039;welcome.msg&amp;#039; displayed at login, &amp;#039;.message&amp;#039; displayed in&lt;br /&gt;
 #  # each newly chdired directory and tell users to read README* files.&lt;br /&gt;
 #  DisplayLogin                 /welcome.msg&lt;br /&gt;
 #  DisplayFirstChdir            .message&lt;br /&gt;
 #  DisplayReadme                        README*&lt;br /&gt;
 #&lt;br /&gt;
 #  # Some more cosmetic and not vital stuff&lt;br /&gt;
 #  DirFakeUser                  on ftp&lt;br /&gt;
 #  DirFakeGroup                 on ftp&lt;br /&gt;
 #&lt;br /&gt;
 #  # Limit WRITE everywhere in the anonymous chroot&lt;br /&gt;
 #  &amp;lt;Limit WRITE SITE_CHMOD&amp;gt;&lt;br /&gt;
 #    DenyAll&lt;br /&gt;
 #  &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 #&lt;br /&gt;
 #  # An upload directory that allows storing files but not retrieving&lt;br /&gt;
 #  # or creating directories.&lt;br /&gt;
 #  &amp;lt;Directory uploads/*&amp;gt;&lt;br /&gt;
 #    AllowOverwrite             no&lt;br /&gt;
 #    &amp;lt;Limit READ&amp;gt;&lt;br /&gt;
 #      DenyAll&lt;br /&gt;
 #    &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 #&lt;br /&gt;
 #    &amp;lt;Limit STOR&amp;gt;&lt;br /&gt;
 #      AllowAll&lt;br /&gt;
 #    &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 #  &amp;lt;/Directory&amp;gt;&lt;br /&gt;
 #&lt;br /&gt;
 #  # Don&amp;#039;t write anonymous accesses to the system wtmp file (good idea!)&lt;br /&gt;
 #  WtmpLog                      off&lt;br /&gt;
 #&lt;br /&gt;
 #  # Logging for the anonymous transfers&lt;br /&gt;
 #  ExtendedLog          /var/log/proftpd/access.log WRITE,READ default&lt;br /&gt;
 #  ExtendedLog          /var/log/proftpd/auth.log AUTH auth&lt;br /&gt;
 #&lt;br /&gt;
 #&amp;lt;/Anonymous&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My modified /etc/proftpd.conf file:&lt;br /&gt;
&lt;br /&gt;
 ServerName                      &amp;quot;-=hello=-&amp;quot;&lt;br /&gt;
 ServerIdent                     on &amp;quot;Hello World&amp;quot;&lt;br /&gt;
 ServerType                      standalone&lt;br /&gt;
 DefaultServer                   on&lt;br /&gt;
 &lt;br /&gt;
 # Port 21 is the standard FTP port.&lt;br /&gt;
 Port                            21&lt;br /&gt;
 &lt;br /&gt;
 # Umask 022 is a good standard umask to prevent new dirs and files&lt;br /&gt;
 # from being group and world writable.&lt;br /&gt;
 Umask                           022&lt;br /&gt;
 &lt;br /&gt;
 # To prevent DoS attacks, set the maximum number of child processes&lt;br /&gt;
 # to 30.  If you need to allow more than 30 concurrent connections&lt;br /&gt;
 # at once, simply increase this value.  Note that this ONLY works&lt;br /&gt;
 # in standalone mode, in inetd mode you should use an inetd server&lt;br /&gt;
 # that allows you to limit maximum number of processes per service&lt;br /&gt;
 # (such as xinetd).&lt;br /&gt;
 MaxInstances                    30&lt;br /&gt;
 &lt;br /&gt;
 # Set the user and group under which the server will run.&lt;br /&gt;
 User                            nobody&lt;br /&gt;
 Group                           nobody&lt;br /&gt;
 &lt;br /&gt;
 # To cause every FTP user to be &amp;quot;jailed&amp;quot; (chrooted) into their home&lt;br /&gt;
 # directory, uncomment this line.&lt;br /&gt;
 DefaultRoot ~&lt;br /&gt;
 &lt;br /&gt;
 # Don&amp;#039;t do ident lookups:&lt;br /&gt;
 # http://freebsd.munk.me.uk/archives/73-ProFTPD-Delay-Whilst-Authenticating.html&lt;br /&gt;
 # When connecting to the proftpd server, a noticeable delay of&lt;br /&gt;
 # around 5 seconds can be seen. To fix this I switched off ident&lt;br /&gt;
 # lookups in proftpd.conf and all was fine:&lt;br /&gt;
 IdentLookups off&lt;br /&gt;
 &lt;br /&gt;
 # Use only AuthUserFiles when authenticating, and not the system&amp;#039;s /etc/passwd&lt;br /&gt;
 # for /etc/passwd mod_auth_unix.c&lt;br /&gt;
 AuthOrder mod_auth_file.c&lt;br /&gt;
 &lt;br /&gt;
 #AuthUserFile -- Specify alternate passwd file&lt;br /&gt;
 AuthUserFile /etc/proftpd/passwd&lt;br /&gt;
 &lt;br /&gt;
 #AuthGroupFile -- Specify alternate group file&lt;br /&gt;
 AuthGroupFile /etc/proftpd/group&lt;br /&gt;
 &lt;br /&gt;
 # make listed files appear to be owned by the logged-in user&lt;br /&gt;
 DirFakeUser on ~&lt;br /&gt;
 &lt;br /&gt;
 # Normally, we want files to be overwriteable.&lt;br /&gt;
 AllowOverwrite on&lt;br /&gt;
 &lt;br /&gt;
 # Delay engine reduces impact of the so-called Timing Attack described in&lt;br /&gt;
 # http://security.lss.hr/index.php?page=details&amp;amp;ID=LSS-2004-10-02&lt;br /&gt;
 # It is on by default.&lt;br /&gt;
 &amp;lt;IfModule mod_delay.c&amp;gt;&lt;br /&gt;
  DelayEngine off&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # Bar use of SITE CHMOD by default&lt;br /&gt;
 &amp;lt;Limit SITE_CHMOD&amp;gt;&lt;br /&gt;
   DenyAll&lt;br /&gt;
 &amp;lt;/Limit&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Anonymous /var/duck&amp;gt;&lt;br /&gt;
   AnonRequirePassword on&lt;br /&gt;
   RequireValidShell off&lt;br /&gt;
   User duck&lt;br /&gt;
   Group duck&lt;br /&gt;
 &amp;lt;/Anonymous&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [root@hal proftpd]# cat group&lt;br /&gt;
 duck:x:501:&lt;br /&gt;
 [root@hal proftpd]# cat passwd&lt;br /&gt;
 duck:$1$6MYsRLDl$NACe/Kd5k5LPM3qQs8niO.:501:501::/var/duck:/bin/false&lt;br /&gt;
&lt;br /&gt;
ftpasswd download from: http://www.castaglia.org/proftpd/contrib/ftpasswd&amp;lt;br&amp;gt;&lt;br /&gt;
ftpasswd info: http://www.castaglia.org/proftpd/&amp;lt;br&amp;gt;&lt;br /&gt;
ftpasswd usage: http://www.castaglia.org/proftpd/contrib/ftpasswd.html&amp;lt;br&amp;gt;&lt;br /&gt;
add user to password file...&amp;lt;br&amp;gt;&lt;br /&gt;
 # echo &amp;quot;password&amp;quot; | ftpasswd --passwd --file=/etc/proftpd/passwd --name=duck --uid=501 --gid=501 --home=/var/duck --shell=/bin/false --stdin&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>