proftd
har et par spørgsmål angående proftd...For det først:
Jeg vil gerne havde lavet så det kun er følgende bruger som kan bruge ftpen
Dalbjerg
Lise
Per
Alle andre skal ikke havde lov
Jeg vil gerne havde lavet sådan at jeg hver af disse bruge for adgang til
/var/ftp
&
/var/www/html/deresbrugernavn
&
/install
jeg har sat brugerne op og har også leget meget med proftd, men kan ikke rigtigt lige finde et sted på nettet hvor den for klare dette. Brugeren start bib, skal være /var/ftp
Sådan se min proftd ud
# This is a basic ProFTPD configuration file (rename it to
# \'proftpd.conf\' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# \"nobody\" and \"ftp\" for normal operation and anon.
ServerName \"ProFTPD Default Installation\"
ServerType standalone
DefaultServer on
# 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
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nobody
DefaultRoot /var/ftp/
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# Needed for NIS.
PersistentPasswd off
