Revision [1190]
Last edited on 2007-11-26 20:55:22 by WikiAdminAdditions:
== Per user setting sample==
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# performance settings
UseReverseDNS off
IdentLookups off
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
TransferLog /var/log/xferlog
# per user setting - required mod_ifsession
# disallow download
DenyAll
# Limit read in the incoming directory
AllowAll
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# performance settings
UseReverseDNS off
IdentLookups off
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600
TransferLog /var/log/xferlog
# per user setting - required mod_ifsession
# disallow download
DenyAll
# Limit read in the incoming directory
AllowAll
Revision [1018]
Edited on 2007-10-09 03:50:19 by WikiAdminAdditions:
After the above installation, a sample config file will be created in /etc/proftpd.conf. It should be a good starter.
Revision [1017]
Edited on 2007-10-09 03:49:35 by WikiAdminAdditions:
ftpasswd --group --gid 5001 --file /etc/proftpd.group --name testgp
ftpasswd --passwd --file proftpd.passwd --name tester --uid 1001 --gid 5001 --home /var/ftp/tester --shell /sbin/nologin
chgrp 5001 /var/ftp/tester
chmod 755 /var/ftp/tester
ftpasswd --passwd --file proftpd.passwd --name tester --uid 1001 --gid 5001 --home /var/ftp/tester --shell /sbin/nologin
chgrp 5001 /var/ftp/tester
chmod 755 /var/ftp/tester
Deletions:
ftpasswd --passwd --file proftpd.passwd --name tester --uid 1001 --gid 101 --home /var/ftp/tester --shell /sbin/nologin
Revision [1016]
Edited on 2007-10-09 03:45:34 by WikiAdminAdditions:
==chroot support==
Add these to proftpd.conf's global area
DefaultRoot ~ testgp,users
Add these to proftpd.conf's global area
DefaultRoot ~ testgp,users
Revision [1015]
Edited on 2007-10-09 03:41:14 by WikiAdminAdditions:
First, create the proftpd.passwd and proftpd.group with the ftpasswd utility inside contrib. e.g. create a group called **testgp** and a user called **tester**
Deletions:
Revision [1014]
Edited on 2007-10-09 03:41:01 by WikiAdminAdditions:
mkdir -p /var/ftp/tester
Revision [1013]
Edited on 2007-10-09 03:39:32 by WikiAdminAdditions:
First, create the proftpd.passwd and proftpd.group with the ftpasswd utility inside contrib. e.g. create a group called **testgp** and a user called "tester"
ftpasswd --passwd --file proftpd.passwd --name tester --uid 1001 --gid 101 --home /var/ftp/tester --shell /sbin/nologin
ftpasswd --passwd --file proftpd.passwd --name tester --uid 1001 --gid 101 --home /var/ftp/tester --shell /sbin/nologin
Deletions:
Revision [1012]
Edited on 2007-10-09 03:38:02 by WikiAdminAdditions:
==Virtual user support==
First, create the proftpd.passwd and proftpd.group with the ftpasswd utility inside contrib. e.g. create a group called **testgp**
ftpasswd --group --gid 101 --file /etc/proftpd.group --name testgp
Finally, add these directives to proftpd.conf and restart
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group
First, create the proftpd.passwd and proftpd.group with the ftpasswd utility inside contrib. e.g. create a group called **testgp**
ftpasswd --group --gid 101 --file /etc/proftpd.group --name testgp
Finally, add these directives to proftpd.conf and restart
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group
Revision [1011]
Edited on 2007-10-09 03:29:36 by WikiAdminAdditions:
make && make install