View previous topic :: View next topic |
Author |
Message |
kkrzyzak n00b
Joined: 17 Jan 2008 Posts: 9
|
Posted: Sun Jan 20, 2008 4:38 pm Post subject: [SOLVED][proftpd] problem z konfiguracją użytkowników |
|
|
Witajcie.
w przerwie z zabawą z Sambą próbuję skonfigurować serwer ftp. Tu również posłużyłem się artykułem z gentoo wiki.
Zemergowałem(piękne słowo ) proftpd, mam użytkownika ftp dodanego do grupy ftp (analogicznie z proftpd i nobody)
mój /etc/proftpd/proftpd.conf:
Code: |
# 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 anonymous access.
ServerName "Krzyzak ftp server"
ServerType standalone
#ServerType inetd
DefaultServer on
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
# 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 the maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User proftpd
Group proftpd
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, with no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
AnonRequirePassword off
# We want clients to be able to login with "anonymous" as well as "ftp".
UserAlias anonymous ftp gosc
# Limit the maximum number of anonymous logins.
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
#DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot.
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
|
proftpd wstaje prawidłowo:
Code: |
thot proftpd # /etc/init.d/proftpd start
* Starting proftpd ... [ ok ]
thot proftpd #
|
podczas próby zalogowania uzyskuję błąd 530- unable to set anonymous privileges. (mimo, że wydaje mi się, że mam prawidłowo ustawiony serwer anonymous), próba zalogowania jako którykolwiek użytkownik systemu też nie przynosi rezultatu (nawet jako root).
W czym może być problem?
Aha, bym zapomniał: /home/ftp ma chmod 777 (tak z desperacji ustawiłem tymczasowo...)
Last edited by kkrzyzak on Thu Jan 24, 2008 2:42 pm; edited 1 time in total |
|
Back to top |
|
|
Robert W. Guru
Joined: 13 Jul 2004 Posts: 365 Location: Kobyłka
|
Posted: Tue Jan 22, 2008 9:56 pm Post subject: Re: [proftpd] problem z konfiguracją użytkowników |
|
|
Code: | USE="-acl" emerge proftpd |
|
|
Back to top |
|
|
kkrzyzak n00b
Joined: 17 Jan 2008 Posts: 9
|
Posted: Wed Jan 23, 2008 8:47 pm Post subject: [SOLVED][proftpd] problem z konfiguracją użytkowników |
|
|
Działa, dzięki pozostaje jeszcze problem bardzo powolnego uploadu (nieporównywanie wolny przy downloadzie kilkanaście mbps, upload wynosi kilka kbps :/ ) jednak w wątku, który założyłem opisując ten problem cisza... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|