Portál AbcLinuxu, 5. června 2025 14:02
Pokud mate zkusenosti, vite co nastavit presne a jak v proFTPd.conf aby to fungovalo a uzivatele se pri prihlaseni nemohli pohybovat ve stromove strkture nahoru ze sve slozky, poradte. Dekuji
V opacnem pripade mlcte, taktez dekuji :)
DefaultRoot ~
/etc/init.d/proftpd restart
Restarting ProFTPD ftp daemon.proftpd.
.. - Fatal: unknown configuration directive '[M' on line 52 of '/etc/proftpd.conf'.
.
done.
nemam poneti co je to M na radku 52, tam sem nic nemenil, tak jsem restartoval cely stroj a jsem zvedav v jakem stavu najede :)
problem uspesne vyresen, dekuji a omlouvam se za to, ze jsem byl tak zbrkly a nepodival se poradne do configuraku :/
ServerName "debian server"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
DefaultRoot ~
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.m[M E+sg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Uncomment this if you would use TLS module:
#TLSEngine on
# Uncomment this if you would use quota module:
#Quotas on
# Uncomment this if you would use ratio module:
#Ratios on
# Port 21 is the standard FTP port.
Port 21
# 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
# 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 nogroup
//tenhle radek delal chyby - nevim proc
#[M I1# Umask 022 is a good standard umask to prevent new files and
dirs
# (second parm) from being group and world writable.
Umask 022 022
...
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.