oke nu post ik hem goed want ik vrees dat ik er met de documentatie niet uit kom anderz had ik nl niet gepost
.
Dit is de "Proftpd.conf" file die ik nu use :
Nu zou ik graag en "Upload" en een "Download" directory hebben voor "anoniem" inlogen.
Nu heb ik op de "http://www.proftpd.net" site onder het kopje "Example files" en daar een "anonymous" config file vandaan gejat.
Deze dus: "http://proftpd.linux.co.uk/docs/configs/anonymous.conf"
Op het moment dat ik die toevoeg en "Proftpd" probeer te restarten krijg ik deze error:
Kijk ik dan in de "/var/log/messages" kijk zie ik dit staan:
Nou ik zoeken wat die error inhoud, en dan vind ik "heb je een andere server runnen op poort 21" nou ik niet want er draaid verder nix op de server.
Wat overige informatie:
Dus vandaar deze vreselijke misdaad een repost van een gesloten topic sry maar ik kom er echt neit meer uit
Dit is de "Proftpd.conf" file die ik nu use :
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
| # This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.4 2002/12/13 10:33:25 dude Exp $
ServerName "ProFTPD server"
ServerIdent on "FTP Server ready."
ServerAdmin root@localhost
ServerType standalone
#ServerType inetd
DefaultServer on
AccessGrantMsg "User %u logged in."
#DisplayConnect /etc/ftpissue
#DisplayLogin /etc/ftpmotd
#DisplayGoAway /etc/ftpgoaway
DeferWelcome off
# Use this to excude users from the chroot
DefaultRoot ~ !adm
# Use pam to authenticate by default
AuthPAMAuthoritative on
# 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
LsDefaultOptions "-a"
# See Configuration.html for these (here are the default values)
#MultilineRFC2228 off
#RootLogin off
#LoginPasswordPrompt on
#MaxLoginAttempts 3
#MaxClientsPerHost none
#AllowForeignAddress off # For FXP
# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart on
AllowStoreRestart on
# 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 20
# Set the user and group that the server normally runs at.
User nobody
Group nobody
# 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"
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
# Uncomment the following line to allow anonymous access
#RequireValidShell off
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, max %m users -- try again later"
# Put the user into /pub right after login
DefaultChdir /pub
# We want 'welcome.msg' displayed at login, '.message' displayed in
# each newly chdired directory and tell users to read README* files.
DisplayLogin /welcome.msg
DisplayFirstChdir .message
DisplayReadme README*
# Some more cosmetic and not vital stuff
DirFakeUser on ftpadm
DirFakeGroup on ftpadm
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE SITE_CHMOD>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads/*>
AllowOverwrite no
<Limit READ>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>
# Don't write anonymous accesses to the system wtmp file (good idea!)
WtmpLog off
# Loggin for the anonymous transfers
ExtendedLog /var/log/proftpd/access.log WRITE,READ default
ExtendedLog /var/log/proftpd/auth.log AUTH auth
</Anonymous> |
Nu zou ik graag en "Upload" en een "Download" directory hebben voor "anoniem" inlogen.
Nu heb ik op de "http://www.proftpd.net" site onder het kopje "Example files" en daar een "anonymous" config file vandaan gejat.
Deze dus: "http://proftpd.linux.co.uk/docs/configs/anonymous.conf"
Op het moment dat ik die toevoeg en "Proftpd" probeer te restarten krijg ik deze error:
code:
1
2
| Shutting down proftpd: [FAILED] Starting proftpd: [ OK ] |
Kijk ik dan in de "/var/log/messages" kijk zie ik dit staan:
code:
1
2
| Feb 12 12:16:12 server proftpd: server - error: unable to open scoreboard: No such file or directory Feb 12 12:16:12 server proftpd: proftpd startup succeeded |
Nou ik zoeken wat die error inhoud, en dan vind ik "heb je een andere server runnen op poort 21" nou ik niet want er draaid verder nix op de server.
Wat overige informatie:
code:
1
2
| Redhat 8.0 ProFTP 1.2.7 |
Dus vandaar deze vreselijke misdaad een repost van een gesloten topic sry maar ik kom er echt neit meer uit